/linux/Documentation/devicetree/bindings/regulator/ |
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> 13 The Maxim MAX8997 is a Power Management IC which includes voltage and current 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 [all …]
|
H A D | rohm,bd71847-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71847-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 15 Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml 21 regulator-boot-on at least for BUCK5. LDO6 is supplied by it and it must 23 voltage monitoring for LDO5/LDO6 can cause PMIC to reset. 30 "^LDO[1-6]$": 37 regulator-name: [all …]
|
H A D | rohm,bd71837-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71837-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 15 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml 21 regulator-boot-on at least for BUCK6 and BUCK7 so that those are not 23 if they are disabled at startup the voltage monitoring for LDO5/LDO6 will 31 "^LDO[1-7]$": 38 regulator-name: [all …]
|
H A D | rohm,bd71828-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71828-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 see Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml. 16 The regulator controller is represented as a sub-node of the PMIC node 25 "^LDO[1-7]$": 32 regulator-name: 33 pattern: "^ldo[1-7]$" [all …]
|
H A D | lp872x.txt | 4 - compatible: "ti,lp8720" or "ti,lp8725" 5 - reg: I2C slave address. 0x7d = LP8720, 0x7a = LP8725 8 - ti,general-config: the value of LP872X_GENERAL_CFG register (u8) 10 bit[2]: BUCK output voltage control by external DVS pin or register 12 bit[1]: sleep control by external DVS pin or register 19 bit[3]: BUCK2 output voltage register address. 1 = 0Ah, 0 = 0Bh 20 bit[2]: BUCK1 output voltage control by external DVS pin or register 21 1 = register 08h, 0 = DVS 27 - ti,update-config: define it when LP872X_GENERAL_CFG register should be set 28 - ti,dvs-gpio: GPIO specifier for external DVS pin control of LP872x devices. [all …]
|
H A D | nxp,pca9450-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/nxp,pca9450-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Robin Gong <yibin.gong@nxp.com> 18 https://www.nxp.com/docs/en/data-sheet/PCA9450DS.pdf 28 - nxp,pca9450a 29 - nxp,pca9450b 30 - nxp,pca9450c 31 - nxp,pca9451a [all …]
|
H A D | maxim,max8952.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: Maxim MAX8952 voltage regulator 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 - $ref: regulator.yaml# 19 max8952,default-mode: 23 index of default DVS voltage 25 max8952,dvs-mode-microvolt: 32 Array of 4 integer values defining DVS voltages in microvolts. All values [all …]
|
H A D | rohm,bd71815-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71815-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 see Documentation/devicetree/bindings/mfd/rohm,bd71815-pmic.yaml. 16 The regulator controller is represented as a sub-node of the PMIC node 33 regulator-name: 37 "^((ldo|buck)[1-5]|ldolpsr|ldodvref)$": 44 regulator-name: [all …]
|
H A D | richtek,rtq2134-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rtq2134-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RTQ2134 is a multi-phase, programmable power management IC that 14 integrates with four high efficient, synchronous step-down converter cores. 17 https://www.richtek.com/assets/product_file/RTQ2134-QA/DSQ2134-QA-01.pdf 22 - richtek,rtq2134 31 "^buck[1-3]$": [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | maxim,max8998.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> 13 The Maxim MAX8998 is a Power Management IC which includes voltage/current 15 sub-blocks. It is interfaced using an I2C interface. Each sub-block is 21 - maxim,max8998 22 - national,lp3974 23 - ti,lp3974 31 - description: Main interrupt [all …]
|
H A D | rohm,bd71847-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is 18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica… 19 …//www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applic… 24 - rohm,bd71847 25 - rohm,bd71850 [all …]
|
/linux/drivers/regulator/ |
H A D | bd71815-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 // bd71815-regulator.c ROHM BD71815 regulator driver 21 #include <linux/mfd/rohm-generic.h> 22 #include <linux/mfd/rohm-bd71815.h> 27 const struct rohm_dvs_config *dvs; member 179 return rohm_regulator_set_dvs_levels(data->dvs, np, desc, cfg->regmap); in set_hw_dvs_levels() 183 * Bucks 1 and 2 have two voltage selection registers where selected 184 * voltage can be set. Which of the registers is used can be either controlled 185 * by a control bit in register - or by HW state. If HW state specific voltages 186 * are given - then we assume HW state based control should be used. [all …]
|
H A D | lp872x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 88 /* Default DVS Mode */ 92 /* dump registers in regmap-debugfs */ 109 /* LP8720/LP8725 shared voltage table for LDOs */ 117 /* LP8720 LDO4 voltage table */ 125 /* LP8725 LILO(Low Input Low Output) voltage table */ 133 /* LP8720 BUCK voltage table */ 142 /* LP8725 BUCK voltage table */ 160 ret = regmap_read(lp->regmap, addr, &val); in lp872x_read_byte() 162 dev_err(lp->dev, "failed to read 0x%.2x\n", addr); in lp872x_read_byte() [all …]
|
H A D | max8998.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max8998.c - Voltage regulator driver for the Maxim 8998 5 // Copyright (C) 2009-2010 Samsung Electronics 23 #include <linux/mfd/max8998-private.h> 31 unsigned int buck1_idx; /* index to last changed voltage */ 51 *shift = 3 - (ldo - MAX8998_LDO2); in max8998_get_enable_register() 55 *shift = 7 - (ldo - MAX8998_LDO6); in max8998_get_enable_register() 59 *shift = 7 - (ldo - MAX8998_LDO14); in max8998_get_enable_register() 63 *shift = 7 - (ldo - MAX8998_BUCK1); in max8998_get_enable_register() 67 *shift = 7 - (ldo - MAX8998_EN32KHZ_AP); in max8998_get_enable_register() [all …]
|
H A D | max8952.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max8952.c - Voltage and current regulation for the Maxim 8952 46 int ret = i2c_smbus_read_byte_data(max8952->client, reg); in max8952_read_reg() 57 return i2c_smbus_write_byte_data(max8952->client, reg, value); in max8952_write_reg() 66 return -EINVAL; in max8952_list_voltage() 68 return (max8952->pdata->dvs_mode[selector] * 10 + 770) * 1000; in max8952_list_voltage() 76 if (max8952->vid0) in max8952_get_voltage_sel() 78 if (max8952->vid1) in max8952_get_voltage_sel() 89 if (!max8952->vid0_gpiod || !max8952->vid1_gpiod) { in max8952_set_voltage_sel() 90 /* DVS not supported */ in max8952_set_voltage_sel() [all …]
|
H A D | max8997-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max8997.c - Regulator driver for the Maxim 8997/8966 20 #include <linux/mfd/max8997-private.h> 51 int set3 = (max8997->buck125_gpioindex) & 0x1; in max8997_set_gpio() 52 int set2 = ((max8997->buck125_gpioindex) >> 1) & 0x1; in max8997_set_gpio() 53 int set1 = ((max8997->buck125_gpioindex) >> 2) & 0x1; in max8997_set_gpio() 55 gpiod_set_value(max8997->buck125_gpiods[0], set1); in max8997_set_gpio() 56 gpiod_set_value(max8997->buck125_gpiods[1], set2); in max8997_set_gpio() 57 gpiod_set_value(max8997->buck125_gpiods[2], set3); in max8997_set_gpio() 66 /* Voltage maps in uV */ [all …]
|
H A D | wm831x-dcdc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // wm831x-dcdc.c -- DC-DC buck converter driver for the WM831x series 63 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_mode() 64 u16 reg = dcdc->base + WM831X_DCDC_ON_CONFIG; in wm831x_dcdc_get_mode() 84 return -EINVAL; in wm831x_dcdc_get_mode() 107 return -EINVAL; in wm831x_dcdc_set_mode_int() 117 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_mode() 118 u16 reg = dcdc->base + WM831X_DCDC_ON_CONFIG; in wm831x_dcdc_set_mode() 127 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_suspend_mode() 128 u16 reg = dcdc->base + WM831X_DCDC_SLEEP_CONTROL; in wm831x_dcdc_set_suspend_mode() [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mq-pico-pi.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 9 /dts-v1/; 12 #include <dt-bindings/interrupt-controller/irq.h> 15 model = "TechNexion PICO-PI-8M"; 16 compatible = "technexion,pico-pi-imx8m", "fsl,imx8mq"; 19 stdout-path = &uart1; 22 pmic_osc: clock-pmic { 23 compatible = "fixed-clock"; 24 #clock-cells = <0>; 25 clock-frequency = <32768>; [all …]
|
H A D | imx8mq-phanbell.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright 2017-2019 NXP 6 /dts-v1/; 9 #include <dt-bindings/interrupt-controller/irq.h> 13 compatible = "google,imx8mq-phanbell", "fsl,imx8mq"; 16 stdout-path = &uart1; 24 pmic_osc: clock-pmic { 25 compatible = "fixed-clock"; 26 #clock-cells = <0>; 27 clock-frequency = <32768>; [all …]
|
H A D | imx8mm-kontron-sl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 10 compatible = "kontron,imx8mm-sl", "fsl,imx8mm"; 23 stdout-path = &uart3; 28 cpu-supply = <®_vdd_arm>; 32 cpu-supply = <®_vdd_arm>; 36 cpu-supply = <®_vdd_arm>; 40 cpu-supply = <®_vdd_arm>; 44 operating-points-v2 = <&ddrc_opp_table>; 46 ddrc_opp_table: opp-table { 47 compatible = "operating-points-v2"; [all …]
|
H A D | imx8mm-innocomm-wb15.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/phy/phy-imx8-pcie.h> 10 reg_modem: regulator-modem { 11 compatible = "regulator-fixed"; 12 pinctrl-names = "default"; 13 pinctrl-0 = <&pinctrl_modem_regulator>; 14 regulator-min-microvolt = <3300000>; 15 regulator-max-microvolt = <3300000>; 16 regulator-name = "epdev_on"; 18 enable-active-high; [all …]
|
H A D | imx8mq-librem5-devkit.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 Purism SPC 6 /dts-v1/; 8 #include "dt-bindings/input/input.h" 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/leds/common.h> 11 #include "dt-bindings/pwm/pwm.h" 12 #include "dt-bindings/usb/pd.h" 17 compatible = "purism,librem5-devkit", "fsl,imx8mq"; 19 backlight_dsi: backlight-dsi { [all …]
|
/linux/include/linux/regulator/ |
H A D | lp872x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 50 * @gpio : gpio descriptor for dvs control 51 * @vsel : dvs selector for buck v1 or buck v2 register 52 * @init_state : initial dvs pin state 75 * @dvs : dvs data for buck voltage control 82 struct lp872x_dvs *dvs; member
|
/linux/include/linux/mfd/wm831x/ |
H A D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x 23 int no_constant_voltage; /** Disable constant voltage charging */ 24 int vlim; /** Voltage limit in millivolts */ 33 int vsel; /** Target voltage, in mV */ 40 * Configuration for the WM831x DC-DC BuckWise convertors. This 43 * Currently all the configuration is for the fast DVS switching 46 * allowing voltage transitions without the expense of an access over 50 int dvs_control_src; /** Hardware DVS source to use (1 or 2) */ 51 int dvs_init_state; /** DVS state to expect on startup */
|
/linux/include/linux/mfd/ |
H A D | max8998.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * max8998.h - Voltage regulator driver for the Maxim 8998 5 * Copyright (C) 2009-2010 Samsung Electrnoics 46 * max8998_regulator_data - regulator data 49 * @reg_node: DT node of regulator (unused on non-DT platforms) 58 * struct max8998_board - packages regulator init data 64 * registers set by buck?_voltage?. The voltage of BUCK1/2 cannot 66 * @buck1_voltage: BUCK1 DVS mode 1 voltage registers 67 * @buck2_voltage: BUCK2 DVS mode 2 voltage registers 76 * @restart: Restart Level in mV: 100, 150, 200, and -1 for disable. [all …]
|