Home
last modified time | relevance | path

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

123

/Linux-v5.10/drivers/regulator/
Drohm-regulator.c46 int rohm_regulator_set_dvs_levels(const struct rohm_dvs_config *dvs, in rohm_regulator_set_dvs_levels() argument
56 if (dvs->level_map & (1 << i)) { in rohm_regulator_set_dvs_levels()
60 reg = dvs->run_reg; in rohm_regulator_set_dvs_levels()
61 mask = dvs->run_mask; in rohm_regulator_set_dvs_levels()
62 omask = dvs->run_on_mask; in rohm_regulator_set_dvs_levels()
66 reg = dvs->idle_reg; in rohm_regulator_set_dvs_levels()
67 mask = dvs->idle_mask; in rohm_regulator_set_dvs_levels()
68 omask = dvs->idle_on_mask; in rohm_regulator_set_dvs_levels()
72 reg = dvs->suspend_reg; in rohm_regulator_set_dvs_levels()
73 mask = dvs->suspend_mask; in rohm_regulator_set_dvs_levels()
[all …]
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 …]
Dbd71828-regulator.c27 const struct rohm_dvs_config dvs; member
134 return rohm_regulator_set_dvs_levels(&data->dvs, np, desc, cfg->regmap); in buck_set_hw_dvs_levels()
225 .dvs = {
267 .dvs = {
304 .dvs = {
345 .dvs = {
386 .dvs = {
427 .dvs = {
464 .dvs = {
501 .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 …]
Dpca9450-regulator.c29 const struct pc9450_dvs_config dvs; member
207 const struct pc9450_dvs_config *dvs = &data->dvs; in pca9450_set_dvs_levels() local
216 reg = dvs->run_reg; in pca9450_set_dvs_levels()
217 mask = dvs->run_mask; in pca9450_set_dvs_levels()
221 reg = dvs->standby_reg; in pca9450_set_dvs_levels()
222 mask = dvs->standby_mask; in pca9450_set_dvs_levels()
255 .dvs = {
280 .dvs = {
305 .dvs = {
481 .dvs = {
[all …]
/Linux-v5.10/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 …]
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.10/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.10/drivers/cpufreq/
Ds3c2412-cpufreq.c51 unsigned int hdiv, pdiv, armdiv, dvs; in s3c2412_cpufreq_calcdivs() local
88 cfg->divs.dvs = dvs = armclk < armdiv_clk; in s3c2412_cpufreq_calcdivs()
91 cfg->freq.armclk = dvs ? hclk : armdiv_clk; in s3c2412_cpufreq_calcdivs()
94 __func__, armclk, hclk, armdiv, hdiv, cfg->divs.dvs); in s3c2412_cpufreq_calcdivs()
148 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2412_cpufreq_setdivs()
Ds3c2440-cpufreq.c124 cfg->divs.dvs = 1; in s3c2440_cpufreq_calcdivs()
127 cfg->divs.dvs = 0; in s3c2440_cpufreq_calcdivs()
206 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2440_cpufreq_setdivs()
/Linux-v5.10/include/linux/mfd/
Drohm-generic.h71 int rohm_regulator_set_dvs_levels(const struct rohm_dvs_config *dvs,
77 static inline int rohm_regulator_set_dvs_levels(const struct rohm_dvs_config *dvs, in rohm_regulator_set_dvs_levels() argument
/Linux-v5.10/arch/arm64/boot/dts/freescale/
Dimx8mq-pico-pi.dts84 rohm,dvs-run-voltage = <900000>;
85 rohm,dvs-idle-voltage = <850000>;
86 rohm,dvs-suspend-voltage = <800000>;
95 rohm,dvs-run-voltage = <1000000>;
96 rohm,dvs-idle-voltage = <900000>;
104 rohm,dvs-run-voltage = <1000000>;
112 rohm,dvs-run-voltage = <1000000>;
Dimx8mq-phanbell.dts139 rohm,dvs-run-voltage = <900000>;
140 rohm,dvs-idle-voltage = <900000>;
141 rohm,dvs-suspend-voltage = <800000>;
150 rohm,dvs-run-voltage = <1000000>;
151 rohm,dvs-idle-voltage = <900000>;
159 rohm,dvs-run-voltage = <900000>;
168 rohm,dvs-run-voltage = <900000>;
Dimx8mn-evk.dts43 nxp,dvs-run-voltage = <950000>;
44 nxp,dvs-standby-voltage = <850000>;
/Linux-v5.10/arch/arm/boot/dts/
Dexynos4210-trats.dts293 max8997,pmic-buck1-uses-gpio-dvs;
294 max8997,pmic-buck2-uses-gpio-dvs;
295 max8997,pmic-buck5-uses-gpio-dvs;
298 max8997,pmic-buck125-default-dvs-idx = <0>;
300 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
304 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
309 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
314 max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
Drk3288-veyron-brain.dts59 dvs_1: dvs-1 {
63 dvs_2: dvs-2 {
78 dvs-gpios = <&gpio7 RK_PB3 GPIO_ACTIVE_HIGH>,
Ds5pv210-aquila.dts78 max8998,pmic-buck1-default-dvs-idx = <0>;
79 max8998,pmic-buck1-dvs-gpios = <&gph0 3 GPIO_ACTIVE_HIGH>,
81 max8998,pmic-buck1-dvs-voltage = <1200000>, <1200000>,
84 max8998,pmic-buck2-default-dvs-idx = <0>;
85 max8998,pmic-buck2-dvs-gpio = <&gph0 5 GPIO_ACTIVE_HIGH>;
86 max8998,pmic-buck2-dvs-voltage = <1200000>, <1200000>;
Ds5pv210-goni.dts89 max8998,pmic-buck1-default-dvs-idx = <0>;
90 max8998,pmic-buck1-dvs-gpios = <&gph0 3 GPIO_ACTIVE_HIGH>,
92 max8998,pmic-buck1-dvs-voltage = <1200000>, <1200000>,
95 max8998,pmic-buck2-default-dvs-idx = <0>;
96 max8998,pmic-buck2-dvs-gpio = <&gph0 5 GPIO_ACTIVE_HIGH>;
97 max8998,pmic-buck2-dvs-voltage = <1200000>, <1200000>;
Dexynos4210-universal_c210.dts327 max8952,dvs-mode-microvolt = <1250000>, <1200000>,
346 max8998,pmic-buck1-default-dvs-idx = <0>;
347 max8998,pmic-buck1-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
349 max8998,pmic-buck1-dvs-voltage = <1100000>, <1000000>,
352 max8998,pmic-buck2-default-dvs-idx = <0>;
353 max8998,pmic-buck2-dvs-gpio = <&gpe2 0 GPIO_ACTIVE_HIGH>;
354 max8998,pmic-buck2-dvs-voltage = <1200000>, <1100000>;
Dexynos4210-i9100.dts358 max8997,pmic-buck1-uses-gpio-dvs;
359 max8997,pmic-buck2-uses-gpio-dvs;
360 max8997,pmic-buck5-uses-gpio-dvs;
363 max8997,pmic-buck125-default-dvs-idx = <0>;
365 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
369 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
374 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
379 max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
Drk3288-veyron-jaq.dts30 dvs-gpios = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>,
326 dvs_1: dvs-1 {
330 dvs_2: dvs-2 {
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>,

123