/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | summit,smb347-charger.yaml | 1 # 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 …]
|
H A D | rohm,bd99954.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.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 21 $ref: power-supply.yaml# [all …]
|
H A D | bq25980.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 15 for use in high-power density portable electronics. These inductorless 20 - $ref: power-supply.yaml# 25 - ti,bq25980 26 - ti,bq25975 27 - ti,bq25960 32 ti,watchdog-timeout-ms: [all …]
|
H A D | battery.yaml | 1 # 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 device-chemistry: [all …]
|
H A D | bq256xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 14 The bq256xx devices are a family of highly-integrated battery charge 15 management and system power management ICs for single cell Li-ion and Li- 19 - https://www.ti.com/lit/ds/symlink/bq25600.pdf 20 - https://www.ti.com/lit/ds/symlink/bq25601.pdf 21 - https://www.ti.com/lit/ds/symlink/bq25600d.pdf 22 - https://www.ti.com/lit/ds/symlink/bq25601d.pdf [all …]
|
H A D | bq2515x.yaml | 1 # 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 - Andrew Davis <afd@ti.com> 17 push-button controller. 26 - ti,bq25150 27 - ti,bq25155 33 ac-detect-gpios: 39 reset-gpios: [all …]
|
H A D | richtek,rt5033-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 14 under sub-node named "charger" using the following format. 18 const: richtek,rt5033-charger 20 monitored-battery: 26 precharge-current-microamp: 27 Current of pre-charge mode. The pre-charge current levels are 350 mA [all …]
|
H A D | max77650-charger.yaml | 1 # 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | regulator.yaml | 1 # 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 …]
|
H A D | richtek,rtmv20-regulator.yaml | 1 # 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 …]
|
H A D | dlg,da9121.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Adam Ward <Adam.Ward.opensource@diasemi.com> 13 Dialog Semiconductor DA9121 Single-channel 10A double-phase buck converter 14 Dialog Semiconductor DA9122 Double-channel 5A single-phase buck converter 15 Dialog Semiconductor DA9220 Double-channel 3A single-phase buck converter 16 Dialog Semiconductor DA9217 Single-channel 6A double-phase buck converter 17 Dialog Semiconductor DA9130 Single-channel 10A double-phase buck converter 18 Dialog Semiconductor DA9131 Double-channel 5A single-phase buck converter [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | richtek,rt8515.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 15 current for each mode is defined in hardware using two resistors 22 enf-gpios: 26 ent-gpios: 30 richtek,rfs-ohms: 34 resistors limits the maximum flash current. This must be set 35 for the property flash-max-microamp to work, the RFS resistor [all …]
|
H A D | common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 14 LED and flash LED devices provide the same basic functionality as current 18 Many LED devices expose more than one current output that can be connected 25 led-sources: 27 List of device current outputs the LED is connected to. The outputs are 30 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ad5758.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <Michael.Hennerich@analog.com> 19 spi-cpha: true 21 adi,dc-dc-mode: 25 Mode of operation of the dc-to-dc converter 32 In this mode, the VDPC+ voltage is user-programmable to a fixed level 35 The output of the DAC core is either converted to a current or 40 * 1: DPC current mode [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | richtek,rt5033.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 14 flash LED current source, LDO and synchronous Buck converter for portable 30 The regulators of RT5033 have to be instantiated under a sub-node named 44 $ref: /schemas/power/supply/richtek,rt5033-charger.yaml# 47 - compatible 48 - reg 49 - interrupts [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74115H is a single-channel software configurable input/output 17 chip solution with an SPI interface. The device features a 16-bit ADC and a 18 14-bit DAC. 25 - adi,ad74115h 30 spi-max-frequency: 33 spi-cpol: true [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | qcom-wled.yaml | 1 # 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,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | rt5033_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/mfd/rt5033-private.h> 33 struct regmap *regmap = charger->regmap; in rt5033_get_charger_state() 64 struct regmap *regmap = charger->regmap; in rt5033_get_charger_type() 86 struct regmap *regmap = charger->regmap; in rt5033_get_charger_current_limit() 102 struct regmap *regmap = charger->regmap; in rt5033_get_charger_const_voltage() 118 struct rt5033_charger_data *chg = charger->chg; in rt5033_init_const_charge() 124 if (chg->const_uvolt < RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MIN || in rt5033_init_const_charge() 125 chg->const_uvolt > RT5033_CHARGER_CONST_VOLTAGE_LIMIT_MAX) { in rt5033_init_const_charge() 126 dev_err(charger->dev, in rt5033_init_const_charge() [all …]
|
H A D | smb347-charger.c | 1 // 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. 136 * struct smb347_charger - smb347 charger instance 147 * @max_charge_current: maximum current (in uA) the battery can be charged 149 * @pre_charge_current: current (in uA) to use in pre-charging phase 150 * @termination_current: current (in uA) used to determine when the [all …]
|
/openbmc/u-boot/test/dm/ |
H A D | regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 #include <dm/device-internal.h> 18 #include <dm/uclass-internal.h> 71 ut_asserteq_str(devname, dev_by_devname->name); in dm_test_power_regulator_get() 80 ut_asserteq_str(platname, uc_pdata->name); in dm_test_power_regulator_get() 101 /* Set and get Voltage of BUCK1 - set to 'min' constraint */ in dm_test_power_regulator_set_get_voltage() 108 val_set = uc_pdata->min_uV; in dm_test_power_regulator_set_get_voltage() 120 /* Test regulator set and get Current method */ 128 /* Set and get the Current of LDO1 - set to 'min' constraint */ in dm_test_power_regulator_set_get_current() 135 val_set = uc_pdata->min_uA; in dm_test_power_regulator_set_get_current() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | of_regulator.c | 1 // 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", 24 static void fill_limit(int *limit, int val) in fill_limit() argument 28 *limit = REGULATOR_NOTIF_LIMIT_ENABLE; in fill_limit() 30 *limit = val; in fill_limit() 32 *limit = REGULATOR_NOTIF_LIMIT_DISABLE; in fill_limit() 41 "regulator-oc-%s-microamp", in of_get_regulator_prot_limits() 42 "regulator-ov-%s-microvolt", in of_get_regulator_prot_limits() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm845-sony-xperia-tama.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 15 qcom,msm-id = <321 0x20001>; /* SDM845 v2.1 */ 16 qcom,board-id = <8 0>; 24 stdout-path = "serial0:115200n8"; 27 gpio-keys { 28 compatible = "gpio-keys"; 30 pinctrl-0 = <&focus_n &snapshot_n &vol_down_n &vol_up_n>; [all …]
|
H A D | sdm845-xiaomi-beryllium-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/leds/common.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 8 #include <dt-bindings/sound/qcom,q6afe.h> 9 #include <dt-bindings/sound/qcom,q6asm.h> 11 #include "sdm845-wcd9340.dtsi" 19 /delete-node/ &tz_mem; 20 /delete-node/ &adsp_mem; [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | leds-is31fl319x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2015-16 Golden Delicious Computers 70 /* CS (Current Setting) in CONFIG2 register */ 129 return true; /* always write-through */ in is31fl3190_volatile_reg() 161 return true; /* always write-through */ in is31fl3196_volatile_reg() 196 struct is31fl319x_chip *is31 = led->chip; in is31fl3190_brightness_set() 197 int chan = led - is31->leds; in is31fl3190_brightness_set() 202 dev_dbg(&is31->client->dev, "channel %d: %d\n", chan, brightness); in is31fl3190_brightness_set() 204 mutex_lock(&is31->lock); in is31fl3190_brightness_set() 207 ret = regmap_write(is31->regmap, IS31FL3190_PWM(chan), brightness); in is31fl3190_brightness_set() [all …]
|
/openbmc/linux/drivers/iio/dac/ |
H A D | ad5758.c | 1 // SPDX-License-Identifier: GPL-2.0 101 * struct ad5758_state - driver instance specific data 107 * @dc_dc_ilim: variable which stores the dc-to-dc converter current limit 130 * 1000: 0 mA to 20 mA current range 131 * 1001: 0 mA to 24 mA current range 132 * 1010: 4 mA to 20 mA current range 133 * 1011: ±20 mA current range 134 * 1100: ±24 mA current range 135 * 1101: -1 mA to +22 mA current range 160 { AD5758_RANGE_PLUSMINUS_5V, -5000000, 5000000 }, [all …]
|