| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | act8945a-regulator.txt | 1 Device-Tree bindings for regulators of Active-semi ACT8945A Multi-Function Device 4 - compatible: "active-semi,act8945a", please refer to ../mfd/act8945a.txt. 7 - active-semi,vsel-high: Indicates if the VSEL pin is set to logic-high. 8 If this property is missing, assume the VSEL pin is set to logic-low. 11 - vp1-supply: The input supply for REG_DCDC1 12 - vp2-supply: The input supply for REG_DCDC2 13 - vp3-supply: The input supply for REG_DCDC3 14 - inl45-supply: The input supply for REG_LDO1 and REG_LDO2 15 - inl67-supply: The input supply for REG_LDO3 and REG_LDO4 18 regulator-initial-mode, regulator-allowed-modes and regulator-mode could be [all …]
|
| D | act8865-regulator.txt | 2 ------------------- 5 - compatible: "active-semi,act8846" or "active-semi,act8865" or "active-semi,act8600" 6 - reg: I2C slave address 9 - system-power-controller: Telling whether or not this pmic is controlling 10 the system power. See Documentation/devicetree/bindings/power/power-controller.txt . 11 - active-semi,vsel-high: Indicates the VSEL pin is high. 12 If this property is missing, assume the VSEL pin is low(0). 15 - for act8600: 16 - vp1-supply: The input supply for DCDC_REG1 17 - vp2-supply: The input supply for DCDC_REG2 [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | active-semi,act8865.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8865.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8865 regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8865 19 system-power-controller: 25 active-semi,vsel-high: 27 Indicates the VSEL pin is high. If this property is missing, [all …]
|
| 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 16 capability at over 80% high efficiency. 19 - $ref: regulator.yaml# 24 - richtek,rt5733 25 - richtek,rt5739 [all …]
|
| D | richtek,rt4803.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 20 https://www.richtek.com/assets/product_file/RT4803/DS4803-03.pdf 21 https://www.richtek.com/assets/product_file/RT4803A/DS4803A-06.pdf 24 - $ref: regulator.yaml# 29 - richtek,rt4803 34 richtek,vsel-active-high: 36 description: Specify the VSEL register group is using when system is active [all …]
|
| D | active-semi,act8945a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8945a.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8945a regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8945a 19 system-power-controller: 25 active-semi,vsel-high: 27 Indicates the VSEL pin is high. If this property is missing, [all …]
|
| D | active-semi,act8600.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8600.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8600 regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8600 19 system-power-controller: 25 active-semi,vsel-high: 27 Indicates the VSEL pin is high. If this property is missing, [all …]
|
| D | richtek,rt6160-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rt6160-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RT6160 is a high-efficiency buck-boost converter that can provide 18 https://www.richtek.com/assets/product_file/RT6160A/DS6160A-00.pdf 21 - $ref: regulator.yaml# 26 - richtek,rt6160 31 enable-gpios: [all …]
|
| D | active-semi,act8846.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8846.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8846 regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8846 19 system-power-controller: 25 active-semi,vsel-high: 27 Indicates the VSEL pin is high. If this property is missing, [all …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | rt4803.c | 1 // SPDX-License-Identifier: GPL-2.0-only 51 return -EINVAL; in rt4803_set_mode() 54 modeval <<= ffs(RT4803_MODE_MASK) - 1; in rt4803_set_mode() 69 modeval >>= ffs(RT4803_MODE_MASK) - 1; in rt4803_get_mode() 111 unsigned int reg, vsel; in rt4803_set_suspend_voltage() local 113 if (rdev->desc->vsel_reg == RT4803_REG_VSELL) in rt4803_set_suspend_voltage() 118 vsel = (uV - rdev->desc->min_uV) / rdev->desc->uV_step; in rt4803_set_suspend_voltage() 119 vsel <<= ffs(RT4803_VSEL_MASK) - 1; in rt4803_set_suspend_voltage() 121 return regmap_update_bits(regmap, reg, RT4803_VSEL_MASK, vsel); in rt4803_set_suspend_voltage() 154 struct device *dev = &i2c->dev; in rt4803_probe() [all …]
|
| D | rt5739.c | 1 // SPDX-License-Identifier: GPL-2.0-only 53 const struct regulator_desc *desc = rdev->desc; in rt5739_set_mode() 57 if (desc->vsel_reg == RT5739_REG_NSEL0) in rt5739_set_mode() 70 return -EINVAL; in rt5739_set_mode() 78 const struct regulator_desc *desc = rdev->desc; in rt5739_get_mode() 83 if (desc->vsel_reg == RT5739_REG_NSEL0) in rt5739_get_mode() 100 const struct regulator_desc *desc = rdev->desc; in rt5739_set_suspend_voltage() 102 unsigned int reg, vsel; in rt5739_set_suspend_voltage() local 105 max_uV = desc->min_uV + desc->uV_step * (desc->n_voltages - 1); in rt5739_set_suspend_voltage() 107 if (uV < desc->min_uV || uV > max_uV) in rt5739_set_suspend_voltage() [all …]
|
| D | act8945a-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Voltage regulation driver for active-semi ACT8945A PMIC 16 #include <dt-bindings/regulator/active-semi,8945a-regulator.h> 52 #define ACT8945A_ENA 0x80 /* ON - [7] */ 53 #define ACT8945A_VSEL_MASK 0x3F /* VSET - [5:0] */ 84 struct regmap *regmap = rdev->regmap; in act8945a_set_suspend_state() 118 return -EINVAL; in act8945a_set_suspend_state() 157 struct regmap *regmap = rdev->regmap; in act8945a_set_mode() 184 return -EINVAL; in act8945a_set_mode() 197 return -EINVAL; in act8945a_set_mode() [all …]
|
| D | max8973-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max8973-regulator.c -- Maxim max8973A 5 * Regulator driver for MAXIM 8973A DC-DC step-down switching regulator. 21 #include <linux/regulator/max8973-regulator.h> 123 * - If it is already there then it will make that register as most 127 * - If requested voltage is not found then it will use the least 137 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register() 138 int found_index = MAX8973_MAX_VOUT_REG - 1; in find_voltage_set_register() 141 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register() 142 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | act8945a.txt | 1 Device-Tree bindings for Active-semi ACT8945A MFD driver 4 - compatible: "active-semi,act8945a". 5 - reg: the I2C slave address for the ACT8945A chip 8 - a regulators: see ../regulator/act8945a-regulator.txt 9 - a charger: see ../power/act8945a-charger.txt 13 compatible = "active-semi,act8945a"; 16 active-semi,vsel-high; 20 regulator-name = "VDD_1V35"; 21 regulator-min-microvolt = <1350000>; 22 regulator-max-microvolt = <1350000>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | act8945a.txt | 1 Device-Tree bindings for Active-semi ACT8945A MFD driver 4 - compatible: "active-semi,act8945a". 5 - reg: the I2C slave address for the ACT8945A chip 8 - a regulators: see ../regulator/act8945a-regulator.txt 9 - a charger: see ../power/act8945a-charger.txt 13 compatible = "active-semi,act8945a"; 16 active-semi,vsel-high; 20 regulator-name = "VDD_1V35"; 21 regulator-min-microvolt = <1350000>; 22 regulator-max-microvolt = <1350000>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8mq-nitrogen.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 13 compatible = "boundary,imx8mq-nitrogen8m", "fsl,imx8mq"; 16 stdout-path = "serial0:115200n8"; 24 gpio-keys { 25 compatible = "gpio-keys"; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_gpio_keys>; 29 button-power { [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/ |
| D | rk3288-r89.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/pwm/pwm.h> 20 ext_gmac: external-gmac-clock { 21 compatible = "fixed-clock"; 22 clock-frequency = <125000000>; 23 clock-output-names = "ext_gmac"; 24 #clock-cells = <0>; 27 gpio-keys { [all …]
|
| D | rk3288-firefly-reload-core.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/input.h> 16 ext_gmac: external-gmac-clock { 17 compatible = "fixed-clock"; 18 #clock-cells = <0>; 19 clock-frequency = <125000000>; 20 clock-output-names = "ext_gmac"; 24 vcc_flash: flash-regulator { 25 compatible = "regulator-fixed"; 26 regulator-name = "vcc_flash"; [all …]
|
| D | rk3288-miqi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/input.h> 15 stdout-path = "serial2:115200n8"; 23 ext_gmac: external-gmac-clock { 24 compatible = "fixed-clock"; 25 #clock-cells = <0>; 26 clock-frequency = <125000000>; 27 clock-output-names = "ext_gmac"; 31 compatible = "gpio-leds"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | rk3288-r89.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/pwm/pwm.h> 20 ext_gmac: external-gmac-clock { 21 compatible = "fixed-clock"; 22 clock-frequency = <125000000>; 23 clock-output-names = "ext_gmac"; 24 #clock-cells = <0>; 27 gpio-keys { [all …]
|
| D | rk3288-firefly-reload-core.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/input.h> 16 ext_gmac: external-gmac-clock { 17 compatible = "fixed-clock"; 18 #clock-cells = <0>; 19 clock-frequency = <125000000>; 20 clock-output-names = "ext_gmac"; 24 vcc_flash: flash-regulator { 25 compatible = "regulator-fixed"; 26 regulator-name = "vcc_flash"; [all …]
|
| D | rk3288-miqi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/input.h> 15 stdout-path = "serial2:115200n8"; 23 ext_gmac: external-gmac-clock { 24 compatible = "fixed-clock"; 25 #clock-cells = <0>; 26 clock-frequency = <125000000>; 27 clock-output-names = "ext_gmac"; 31 compatible = "gpio-leds"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| D | rk3399-rock-4c-plus.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/leds/common.h> 11 #include "rk3399-t-opp.dtsi" 15 compatible = "radxa,rock-4c-plus", "rockchip,rk3399"; 23 stdout-path = "serial2:1500000n8"; 26 clkin_gmac: external-gmac-clock { 27 compatible = "fixed-clock"; 28 clock-frequency = <125000000>; 29 clock-output-names = "clkin_gmac"; [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | act8945a-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Voltage regulation driver for active-semi ACT8945A PMIC 16 #include <dt-bindings/regulator/active-semi,8945a-regulator.h> 52 #define ACT8945A_ENA 0x80 /* ON - [7] */ 53 #define ACT8945A_VSEL_MASK 0x3F /* VSET - [5:0] */ 84 struct regmap *regmap = rdev->regmap; in act8945a_set_suspend_state() 118 return -EINVAL; in act8945a_set_suspend_state() 157 struct regmap *regmap = rdev->regmap; in act8945a_set_mode() 184 return -EINVAL; in act8945a_set_mode() 197 return -EINVAL; in act8945a_set_mode() [all …]
|
| D | max8973-regulator.c | 2 * max8973-regulator.c -- Maxim max8973 4 * Regulator driver for MAXIM 8973 DC-DC step-down switching regulator. 22 * 02111-1307, USA 34 #include <linux/regulator/max8973-regulator.h> 136 * - If it is already there then it will make that register as most 140 * - If requested voltage is not found then it will use the least 150 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register() 151 int found_index = MAX8973_MAX_VOUT_REG - 1; in find_voltage_set_register() 154 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register() 155 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register() [all …]
|