| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| 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 45 changing voltage using gpio dvs. [all …]
|
| D | max8998.txt | 1 * Maxim MAX8998, National/TI LP3974 multi-function device 3 The Maxim MAX8998 is a multi-function device which includes voltage/current 5 other sub-blocks. It is interfaced using an I2C interface. Each sub-block 8 PMIC sub-block 9 -------------- 11 The PMIC sub-block contains a number of voltage and current regulators, 17 - compatible: Should be one of the following: 18 - "maxim,max8998" for Maxim MAX8998 19 - "national,lp3974" or "ti,lp3974" for National/TI LP3974. 20 - reg: Specifies the i2c slave address of the pmic block. It should be 0x66. [all …]
|
| D | rockchip,rk808.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 20 - rockchip,rk808 28 '#clock-cells': 30 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 33 clock-output-names: 38 rockchip,system-power-controller: [all …]
|
| D | rohm,bd71815-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71815-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 13 BD71815AGW is a single-chip power management ICs for battery-powered 15 for LED and a 500 mA single-cell linear charger. Also included is a Coulomb 16 counter, a real-time clock (RTC), and a 32.768 kHz clock gate and two GPOs. 30 gpio-controller: true 32 "#gpio-cells": [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | samsung,s5m8767.txt | 4 This is a part of device tree bindings for S5M family multi-function devices. 5 More information can be found in bindings/mfd/sec-core.txt file. 10 a sub-node named "regulators" with more sub-nodes for each regulator using the 12 - Documentation/devicetree/bindings/regulator/regulator.txt 16 - s5m8767,pmic-buck-ds-gpios: GPIO specifiers for three host gpio's used 17 for selecting GPIO DVS lines. It is one-to-one mapped to dvs gpio lines. 19 [1] If either of the 's5m8767,pmic-buck[2/3/4]-uses-gpio-dvs' optional 21 's5m8767,pmic-buck[2/3/4]-dvs-voltage' should be specified. 24 - s5m8767,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 25 units for buck2 when changing voltage using gpio dvs. Refer to [1] below [all …]
|
| D | max8997-regulator.txt | 3 The Maxim MAX8997 is a multi-function device which includes voltage and 4 current regulators, rtc, charger controller and other sub-blocks. It is 5 interfaced to the host controller using a i2c interface. Each sub-block is 7 describes the bindings for 'pmic' sub-block of max8997. 10 - compatible: Should be "maxim,max8997-pmic". 11 - reg: Specifies the i2c slave address of the pmic block. It should be 0x66. 13 - max8997,pmic-buck1-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 14 units for buck1 when changing voltage using gpio dvs. Refer to [1] below 17 - max8997,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 18 units for buck2 when changing voltage using gpio dvs. Refer to [1] below [all …]
|
| 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 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. 29 - ti,dvs-vsel: DVS selector. 0 = SEL_V1, 1 = SEL_V2. [all …]
|
| D | max8952.txt | 4 - compatible: must be equal to "maxim,max8952" 5 - reg: I2C slave address, usually 0x60 6 - max8952,dvs-mode-microvolt: array of 4 integer values defining DVS voltages 8 - any required generic properties defined in regulator.txt 11 - max8952,vid-gpios: array of two GPIO pins used for DVS voltage selection 12 - max8952,en-gpio: GPIO used to control enable status of regulator 13 - max8952,default-mode: index of default DVS voltage, from <0, 3> range 14 - max8952,sync-freq: sync frequency, must be one of following values: 15 - 0: 26 MHz 16 - 1: 13 MHz [all …]
|
| D | max8973-regulator.txt | 5 - compatible: must be one of following: 8 - reg: the i2c slave address of the regulator. It should be 0x1b. 15 -maxim,externally-enable: boolean, externally control the regulator output 17 -maxim,enable-gpio: GPIO for enable control. If the valid GPIO is provided 19 -maxim,dvs-gpio: GPIO which is connected to DVS pin of device. 20 -maxim,dvs-default-state: Default state of GPIO during initialisation. 22 -maxim,enable-remote-sense: boolean, enable reote sense. 23 -maxim,enable-falling-slew-rate: boolean, enable falling slew rate. 24 -maxim,enable-active-discharge: boolean: enable active discharge. 25 -maxim,enable-frequency-shift: boolean, enable 9% frequency shift. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| 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 …]
|
| 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 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. 29 - ti,dvs-vsel: DVS selector. 0 = SEL_V1, 1 = SEL_V2. [all …]
|
| 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# 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 35 max8952,en-gpio: [all …]
|
| D | maxim,max8973.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 - $ref: regulator.yaml# 18 - maxim,max8973 19 - maxim,max77621 21 junction-warn-millicelsius: 30 maxim,dvs-gpio: 33 GPIO which is connected to DVS pin of device. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | max8998.txt | 1 * Maxim MAX8998, National/TI LP3974 multi-function device 3 The Maxim MAX8998 is a multi-function device which includes voltage/current 5 other sub-blocks. It is interfaced using an I2C interface. Each sub-block 8 PMIC sub-block 9 -------------- 11 The PMIC sub-block contains a number of voltage and current regulators, 17 - compatible: Should be one of the following: 18 - "maxim,max8998" for Maxim MAX8998 19 - "national,lp3974" or "ti,lp3974" for National/TI LP3974. 20 - reg: Specifies the i2c slave address of the pmic block. It should be 0x66. [all …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | lp8788-buck.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI LP8788 MFD - buck regulator driver 16 #include <linux/gpio.h> 91 void *dvs; member 102 struct lp8788_buck1_dvs *dvs = (struct lp8788_buck1_dvs *)buck->dvs; in lp8788_buck1_set_dvs() local 105 if (!dvs) in lp8788_buck1_set_dvs() 108 pinstate = dvs->vsel == DVS_SEL_V0 ? DVS_LOW : DVS_HIGH; in lp8788_buck1_set_dvs() 109 if (gpio_is_valid(dvs->gpio)) in lp8788_buck1_set_dvs() 110 gpio_set_value(dvs->gpio, pinstate); in lp8788_buck1_set_dvs() 115 struct lp8788_buck2_dvs *dvs = (struct lp8788_buck2_dvs *)buck->dvs; in lp8788_buck2_set_dvs() local [all …]
|
| D | lp872x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/gpio/consumer.h> 88 /* Default DVS Mode */ 92 /* dump registers in regmap-debugfs */ 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() 172 return regmap_write(lp->regmap, addr, data); in lp872x_write_byte() 178 return regmap_update_bits(lp->regmap, addr, mask, data); in lp872x_update_bits() 183 enum lp872x_id chip = lp->chipid; in lp872x_get_timestep_usec() 203 return -EINVAL; in lp872x_get_timestep_usec() [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | lp8788-buck.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI LP8788 MFD - buck regulator driver 16 #include <linux/gpio.h> 91 void *dvs; member 102 struct lp8788_buck1_dvs *dvs = (struct lp8788_buck1_dvs *)buck->dvs; in lp8788_buck1_set_dvs() local 105 if (!dvs) in lp8788_buck1_set_dvs() 108 pinstate = dvs->vsel == DVS_SEL_V0 ? DVS_LOW : DVS_HIGH; in lp8788_buck1_set_dvs() 109 if (gpio_is_valid(dvs->gpio)) in lp8788_buck1_set_dvs() 110 gpio_set_value(dvs->gpio, pinstate); in lp8788_buck1_set_dvs() 115 struct lp8788_buck2_dvs *dvs = (struct lp8788_buck2_dvs *)buck->dvs; in lp8788_buck2_set_dvs() local [all …]
|
| D | lp872x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/gpio.h> 89 /* Default DVS Mode */ 93 /* dump registers in regmap-debugfs */ 161 ret = regmap_read(lp->regmap, addr, &val); in lp872x_read_byte() 163 dev_err(lp->dev, "failed to read 0x%.2x\n", addr); in lp872x_read_byte() 173 return regmap_write(lp->regmap, addr, data); in lp872x_write_byte() 179 return regmap_update_bits(lp->regmap, addr, mask, data); in lp872x_update_bits() 184 enum lp872x_id chip = lp->chipid; in lp872x_get_timestep_usec() 204 return -EINVAL; in lp872x_get_timestep_usec() [all …]
|
| D | s5m8767.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 #include <linux/gpio/consumer.h> 170 *reg = S5M8767_REG_LDO1CTRL + (reg_id - S5M8767_LDO1); in s5m8767_get_register() 173 *reg = S5M8767_REG_LDO3CTRL + (reg_id - S5M8767_LDO3); in s5m8767_get_register() 179 *reg = S5M8767_REG_BUCK2CTRL + (reg_id - S5M8767_BUCK2) * 9; in s5m8767_get_register() 185 *reg = S5M8767_REG_BUCK6CTRL1 + (reg_id - S5M8767_BUCK6) * 2; in s5m8767_get_register() 188 return -EINVAL; in s5m8767_get_register() 191 for (i = 0; i < s5m8767->num_regulators; i++) { in s5m8767_get_register() 192 if (s5m8767->opmode[i].id == reg_id) { in s5m8767_get_register() 193 mode = s5m8767->opmode[i].mode; in s5m8767_get_register() [all …]
|
| /kernel/linux/linux-6.6/include/linux/regulator/ |
| D | lp872x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include <linux/gpio/consumer.h> 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 55 struct gpio_desc *gpio; member 75 * @dvs : dvs data for buck voltage control 76 * @enable_gpio : gpio descriptor for enable control 82 struct lp872x_dvs *dvs; member
|
| /kernel/linux/linux-5.10/include/linux/regulator/ |
| D | lp872x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include <linux/gpio.h> 55 * @gpio : gpio pin number for dvs control 56 * @vsel : dvs selector for buck v1 or buck v2 register 57 * @init_state : initial dvs pin state 60 int gpio; member 80 * @dvs : dvs data for buck voltage control 81 * @enable_gpio : gpio pin number for enable control 87 struct lp872x_dvs *dvs; member
|
| /kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
| D | mach-osiris-dvs.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/gpio.h> 17 #include <linux/soc/samsung/s3c-cpu-freq.h> 18 #include "gpio-samsung.h" 30 vregs1 = TPS_LDO1_OFF; /* turn off in low-power mode */ in osiris_dvs_tps_setdvs() 43 /* at the moment, we assume ARMCLK = HCLK => DVS */ in is_dvs() 44 return f->armclk == f->hclk; in is_dvs() 55 bool old_dvs = is_dvs(&freqs->old); in osiris_dvs_notify() 56 bool new_dvs = is_dvs(&freqs->new); in osiris_dvs_notify() 63 freqs->old.armclk, freqs->old.hclk, in osiris_dvs_notify() [all …]
|
| /kernel/linux/linux-6.6/include/linux/mfd/ |
| D | lp8788.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include <linux/gpio.h> 18 #define LP8788_DEV_BUCK "lp8788-buck" 19 #define LP8788_DEV_DLDO "lp8788-dldo" 20 #define LP8788_DEV_ALDO "lp8788-aldo" 21 #define LP8788_DEV_CHARGER "lp8788-charger" 22 #define LP8788_DEV_RTC "lp8788-rtc" 23 #define LP8788_DEV_BACKLIGHT "lp8788-backlight" 24 #define LP8788_DEV_VIBRATOR "lp8788-vibrator" 25 #define LP8788_DEV_KEYLED "lp8788-keyled" [all …]
|
| /kernel/linux/linux-5.10/include/linux/mfd/ |
| D | lp8788.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include <linux/gpio.h> 18 #define LP8788_DEV_BUCK "lp8788-buck" 19 #define LP8788_DEV_DLDO "lp8788-dldo" 20 #define LP8788_DEV_ALDO "lp8788-aldo" 21 #define LP8788_DEV_CHARGER "lp8788-charger" 22 #define LP8788_DEV_RTC "lp8788-rtc" 23 #define LP8788_DEV_BACKLIGHT "lp8788-backlight" 24 #define LP8788_DEV_VIBRATOR "lp8788-vibrator" 25 #define LP8788_DEV_KEYLED "lp8788-keyled" [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | exynos4210-trats.dts | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include <dt-bindings/gpio/gpio.h> 30 stdout-path = "serial2:115200n8"; 33 vemmc_reg: regulator-0 { 34 compatible = "regulator-fixed"; 35 regulator-name = "VMEM_VDD_2.8V"; 36 regulator-min-microvolt = <2800000>; 37 regulator-max-microvolt = <2800000>; 38 gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>; [all …]
|