Home
last modified time | relevance | path

Searched full:dvs (Results 1 – 25 of 152) sorted by relevance

1234567

/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/
H A Dia_css_sdis_common_types.h20 * CSS-API header file for DVS statistics parameters.
25 /* DVS statistics grid dimensions in number of cells.
29 u32 width; /** Width of DVS grid table in cells */
30 u32 height; /** Height of DVS grid table in cells */
33 /* DVS statistics dimensions in number of cells for
45 /* DVS statistics grid
47 * ISP block: SDVS1 (DIS/DVS Support for DIS/DVS ver.1 (2-axes))
48 * SDVS2 (DVS Support for DVS ver.2 (6-axes))
53 u32 width; /** Width of DVS grid table.
63 u32 height; /** Height of DVS grid table.
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Dia_css_dvs.h20 * This file contains types for DVS statistics
34 /* Structure that holds DVS statistics in the ISP internal
36 * this to the format used on the host (DVS engine).
48 /* Structure that holds SKC DVS statistics in the ISP internal
84 /* @brief Copy DVS statistics from an ISP buffer to a host buffer.
102 /* @brief Translate DVS statistics from ISP format to host format
107 * This function translates the dvs statistics from the ISP-internal
108 * format to the format used by the DVS library on the CPU.
118 /* @brief Copy DVS 2.0 statistics from an ISP buffer to a host buffer.
152 /* @brief Copy DVS statistics from an ISP buffer to a host buffer.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dsamsung,s5m8767.yaml39 s5m8767,pmic-buck2-dvs-voltage:
45 changing voltage using gpio dvs.
47 s5m8767,pmic-buck3-dvs-voltage:
53 changing voltage using gpio dvs.
55 s5m8767,pmic-buck4-dvs-voltage:
61 changing voltage using gpio dvs.
67 GPIO specifiers for three host gpio's used for selecting GPIO DVS lines.
68 It is one-to-one mapped to dvs gpio lines.
70 s5m8767,pmic-buck2-uses-gpio-dvs:
72 description: buck2 can be controlled by gpio dvs.
[all …]
H A 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 …]
H A Drohm,bd71837-pmic.yaml153 rohm,dvs-run-voltage = <900000>;
154 rohm,dvs-idle-voltage = <850000>;
155 rohm,dvs-suspend-voltage = <800000>;
164 rohm,dvs-run-voltage = <1000000>;
165 rohm,dvs-idle-voltage = <900000>;
172 rohm,dvs-run-voltage = <1000000>;
179 rohm,dvs-run-voltage = <1000000>;
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dmaxim,max8997.yaml33 max8997,pmic-buck1-dvs-voltage:
39 changing voltage using GPIO DVS.
40 If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is
41 specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should
45 max8997,pmic-buck2-dvs-voltage:
51 changing voltage using GPIO DVS.
52 If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is
53 specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should
57 max8997,pmic-buck5-dvs-voltage:
63 changing voltage using GPIO DVS.
[all …]
H A Dlp872x.txt10 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
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.
30 - ti,dvs-state: initial DVS pin state. 0 = DVS_LOW, 1 = DVS_HIGH.
49 /* external DVS pin used, timestep is 25usec */
54 * The dvs-gpio depends on the processor environment.
57 ti,dvs-gpio = <&gpio5 6 0>;
[all …]
H A Dmaxim,max8952.yaml23 index of default DVS voltage
25 max8952,dvs-mode-microvolt:
32 Array of 4 integer values defining DVS voltages in microvolts. All values
71 Array of two GPIO pins used for DVS voltage selection
78 - max8952,dvs-mode-microvolt
98 max8952,dvs-mode-microvolt = <1250000>, <1200000>,
H A Drichtek,rtq2134-regulator.yaml38 richtek,use-vsel-dvs:
41 If specified, buck will listen to 'vsel' pin for dvs config.
76 richtek,use-vsel-dvs;
87 richtek,use-vsel-dvs;
98 richtek,use-vsel-dvs;
H A Drohm,bd71847-regulator.yaml56 rohm,dvs-run-voltage:
64 rohm,dvs-idle-voltage:
72 rohm,dvs-suspend-voltage:
80 # Supported default DVS states:
83 # buck | dvs-run-voltage | dvs-idle-voltage | dvs-suspend-voltage
H A Dnxp,pca9450-regulator.yaml59 nxp,dvs-run-voltage:
65 dvs(dynamic voltage scaling) property.
67 nxp,dvs-standby-voltage:
73 dvs(dynamic voltage scaling) property.
133 nxp,dvs-run-voltage = <950000>;
134 nxp,dvs-standby-voltage = <850000>;
H A Drohm,bd71837-regulator.yaml57 rohm,dvs-run-voltage:
65 rohm,dvs-idle-voltage:
73 rohm,dvs-suspend-voltage:
81 # Supported default DVS states:
84 # buck | dvs-run-voltage | dvs-idle-voltage | dvs-suspend-voltage
H A Drohm,bd71828-regulator.yaml51 rohm,dvs-run-voltage:
59 rohm,dvs-idle-voltage:
67 rohm,dvs-suspend-voltage:
75 rohm,dvs-lpsr-voltage:
83 # Supported default DVS states:
H A Dmaxim,max8973.yaml30 maxim,dvs-gpio:
33 GPIO which is connected to DVS pin of device.
35 maxim,dvs-default-state:
134 maxim,dvs-default-state = <1>;
/openbmc/linux/drivers/regulator/
H A Drohm-regulator.c59 int rohm_regulator_set_dvs_levels(const struct rohm_dvs_config *dvs, in rohm_regulator_set_dvs_levels() argument
72 if (dvs->level_map & bit) { in rohm_regulator_set_dvs_levels()
75 prop = "rohm,dvs-run-voltage"; in rohm_regulator_set_dvs_levels()
76 reg = dvs->run_reg; in rohm_regulator_set_dvs_levels()
77 mask = dvs->run_mask; in rohm_regulator_set_dvs_levels()
78 omask = dvs->run_on_mask; in rohm_regulator_set_dvs_levels()
81 prop = "rohm,dvs-idle-voltage"; in rohm_regulator_set_dvs_levels()
82 reg = dvs->idle_reg; in rohm_regulator_set_dvs_levels()
83 mask = dvs->idle_mask; in rohm_regulator_set_dvs_levels()
84 omask = dvs->idle_on_mask; in rohm_regulator_set_dvs_levels()
[all …]
H A 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 …]
H A Dbd71828-regulator.c26 const struct rohm_dvs_config dvs; member
33 * DVS Buck voltages can be changed by register values or via GPIO.
102 return rohm_regulator_set_dvs_levels(&data->dvs, np, desc, cfg->regmap); in buck_set_hw_dvs_levels()
113 static const char * const props[] = { "rohm,dvs-run-voltage", in ldo6_parse_dt()
114 "rohm,dvs-idle-voltage", in ldo6_parse_dt()
115 "rohm,dvs-suspend-voltage", in ldo6_parse_dt()
116 "rohm,dvs-lpsr-voltage" }; in ldo6_parse_dt()
197 .dvs = {
240 .dvs = {
277 .dvs = {
[all …]
H A Dlp872x.c88 /* Default DVS Mode */
321 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_buck_set_voltage_sel() local
323 if (dvs && dvs->gpio) in lp872x_buck_set_voltage_sel()
324 lp872x_set_dvs(lp, dvs->vsel, dvs->gpio); in lp872x_buck_set_voltage_sel()
677 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_init_dvs() local
682 if (!dvs) in lp872x_init_dvs()
685 if (!dvs->gpio) in lp872x_init_dvs()
688 pinstate = dvs->init_state; in lp872x_init_dvs()
689 dvs->gpio = devm_gpiod_get_optional(lp->dev, "ti,dvs", pinstate); in lp872x_init_dvs()
691 if (IS_ERR(dvs->gpio)) { in lp872x_init_dvs()
[all …]
H A Dbd71815-regulator.c27 const struct rohm_dvs_config *dvs; member
179 return rohm_regulator_set_dvs_levels(data->dvs, np, desc, cfg->regmap); in set_hw_dvs_levels()
203 if (of_property_present(np, "rohm,dvs-run-voltage") || in buck12_set_hw_dvs_levels()
204 of_property_present(np, "rohm,dvs-suspend-voltage") || in buck12_set_hw_dvs_levels()
205 of_property_present(np, "rohm,dvs-lpsr-voltage") || in buck12_set_hw_dvs_levels()
206 of_property_present(np, "rohm,dvs-snvs-voltage")) { in buck12_set_hw_dvs_levels()
233 ret = rohm_regulator_set_dvs_levels(data->dvs, np, desc, in buck12_set_hw_dvs_levels()
238 * DVS levels were given => use HW-state machine for voltage in buck12_set_hw_dvs_levels()
253 * BUCK1RAMPRATE[1:0] BUCK1 DVS ramp rate setting
357 /* Select the other DVS register to be used */ in bd7181x_buck12_set_voltage_sel()
[all …]
H A Dpca9450-regulator.c29 const struct pc9450_dvs_config dvs; member
61 * BUCK1RAM[1:0] BUCK1 DVS ramp rate setting
180 /* Enable DVS control through PMIC_STBY_REQ for this BUCK */ in buck_set_dvs()
193 const struct pc9450_dvs_config *dvs = &data->dvs; in pca9450_set_dvs_levels() local
201 prop = "nxp,dvs-run-voltage"; in pca9450_set_dvs_levels()
202 reg = dvs->run_reg; in pca9450_set_dvs_levels()
203 mask = dvs->run_mask; in pca9450_set_dvs_levels()
206 prop = "nxp,dvs-standby-voltage"; in pca9450_set_dvs_levels()
207 reg = dvs->standby_reg; in pca9450_set_dvs_levels()
208 mask = dvs->standby_mask; in pca9450_set_dvs_levels()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
H A Dia_css_sdis2_types.h20 * CSS-API header file for DVS statistics parameters.
23 /* Number of DVS coefficient types */
30 /* DVS 2.0 Coefficient types. This structure contains 4 pointers to
40 /* DVS 2.0 Coefficients. This structure describes the coefficients that are needed for the dvs stat…
46 grid; /** grid info contains the dimensions of the dvs grid */
53 /* DVS 2.0 Statistic types. This structure contains 4 pointers to
63 /* DVS 2.0 Statistics. This structure describes the statistics that are generated using the provide…
69 grid; /** grid info contains the dimensions of the dvs grid */
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
H A Dia_css_sdis_types.h20 * CSS-API header file for DVS statistics parameters.
23 /* Number of DVS coefficient types */
30 /* DVS 1.0 Coefficients.
31 * This structure describes the coefficients that are needed for the dvs statistics.
36 grid;/** grid info contains the dimensions of the dvs grid */
43 /* DVS 1.0 Statistics.
49 grid;/** grid info contains the dimensions of the dvs grid */
/openbmc/linux/include/linux/regulator/
H A Dlp872x.h50 * @gpio : gpio descriptor for dvs control
51 * @vsel : dvs selector for buck v1 or buck v2 register
52 * @init_state : initial dvs pin state
75 * @dvs : dvs data for buck voltage control
82 struct lp872x_dvs *dvs; member
/openbmc/linux/include/linux/mfd/
H A Dlp8788.h162 * @gpio : gpio pin number for dvs control
163 * @vsel : dvs selector for buck v1 register
172 * @gpio : two gpio pin numbers are used for dvs
173 * @vsel : dvs selector for buck v2 register
271 * @buck1_dvs : gpio configurations for buck1 dvs
272 * @buck2_dvs : gpio configurations for buck2 dvs
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A 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>;

1234567