/openbmc/linux/drivers/regulator/ |
H A D | lp8788-buck.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI LP8788 MFD - buck regulator driver 10 #include <linux/module.h> 11 #include <linux/slab.h> 12 #include <linux/err.h> 13 #include <linux/platform_device.h> 14 #include <linux/regulator/driver.h> 15 #include <linux/mfd/lp8788.h> 16 #include <linux/gpio.h> 49 #define LP8788_VOUT_M 0x1F /* Addr 1Eh ~ 27h */ [all …]
|
H A D | rtq2208-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 #include <linux/bitops.h> 4 #include <linux/bitfield.h> 5 #include <linux/util_macros.h> 6 #include <linux/module.h> 7 #include <linux/i2c.h> 8 #include <linux/regmap.h> 9 #include <linux/regulator/driver.h> 10 #include <linux/regulator/machine.h> 11 #include <linux/regulator/of_regulator.h> [all …]
|
H A D | lp3971.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/bug.h> 12 #include <linux/err.h> 13 #include <linux/i2c.h> 14 #include <linux/kernel.h> 15 #include <linux/module.h> 16 #include <linux/regulator/driver.h> 17 #include <linux/regulator/lp3971.h> 18 #include <linux/slab.h> 40 LP3971_BUCK1 -> 0 [all …]
|
H A D | lp3972.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/bug.h> 9 #include <linux/err.h> 10 #include <linux/i2c.h> 11 #include <linux/module.h> 12 #include <linux/kernel.h> 13 #include <linux/regulator/driver.h> 14 #include <linux/regulator/lp3972.h> 15 #include <linux/slab.h> 147 LP3972_LDO1 -> 0, LP3972_LDO2 -> 4 [all …]
|
H A D | mt6332-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // Based on mt6323-regulator.c, 10 #include <linux/module.h> 11 #include <linux/of.h> 12 #include <linux/platform_device.h> 13 #include <linux/regmap.h> 14 #include <linux/mfd/mt6397/core.h> 15 #include <linux/mfd/mt6332/registers.h> 16 #include <linux/regulator/driver.h> 17 #include <linux/regulator/machine.h> [all …]
|
H A D | max77686-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max77686.c - Regulator driver for the Maxim 77686 11 #include <linux/kernel.h> 12 #include <linux/bug.h> 13 #include <linux/err.h> 14 #include <linux/gpio/consumer.h> 15 #include <linux/slab.h> 16 #include <linux/platform_device.h> 17 #include <linux/regulator/driver.h> 18 #include <linux/regulator/machine.h> [all …]
|
H A D | lp872x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/module.h> 9 #include <linux/slab.h> 10 #include <linux/i2c.h> 11 #include <linux/regmap.h> 12 #include <linux/err.h> 13 #include <linux/gpio/consumer.h> 14 #include <linux/delay.h> 15 #include <linux/regulator/lp872x.h> 16 #include <linux/regulator/driver.h> [all …]
|
H A D | mt6357-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 9 // Based on mt6397-regulator.c 12 #include <linux/module.h> 13 #include <linux/of.h> 14 #include <linux/platform_device.h> 15 #include <linux/regmap.h> 16 #include <linux/mfd/mt6397/core.h> 17 #include <linux/mfd/mt6357/registers.h> 18 #include <linux/regulator/driver.h> 19 #include <linux/regulator/machine.h> [all …]
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | s2mps11_regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <common.h> 8 #include <fdtdec.h> 9 #include <errno.h> 10 #include <dm.h> 11 #include <i2c.h> 12 #include <power/pmic.h> 13 #include <power/regulator.h> 14 #include <power/s2mps11.h> 22 /* BUCK : 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 */ [all …]
|
H A D | max77686.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2012-2015 Samsung Electronics 9 #include <common.h> 10 #include <fdtdec.h> 11 #include <errno.h> 12 #include <dm.h> 13 #include <i2c.h> 14 #include <power/pmic.h> 15 #include <power/regulator.h> 16 #include <power/max77686_pmic.h> [all …]
|
H A D | rk8xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * zyw <zyw@rock-chips.com> 11 #include <common.h> 12 #include <dm.h> 13 #include <errno.h> 14 #include <power/rk8xx_pmic.h> 15 #include <power/pmic.h> 16 #include <power/regulator.h> 46 { 712500, 12500, -1, RK808_BUCK_VSEL_MASK, }, 53 { 712500, 12500, -1, RK818_BUCK_VSEL_MASK, }, [all …]
|
H A D | s5m8767.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <common.h> 7 #include <fdtdec.h> 8 #include <errno.h> 9 #include <dm.h> 10 #include <i2c.h> 11 #include <power/pmic.h> 12 #include <power/regulator.h> 13 #include <power/s5m8767.h> 47 * | voltage ----| | enable -| voltage [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | richtek,rtq2208.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alina Yu <alina_yu@richtek.com> 14 multi-configurable synchronous buck converters and two LDOs. 16 Bucks support "regulator-allowed-modes" and "regulator-mode". The former defines the permitted 20 operation modes for all buck rails, automatic power saving mode (Auto mode) and forced continuous 25 0 - Auto mode for power saving, which reducing the switching frequency at light load condition 27 …1 - FCCM to meet the strict voltage regulation accuracy, which keeping constant switching frequenc… 35 - richtek,rtq2208 [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 …]
|
H A D | richtek,rt5739.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Richtek RT5739 Step-Down Buck Converter 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RT5739 is a step-down switching buck converter that can deliver the 19 - $ref: regulator.yaml# 24 - richtek,rt5733 25 - richtek,rt5739 30 enable-gpios: [all …]
|
H A D | maxim,max8997.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 motor driver, flash LED driver and Micro-USB Interface Controller. 22 const: maxim,max8997-pmic 24 charger-supply: 30 - description: irq1 interrupt 31 - description: alert interrupt 33 max8997,pmic-buck1-dvs-voltage: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | qcom,wcd9335.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC with in-built 27 clock-names: 29 - const: mclk 30 - const: slimbus 35 interrupt-names: 37 - const: intr1 [all …]
|
/openbmc/linux/include/linux/regulator/ |
H A D | da9121.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * DA9121 Single-channel dual-phase 10A buck converter 4 * DA9130 Single-channel dual-phase 10A buck converter (Automotive) 5 * DA9217 Single-channel dual-phase 6A buck converter 6 * DA9122 Dual-channel single-phase 5A buck converter 7 * DA9131 Dual-channel single-phase 5A buck converter (Automotive) 8 * DA9220 Dual-channel single-phase 3A buck converter 9 * DA9132 Dual-channel single-phase 3A buck converter (Automotive) 19 #include <linux/regulator/machine.h>
|
H A D | da9211.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * da9211.h - Regulator device driver for DA9211/DA9212 11 #include <linux/regulator/machine.h> 30 * Number of buck 31 * 1 : 4 phase 1 buck 32 * 2 : 2 phase 2 buck
|
H A D | lp872x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <linux/regulator/machine.h> 12 #include <linux/platform_device.h> 13 #include <linux/gpio/consumer.h> 51 * @vsel : dvs selector for buck v1 or buck v2 register 75 * @dvs : dvs data for buck voltage control
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | samsung,s5m8767.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 17 and current regulators, RTC, clock outputs and other sub-blocks. 21 const: samsung,s5m8767-pmic 39 s5m8767,pmic-buck2-dvs-voltage: 40 $ref: /schemas/types.yaml#/definitions/uint32-array 44 A set of 8 voltage values in micro-volt (uV) units for buck2 when 47 s5m8767,pmic-buck3-dvs-voltage: [all …]
|
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 32 voltage ranges from 1.2 V to 3.0 V in 0.1 V steps. BUCK voltage ranges 36 "^(SAFE_LDO|LDO|BUCK)$": 44 $ref: /schemas/power/supply/richtek,rt5033-charger.yaml# 47 - compatible [all …]
|
H A D | st,stpmic1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - pascal Paillet <p.paillet@foss.st.com> 24 "#interrupt-cells": 27 interrupt-controller: true 36 const: st,stpmic1-onkey 40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic 41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic 43 interrupt-names: [all …]
|
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | mpq7932.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * mpq7932.c - hwmon with optional regulator driver for mps mpq7932 9 #include <linux/bits.h> 10 #include <linux/err.h> 11 #include <linux/i2c.h> 12 #include <linux/init.h> 13 #include <linux/kernel.h> 14 #include <linux/module.h> 15 #include <linux/of.h> 16 #include <linux/pmbus.h> [all …]
|
/openbmc/u-boot/drivers/power/pmic/ |
H A D | Kconfig | 4 ---help--- 5 This config enables the driver-model PMIC support. 6 UCLASS_PMIC - designed to provide an I/O interface for PMIC devices. 7 For the multi-function PMIC devices, this can be used as parent I/O 10 - 'drivers/power/pmic/pmic-uclass.c' 11 - 'include/power/pmic.h' 17 ---help--- 21 U-Boot proper. 27 ---help--- 35 bool "Enable support for the active-semi 8846 PMIC" [all …]
|