Home
last modified time | relevance | path

Searched +full:current +full:- +full:limit +full:- +full:microamp (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dsummit,smb347-charger.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
10 - David Heidelberg <david@ixit.cz>
11 - Dmitry Osipenko <digetx@gmail.com>
16 - summit,smb345
17 - summit,smb347
18 - summit,smb358
26 monitored-battery:
[all …]
Drohm,bd99954.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
11 - Markus Laine <markus.laine@fi.rohmeurope.com>
12 - Mikko Mutanen <mikko.mutanen@fi.rohmeurope.com>
15 The ROHM BD99954 is a Battery Management LSI for 1-4 cell Lithium-Ion
16 secondary battery intended to be used in space-constraint equipment such
18 provides a Dual-source Battery Charger, two port BC1.2 detection and a
28 # Curve (1) represents charging current.
[all …]
Dbq25980.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Dan Murphy <dmurphy@ti.com>
12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com>
16 for use in high-power density portable electronics. These inductorless
21 - $ref: power-supply.yaml#
26 - ti,bq25980
27 - ti,bq25975
28 - ti,bq25960
[all …]
Dbattery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
14 In smart batteries, these are typically stored in non-volatile memory
16 no appropriate non-volatile memory, or it is unprogrammed/incorrect.
27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle.
28 The phandle's property should be named "monitored-battery".
32 const: simple-battery
34 over-voltage-threshold-microvolt:
[all …]
Dbq2515x.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: TI bq2515x 500-mA Linear charger family
11 - Dan Murphy <dmurphy@ti.com>
12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com>
18 push-button controller.
27 - ti,bq25150
28 - ti,bq25155
34 ac-detect-gpios:
[all …]
Dmax77650-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/max77650-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bartosz Golaszewski <bgolaszewski@baylibre.com>
16 The charger is represented as a sub-node of the PMIC node on the device tree.
20 const: maxim,max77650-charger
22 input-voltage-min-microvolt:
28 input-current-limit-microamp:
30 CHGIN input current limit (in microamps).
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Drichtek,rtmv20-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/richtek,rtmv20-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
13 Richtek RTMV20 is a load switch current regulator that can supply up to 6A.
17 the others for outputs (fsin1 and fsin2). Strobe input to start the current
27 wakeup-source: true
32 enable-gpios:
36 richtek,ld-pulse-delay-us:
[all …]
Dregulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Voltage/Current Regulators
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
14 regulator-name:
18 regulator-min-microvolt:
21 regulator-max-microvolt:
24 regulator-microvolt-offset:
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/dac/
Dad5758.txt4 - compatible: Must be "adi,ad5758"
5 - reg: SPI chip select number for the device
6 - spi-max-frequency: Max SPI frequency to use (< 50000000)
7 - spi-cpha: is the only mode that is supported
11 - adi,dc-dc-mode: Mode of operation of the dc-to-dc converter
19 In this mode, the VDPC+ voltage is user-programmable to
24 current or voltage output at the VIOUT pin. Only one mode
28 * 1: DPC current mode
30 * 3: PPC current mode
32 Depending on the selected output mode (voltage or current) one of the
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/
Dad5758.txt4 - compatible: Must be "adi,ad5758"
5 - reg: SPI chip select number for the device
6 - spi-max-frequency: Max SPI frequency to use (< 50000000)
7 - spi-cpha: is the only mode that is supported
11 - adi,dc-dc-mode: Mode of operation of the dc-to-dc converter
19 In this mode, the VDPC+ voltage is user-programmable to
24 current or voltage output at the VIOUT pin. Only one mode
28 * 1: DPC current mode
30 * 3: PPC current mode
32 Depending on the selected output mode (voltage or current) one of the
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/regulator/
Dregulator.txt1 Voltage/Current Regulators
4 - regulator-name: A string used as a descriptive name for regulator outputs
5 - regulator-min-microvolt: smallest voltage consumers may set
6 - regulator-max-microvolt: largest voltage consumers may set
7 - regulator-microvolt-offset: Offset applied to voltages to compensate for voltage drops
8 - regulator-min-microamp: smallest current consumers may set
9 - regulator-max-microamp: largest current consumers may set
10 - regulator-input-current-limit-microamp: maximum input current regulator allows
11 - regulator-always-on: boolean, regulator should never be disabled
12 - regulator-boot-on: bootloader/firmware enabled regulator
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/backlight/
Dqcom-wled.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
11 - Kiran Gunda <kgunda@codeaurora.org>
21 - qcom,pm8941-wled
22 - qcom,pmi8998-wled
23 - qcom,pm660l-wled
24 - qcom,pm8150l-wled
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-is31fl319x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2015-16 Golden Delicious Computers
44 /* CS (Current Setting) in CONFIG2 register */
105 { .compatible = "si-en,sn3199", .data = &is31fl3199_cdef, },
115 struct is31fl319x_chip *is31 = led->chip; in is31fl319x_brightness_set()
116 int chan = led - is31->leds; in is31fl319x_brightness_set()
121 dev_dbg(&is31->client->dev, "%s %d: %d\n", __func__, chan, brightness); in is31fl319x_brightness_set()
123 mutex_lock(&is31->lock); in is31fl319x_brightness_set()
126 ret = regmap_write(is31->regmap, IS31FL319X_PWM(chan), brightness); in is31fl319x_brightness_set()
130 /* read current brightness of all PWM channels */ in is31fl319x_brightness_set()
[all …]
/kernel/linux/linux-4.19/drivers/leds/
Dleds-is31fl319x.c2 * Copyright 2015-16 Golden Delicious Computers
46 /* CS (Current Setting) in CONFIG2 register */
106 { .compatible = "si-en,sn3199", .data = &is31fl3199_cdef, },
116 struct is31fl319x_chip *is31 = led->chip; in is31fl319x_brightness_set()
117 int chan = led - is31->leds; in is31fl319x_brightness_set()
122 dev_dbg(&is31->client->dev, "%s %d: %d\n", __func__, chan, brightness); in is31fl319x_brightness_set()
124 mutex_lock(&is31->lock); in is31fl319x_brightness_set()
127 ret = regmap_write(is31->regmap, IS31FL319X_PWM(chan), brightness); in is31fl319x_brightness_set()
131 /* read current brightness of all PWM channels */ in is31fl319x_brightness_set()
132 for (i = 0; i < is31->cdef->num_leds; i++) { in is31fl319x_brightness_set()
[all …]
/kernel/linux/linux-5.10/drivers/iio/dac/
Dad5758.c1 // SPDX-License-Identifier: GPL-2.0
102 * struct ad5758_state - driver instance specific data
108 * @dc_dc_ilim: variable which stores the dc-to-dc converter current limit
131 * 1000: 0 mA to 20 mA current range
132 * 1001: 0 mA to 24 mA current range
133 * 1010: 4 mA to 20 mA current range
134 * 1011: ±20 mA current range
135 * 1100: ±24 mA current range
136 * 1101: -1 mA to +22 mA current range
161 { AD5758_RANGE_PLUSMINUS_5V, -5000000, 5000000 },
[all …]
/kernel/linux/linux-4.19/drivers/iio/dac/
Dad5758.c1 // SPDX-License-Identifier: GPL-2.0+
91 * struct ad5758_state - driver instance specific data
96 * @dc_dc_ilim: variable which stores the dc-to-dc converter current limit
125 * 1000: 0 mA to 20 mA current range
126 * 1001: 0 mA to 24 mA current range
127 * 1010: 4 mA to 20 mA current range
128 * 1011: ±20 mA current range
129 * 1100: ±24 mA current range
130 * 1101: -1 mA to +22 mA current range
155 { AD5758_RANGE_PLUSMINUS_5V, -5000000, 5000000 },
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dsmb347-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #include <dt-bindings/power/summit,smb347-charger.h>
26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1
28 /* Use default factory programmed value for hard/soft temperature limit */
29 #define SMB3XX_TEMP_USE_DEFAULT -273
34 * reloaded from non-volatile registers after POR.
132 * struct smb347_charger - smb347 charger instance
142 * @max_charge_current: maximum current (in uA) the battery can be charged
144 * @pre_charge_current: current (in uA) to use in pre-charging phase
145 * @termination_current: current (in uA) used to determine when the
[all …]
Dbd99954-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * Curve (1) represents charging current.
20 * a) Trickle-charge with constant current (8).
21 * b) pre-charge with constant current (6)
22 * c) fast-charge, first with constant current (5) phase. After
24 * voltage phase until charging current has dropped to termination
30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------.
32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5)
34 * . + /- -- .
35 * . +`/- + .
[all …]
Dmax77650-charger.c1 // SPDX-License-Identifier: GPL-2.0
6 // Battery charger driver for MAXIM 77650/77651 charger/power-supply.
28 /* Charger is in fast-charge constant current mode. */
30 /* Charger is in JEITA modified fast-charge constant-current mode. */
32 /* Charger is in fast-charge constant-voltage mode. */
34 /* Charger is in JEITA modified fast-charge constant-voltage mode. */
36 /* Charger is in top-off mode. */
38 /* Charger is in JEITA modified top-off mode. */
46 /* Charger is suspended due to a fast-charge timer fault. */
95 rv = regmap_update_bits(chg->map, in max77650_charger_set_vchgin_min()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dmax77650.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MAX77650 ultra low-power PMIC from Maxim Integrated.
10 - Bartosz Golaszewski <bgolaszewski@baylibre.com>
13 MAX77650 is an ultra-low power PMIC providing battery charging and power
14 supply for low-power IoT and wearable applications.
16 The GPIO-controller module is represented as part of the top-level PMIC
19 For device-tree bindings of other sub-modules (regulator, power supply,
21 sub-system directories.
[all …]
/kernel/linux/linux-4.19/drivers/regulator/
Dof_regulator.c23 [PM_SUSPEND_MEM] = "regulator-state-mem",
24 [PM_SUSPEND_MAX] = "regulator-state-disk",
31 struct regulation_constraints *constraints = &(*init_data)->constraints; in of_get_regulation_constraints()
38 constraints->name = of_get_property(np, "regulator-name", NULL); in of_get_regulation_constraints()
40 if (!of_property_read_u32(np, "regulator-min-microvolt", &pval)) in of_get_regulation_constraints()
41 constraints->min_uV = pval; in of_get_regulation_constraints()
43 if (!of_property_read_u32(np, "regulator-max-microvolt", &pval)) in of_get_regulation_constraints()
44 constraints->max_uV = pval; in of_get_regulation_constraints()
47 if (constraints->min_uV != constraints->max_uV) in of_get_regulation_constraints()
48 constraints->valid_ops_mask |= REGULATOR_CHANGE_VOLTAGE; in of_get_regulation_constraints()
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dadm1177.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2015-2019 Analog Devices Inc.
27 * struct adm1177_state - driver instance specific data
30 * @r_sense_uohm current sense resistor value
31 * @alert_threshold_ua current limit for shutdown
44 return i2c_master_recv(st->client, data, num); in adm1177_read_raw()
49 return i2c_smbus_write_byte(st->client, cmd); in adm1177_write_cmd()
58 val = 0xFFULL * alert_threshold_ua * st->r_sense_uohm; in adm1177_write_alert_thr()
64 ret = i2c_smbus_write_byte_data(st->client, ADM1177_REG_ALERT_TH, in adm1177_write_alert_thr()
69 st->alert_threshold_ua = alert_threshold_ua; in adm1177_write_alert_thr()
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dof_regulator.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 [PM_SUSPEND_STANDBY] = "regulator-state-standby",
20 [PM_SUSPEND_MEM] = "regulator-state-mem",
21 [PM_SUSPEND_MAX] = "regulator-state-disk",
29 struct regulation_constraints *constraints = &(*init_data)->constraints; in of_get_regulation_constraints()
37 n_phandles = of_count_phandle_with_args(np, "regulator-coupled-with", in of_get_regulation_constraints()
41 constraints->name = of_get_property(np, "regulator-name", NULL); in of_get_regulation_constraints()
43 if (!of_property_read_u32(np, "regulator-min-microvolt", &pval)) in of_get_regulation_constraints()
44 constraints->min_uV = pval; in of_get_regulation_constraints()
46 if (!of_property_read_u32(np, "regulator-max-microvolt", &pval)) in of_get_regulation_constraints()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Domap3-n900.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi>
7 /dts-v1/;
10 #include <dt-bindings/input/input.h>
13 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall
15 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch"
16 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no
32 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3";
45 cpu0-supply = <&vcc>;
50 compatible = "gpio-leds";
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Domap3-n900.dts3 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi>
10 /dts-v1/;
13 #include <dt-bindings/input/input.h>
16 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall
18 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch"
19 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no
31 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3";
44 cpu0-supply = <&vcc>;
49 compatible = "gpio-leds";
53 linux,default-trigger = "default-on";
[all …]

12