Home
last modified time | relevance | path

Searched refs:dvs (Results 1 – 25 of 47) sorted by relevance

12

/Linux-v5.4/Documentation/devicetree/bindings/regulator/
Dsamsung,s5m8767.txt16 - s5m8767,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
17 units for buck2 when changing voltage using gpio dvs. Refer to [1] below
20 - s5m8767,pmic-buck3-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
21 units for buck3 when changing voltage using gpio dvs. Refer to [1] below
24 - s5m8767,pmic-buck4-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
25 units for buck4 when changing voltage using gpio dvs. Refer to [1] below
29 for selecting GPIO DVS lines. It is one-to-one mapped to dvs gpio lines.
31 [1] If none of the 's5m8767,pmic-buck[2/3/4]-uses-gpio-dvs' optional
32 property is specified, the 's5m8767,pmic-buck[2/3/4]-dvs-voltage'
36 If either of the 's5m8767,pmic-buck[2/3/4]-uses-gpio-dvs' optional
[all …]
Dmax8997-regulator.txt13 - 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
21 - max8997,pmic-buck5-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
22 units for buck5 when changing voltage using gpio dvs. Refer to [1] below
25 [1] If none of the 'max8997,pmic-buck[1/2/5]-uses-gpio-dvs' optional
26 property is specified, the 'max8997,pmic-buck[1/2/5]-dvs-voltage'
30 If either of the 'max8997,pmic-buck[1/2/5]-uses-gpio-dvs' optional
32 'max8997,pmic-buck[1/2/5]-dvs-voltage' should be specified.
[all …]
Drohm,bd71837-regulator.txt30 - rohm,dvs-run-voltage : PMIC default "RUN" state voltage in uV.
32 - rohm,dvs-idle-voltage : PMIC default "IDLE" state voltage in uV.
34 - rohm,dvs-suspend-voltage : PMIC default "SUSPEND" state voltage in uV.
41 buck | dvs-run-voltage | dvs-idle-voltage | dvs-suspend-voltage
54 buck | dvs-run-voltage | dvs-idle-voltage | dvs-suspend-voltage
71 rohm,dvs-run-voltage = <900000>;
72 rohm,dvs-idle-voltage = <850000>;
73 rohm,dvs-suspend-voltage = <800000>;
82 rohm,dvs-run-voltage = <1000000>;
83 rohm,dvs-idle-voltage = <900000>;
[all …]
Dlp872x.txt28 - 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.
30 - ti,dvs-state: initial DVS pin state. 0 = DVS_LOW, 1 = DVS_HIGH.
54 * The dvs-gpio depends on the processor environment.
57 ti,dvs-gpio = <&gpio5 6 0>;
58 ti,dvs-vsel = /bits/ 8 <1>; /* SEL_V2 */
59 ti,dvs-state = /bits/ 8 <1>; /* DVS_HIGH */
Dmax8952.txt6 - max8952,dvs-mode-microvolt: array of 4 integer values defining DVS voltages
41 max8952,dvs-mode-microvolt = <1250000>, <1200000>,
Dmax8973-regulator.txt19 -maxim,dvs-gpio: GPIO which is connected to DVS pin of device.
20 -maxim,dvs-default-state: Default state of GPIO during initialisation.
/Linux-v5.4/Documentation/devicetree/bindings/mfd/
Dmax8998.txt26 - max8998,pmic-buck1-dvs-gpios: GPIO specifiers for two host gpios used
27 for buck 1 dvs. The format of the gpio specifier depends on the gpio
29 - max8998,pmic-buck2-dvs-gpio: GPIO specifier for host gpio used
30 for buck 2 dvs. The format of the gpio specifier depends on the gpio
32 - max8998,pmic-buck1-default-dvs-idx: Default voltage setting selected from
33 the possible 4 options selectable by the dvs gpios. The value of this
36 - max8998,pmic-buck2-default-dvs-idx: Default voltage setting selected from
37 the possible 2 options selectable by the dvs gpios. The value of this
43 Additional properties required if max8998,pmic-buck1-dvs-gpios is defined:
44 - max8998,pmic-buck1-dvs-voltage: An array of 4 voltage values in microvolts
[all …]
/Linux-v5.4/drivers/regulator/
Dlp8788-buck.c91 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
118 if (!dvs) in lp8788_buck2_set_dvs()
121 switch (dvs->vsel) { in lp8788_buck2_set_dvs()
142 if (gpio_is_valid(dvs->gpio[0])) in lp8788_buck2_set_dvs()
[all …]
Dlp872x.c322 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_buck_set_voltage_sel() local
324 if (dvs && gpio_is_valid(dvs->gpio)) in lp872x_buck_set_voltage_sel()
325 lp872x_set_dvs(lp, dvs->vsel, dvs->gpio); in lp872x_buck_set_voltage_sel()
679 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_init_dvs() local
684 if (!dvs) in lp872x_init_dvs()
687 gpio = dvs->gpio; in lp872x_init_dvs()
691 pinstate = dvs->init_state; in lp872x_init_dvs()
843 pdata->dvs = devm_kzalloc(dev, sizeof(struct lp872x_dvs), GFP_KERNEL); in lp872x_populate_pdata_from_dt()
844 if (!pdata->dvs) in lp872x_populate_pdata_from_dt()
847 pdata->dvs->gpio = of_get_named_gpio(np, "ti,dvs-gpio", 0); in lp872x_populate_pdata_from_dt()
[all …]
Dbd718x7-regulator.c359 static int set_dvs_levels(const struct of_dvs_setting *dvs, in set_dvs_levels() argument
367 ret = of_property_read_u32(np, dvs->prop, &uv); in set_dvs_levels()
380 ret = regmap_update_bits(regmap, dvs->reg, in set_dvs_levels()
393 const struct of_dvs_setting dvs[] = { in buck4_set_hw_dvs_levels() local
400 for (i = 0; i < ARRAY_SIZE(dvs); i++) { in buck4_set_hw_dvs_levels()
401 ret = set_dvs_levels(&dvs[i], np, desc, cfg->regmap); in buck4_set_hw_dvs_levels()
412 const struct of_dvs_setting dvs[] = { in buck3_set_hw_dvs_levels() local
419 for (i = 0; i < ARRAY_SIZE(dvs); i++) { in buck3_set_hw_dvs_levels()
420 ret = set_dvs_levels(&dvs[i], np, desc, cfg->regmap); in buck3_set_hw_dvs_levels()
432 const struct of_dvs_setting dvs[] = { in buck2_set_hw_dvs_levels() local
[all …]
/Linux-v5.4/drivers/cpufreq/
Ds3c2412-cpufreq.c42 unsigned int hdiv, pdiv, armdiv, dvs; in s3c2412_cpufreq_calcdivs() local
79 cfg->divs.dvs = dvs = armclk < armdiv_clk; in s3c2412_cpufreq_calcdivs()
82 cfg->freq.armclk = dvs ? hclk : armdiv_clk; in s3c2412_cpufreq_calcdivs()
85 __func__, armclk, hclk, armdiv, hdiv, cfg->divs.dvs); in s3c2412_cpufreq_calcdivs()
139 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2412_cpufreq_setdivs()
Ds3c2440-cpufreq.c111 cfg->divs.dvs = 1; in s3c2440_cpufreq_calcdivs()
114 cfg->divs.dvs = 0; in s3c2440_cpufreq_calcdivs()
193 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2440_cpufreq_setdivs()
/Linux-v5.4/arch/arm64/boot/dts/freescale/
Dimx8mq-pico-pi.dts83 rohm,dvs-run-voltage = <900000>;
84 rohm,dvs-idle-voltage = <850000>;
85 rohm,dvs-suspend-voltage = <800000>;
94 rohm,dvs-run-voltage = <1000000>;
95 rohm,dvs-idle-voltage = <900000>;
103 rohm,dvs-run-voltage = <1000000>;
111 rohm,dvs-run-voltage = <1000000>;
Dimx8mq-librem5-devkit.dts227 rohm,dvs-run-voltage = <900000>;
228 rohm,dvs-idle-voltage = <850000>;
229 rohm,dvs-suspend-voltage = <800000>;
238 rohm,dvs-run-voltage = <1000000>;
239 rohm,dvs-idle-voltage = <900000>;
247 rohm,dvs-run-voltage = <1000000>;
254 rohm,dvs-run-voltage = <1000000>;
/Linux-v5.4/arch/arm/boot/dts/
Dexynos4210-trats.dts289 max8997,pmic-buck1-uses-gpio-dvs;
290 max8997,pmic-buck2-uses-gpio-dvs;
291 max8997,pmic-buck5-uses-gpio-dvs;
294 max8997,pmic-buck125-default-dvs-idx = <0>;
296 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
300 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
305 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
310 max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
Drk3288-veyron-brain.dts50 dvs_1: dvs-1 {
54 dvs_2: dvs-2 {
69 dvs-gpios = <&gpio7 RK_PB3 GPIO_ACTIVE_HIGH>,
Ds5pv210-aquila.dts79 max8998,pmic-buck1-default-dvs-idx = <0>;
80 max8998,pmic-buck1-dvs-gpios = <&gph0 3 0>,
82 max8998,pmic-buck1-dvs-voltage = <1200000>, <1200000>,
85 max8998,pmic-buck2-default-dvs-idx = <0>;
86 max8998,pmic-buck2-dvs-gpio = <&gph0 5 0>;
87 max8998,pmic-buck2-dvs-voltage = <1200000>, <1200000>;
Ds5pv210-goni.dts90 max8998,pmic-buck1-default-dvs-idx = <0>;
91 max8998,pmic-buck1-dvs-gpios = <&gph0 3 0>,
93 max8998,pmic-buck1-dvs-voltage = <1200000>, <1200000>,
96 max8998,pmic-buck2-default-dvs-idx = <0>;
97 max8998,pmic-buck2-dvs-gpio = <&gph0 5 0>;
98 max8998,pmic-buck2-dvs-voltage = <1200000>, <1200000>;
Drk3288-veyron-jaq.dts61 dvs-gpios = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>,
320 dvs_1: dvs-1 {
324 dvs_2: dvs-2 {
Dexynos4210-universal_c210.dts317 max8952,dvs-mode-microvolt = <1250000>, <1200000>,
336 max8998,pmic-buck1-default-dvs-idx = <0>;
337 max8998,pmic-buck1-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
339 max8998,pmic-buck1-dvs-voltage = <1100000>, <1000000>,
342 max8998,pmic-buck2-default-dvs-idx = <0>;
343 max8998,pmic-buck2-dvs-gpio = <&gpe2 0 GPIO_ACTIVE_HIGH>;
344 max8998,pmic-buck2-dvs-voltage = <1200000>, <1100000>;
Ds5pv210-aries.dtsi74 max8998,pmic-buck1-default-dvs-idx = <1>;
75 max8998,pmic-buck1-dvs-gpios = <&gph0 3 GPIO_ACTIVE_HIGH>,
77 max8998,pmic-buck1-dvs-voltage = <1275000>, <1200000>,
80 max8998,pmic-buck2-default-dvs-idx = <0>;
81 max8998,pmic-buck2-dvs-gpio = <&gph0 5 GPIO_ACTIVE_HIGH>;
82 max8998,pmic-buck2-dvs-voltage = <1100000>, <1000000>;
Dexynos4412-itop-scp-core.dtsi141 s5m8767,pmic-buck-default-dvs-idx = <3>;
143 s5m8767,pmic-buck-dvs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>,
152 s5m8767,pmic-buck2-dvs-voltage = <1356250>, <1300000>,
157 s5m8767,pmic-buck3-dvs-voltage = <1000000>, <1000000>,
162 s5m8767,pmic-buck4-dvs-voltage = <1081250>, <1081250>,
Dexynos5250-spring.dts116 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>, /* DVS1 */
129 s5m8767,pmic-buck2-dvs-voltage = <1350000>, <1300000>,
134 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
139 s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
452 s5m8767_dvs: s5m8767-dvs {
Dexynos4412-origen.dts114 s5m8767,pmic-buck-default-dvs-idx = <3>;
116 s5m8767,pmic-buck-dvs-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>,
124 s5m8767,pmic-buck2-dvs-voltage = <1250000>, <1200000>,
129 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
134 s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
Drk3288-veyron-speedy.dts295 dvs_1: dvs-1 {
299 dvs_2: dvs-2 {

12