Searched +full:pmic +full:- +full:buck4 +full:- +full:uses +full:- +full:gpio +full:- +full:dvs (Results 1 – 17 of 17) sorted by relevance
| /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> 14 Management IC (PMIC). 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 [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 …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| 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 …]
|
| D | pca9450-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * NXP PCA9450 pmic driver 8 #include <linux/gpio/consumer.h> 29 const struct pc9450_dvs_config dvs; member 55 .max_register = PCA9450_MAX_REGISTER - 1, 61 * BUCK1RAM[1:0] BUCK1 DVS ramp rate setting 110 * BUCK4/5/6 160 if (ret == -EINVAL) in buck_set_dvs() 165 for (i = 0; i < desc->n_voltages; i++) { in buck_set_dvs() 170 i <<= ffs(desc->vsel_mask) - 1; in buck_set_dvs() [all …]
|
| D | max8997-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max8997.c - Regulator driver for the Maxim 8997/8966 12 #include <linux/gpio.h> 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 gpio_set_value(max8997->buck125_gpios[0], set1); in max8997_set_gpio() 56 gpio_set_value(max8997->buck125_gpios[1], set2); in max8997_set_gpio() 57 gpio_set_value(max8997->buck125_gpios[2], set3); in max8997_set_gpio() [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| 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 …]
|
| D | pca9450-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * NXP PCA9450 pmic driver 8 #include <linux/gpio/consumer.h> 30 const struct pc9450_dvs_config dvs; member 56 .max_register = PCA9450_MAX_REGISTER - 1, 62 * BUCK1RAM[1:0] BUCK1 DVS ramp rate setting 111 * BUCK4/5/6 161 if (ret == -EINVAL) in buck_set_dvs() 166 for (i = 0; i < desc->n_voltages; i++) { in buck_set_dvs() 171 i <<= ffs(desc->vsel_mask) - 1; in buck_set_dvs() [all …]
|
| D | max8997-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max8997.c - Regulator driver for the Maxim 8997/8966 12 #include <linux/gpio.h> 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 gpio_set_value(max8997->buck125_gpios[0], set1); in max8997_set_gpio() 56 gpio_set_value(max8997->buck125_gpios[1], set2); in max8997_set_gpio() 57 gpio_set_value(max8997->buck125_gpios[2], set3); in max8997_set_gpio() [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 …]
|
| D | exynos4412-itop-scp-core.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 17 #include "exynos4412-ppmu-common.dtsi" 18 #include "exynos-mfc-reserved-memory.dtsi" 27 compatible = "samsung,secure-firmware"; 31 fixed-rate-clocks { 33 compatible = "samsung,clock-xxti"; 34 clock-frequency = <0>; [all …]
|
| D | exynos4210-i9100.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree 11 /dts-v1/; 13 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes.h> 19 model = "Samsung Galaxy S2 (GT-I9100)"; 28 stdout-path = "serial2:115200n8"; 31 vemmc_reg: regulator-0 { 32 compatible = "regulator-fixed"; [all …]
|
| D | exynos5800-peach-pi.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/clock/maxim,max77802.h> 13 #include <dt-bindings/regulator/maxim,max77802.h> 14 #include <dt-bindings/sound/samsung-i2s.h> 16 #include "exynos5420-cpus.dtsi" 21 compatible = "google,pi-rev16", [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/ |
| D | exynos4210-trats.dts | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include <dt-bindings/gpio/gpio.h> 19 chassis-type = "handset"; 37 stdout-path = "serial2:115200n8"; 40 vemmc_reg: regulator-0 { 41 compatible = "regulator-fixed"; 42 regulator-name = "VMEM_VDD_2.8V"; 43 regulator-min-microvolt = <2800000>; 44 regulator-max-microvolt = <2800000>; [all …]
|
| D | exynos4412-itop-scp-core.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 17 #include "exynos4412-ppmu-common.dtsi" 18 #include "exynos-mfc-reserved-memory.dtsi" 31 compatible = "samsung,secure-firmware"; 35 fixed-rate-clocks { 37 compatible = "samsung,clock-xxti"; 38 clock-frequency = <0>; [all …]
|
| D | exynos4210-i9100.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree 11 /dts-v1/; 13 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes.h> 19 model = "Samsung Galaxy S2 (GT-I9100)"; 21 chassis-type = "handset"; 35 stdout-path = "serial2:115200n8"; 38 vemmc_reg: regulator-0 { [all …]
|
| D | exynos4212-tab3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos4412-ppmu-common.dtsi" 12 #include "exynos-mfc-reserved-memory.dtsi" 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/input/gpio-keys.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
| D | exynos5800-peach-pi.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/clock/maxim,max77802.h> 13 #include <dt-bindings/regulator/maxim,max77802.h> 14 #include <dt-bindings/sound/samsung-i2s.h> 16 #include "exynos5420-cpus.dtsi" 21 compatible = "google,pi-rev16", [all …]
|