Home
last modified time | relevance | path

Searched refs:regulators (Results 1 – 25 of 1282) sorted by relevance

12345678910>>...52

/openbmc/openbmc/meta-phosphor/recipes-phosphor/power/
H A Dphosphor-power-systemd-links-regulators.bb8 RDEPENDS:${PN} += "phosphor-power-regulators"
11 …ystemd_system_unitdir/obmc-chassis-poweron@${i}.target.requires/phosphor-regulators-config.service"
14 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@${i}.target.wants/phosphor-regulators-monitor…
17 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweroff@${i}.target.wants/phosphor-regulators-monito…
22 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires/phosphor-regulators-config.…
23 TARGET="../phosphor-regulators-config.service"
27 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@0.target.wants/phosphor-regulators-monitor-en…
28 TARGET="../phosphor-regulators-monitor-enable.service"
32 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweroff@0.target.wants/phosphor-regulators-monitor-d…
33 TARGET="../phosphor-regulators-monitor-disable.service"
H A Dphosphor-power_git.bb3 voltage regulators, and analyzes power devices for faults"
20 ${PN}-regulators \
55 REGS_SVC = "phosphor-regulators.service"
56 REGS_CONF_SVC = "phosphor-regulators-config.service"
57 REGS_MON_ENA_SVC = "phosphor-regulators-monitor-enable.service"
58 REGS_MON_DIS_SVC = "phosphor-regulators-monitor-disable.service"
64 SYSTEMD_SERVICE:${PN}-regulators = "${REGS_SVC} ${REGS_CONF_SVC} ${REGS_MON_ENA_SVC} ${REGS_MON_DIS…
74 FILES:${PN}-regulators = "${bindir}/phosphor-regulators ${datadir}/phosphor-regulators"
75 FILES:${PN}-regulators += "${bindir}/regsctl"
/openbmc/linux/drivers/media/platform/qcom/camss/
H A Dcamss.c37 .regulators = {},
49 .regulators = {},
63 .regulators = { "vdda" },
80 .regulators = { "vdda" },
110 .regulators = {},
132 .regulators = {},
144 .regulators = {},
156 .regulators = {},
170 .regulators = { "vdda" },
187 .regulators = { "vdda" },
[all …]
/openbmc/linux/drivers/input/keyboard/
H A Dcypress-sf.c25 struct regulator_bulk_data regulators[2]; member
68 regulator_bulk_disable(ARRAY_SIZE(touchkey->regulators), in cypress_sf_disable_regulators()
69 touchkey->regulators); in cypress_sf_disable_regulators()
84 touchkey->regulators[0].supply = "vdd"; in cypress_sf_probe()
85 touchkey->regulators[1].supply = "avdd"; in cypress_sf_probe()
88 ARRAY_SIZE(touchkey->regulators), in cypress_sf_probe()
89 touchkey->regulators); in cypress_sf_probe()
124 error = regulator_bulk_enable(ARRAY_SIZE(touchkey->regulators), in cypress_sf_probe()
125 touchkey->regulators); in cypress_sf_probe()
179 error = regulator_bulk_disable(ARRAY_SIZE(touchkey->regulators), in cypress_sf_suspend()
[all …]
H A Dtm2-touchkey.c50 struct regulator_bulk_data regulators[3]; member
114 error = regulator_bulk_enable(ARRAY_SIZE(touchkey->regulators), in tm2_touchkey_power_enable()
115 touchkey->regulators); in tm2_touchkey_power_enable()
129 regulator_bulk_disable(ARRAY_SIZE(touchkey->regulators), in tm2_touchkey_power_disable()
130 touchkey->regulators); in tm2_touchkey_power_disable()
205 touchkey->regulators[0].supply = "vcc"; in tm2_touchkey_probe()
206 touchkey->regulators[1].supply = "vdd"; in tm2_touchkey_probe()
207 touchkey->regulators[2].supply = "vddio"; in tm2_touchkey_probe()
209 ARRAY_SIZE(touchkey->regulators), in tm2_touchkey_probe()
210 touchkey->regulators); in tm2_touchkey_probe()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dtps65217.txt1 TPS65217 family of regulators
6 - regulators: list of regulators provided by this controller, must be named
8 - regulators: This is the list of child nodes that specify the regulator
9 initialization data for defined regulators. Not all regulators for the given
11 using the standard binding for regulators found at
17 The valid names for regulators are:
20 Each regulator is defined using the standard binding for regulators.
28 regulators {
H A Dtps65023.txt1 TPS65023 family of regulators
9 - regulators: list of regulators provided by this controller, must be named
11 - regulators: This is the list of child nodes that specify the regulator
12 initialization data for defined regulators. The definition for each of
13 these nodes is defined using the standard binding for regulators found at
16 Each regulator is defined using the standard binding for regulators.
24 regulators {
H A Dmt6311-regulator.txt6 - regulators: List of regulators provided by this controller. It is named
9 for regulators at Documentation/devicetree/bindings/regulator/regulator.txt.
11 The valid names for regulators are:
22 regulators {
H A Dtps65218.txt1 TPS65218 family of regulators
7 - List of regulators provided by this controller, must be named
10 initialization data for defined regulators. Not all regulators for the given
12 using the standard binding for regulators found at ./regulator.txt.
14 The valid names for regulators are:
17 Each regulator is defined using the standard binding for regulators.
H A Dda9211.txt9 - regulators: A node that houses a sub-node for each regulator within the
12 standard binding for regulators; see regulator.txt.
27 regulators {
47 regulators {
73 regulators {
91 regulators {
109 regulators {
135 regulators {
161 regulators {
187 regulators {
/openbmc/linux/drivers/regulator/
H A DKconfig9 and current regulators within the Linux kernel. It's intended to
16 to both voltage regulators (where voltage output is controllable) and
21 regulators.
36 This driver provides support for fixed voltage regulators,
38 managed regulators and simple non-configurable regulators.
60 tristate "Marvell 88PG86X voltage regulators"
64 This driver supports Marvell 88PG867 and 88PG868 voltage regulators.
69 tristate "Marvell 88PM800 Power regulators"
79 tristate "Marvell 88PM8607 Power regulators"
99 and four low-dropout linear regulators, along with a ActivePath
[all …]
H A Dwm8400-regulator.c115 static struct regulator_desc regulators[] = { variable
204 struct wm8400 *wm8400 = container_of(pdev, struct wm8400, regulators[pdev->id]); in wm8400_regulator_probe()
213 rdev = devm_regulator_register(&pdev->dev, &regulators[pdev->id], in wm8400_regulator_probe()
247 if (wm8400->regulators[reg].name) in wm8400_register_regulator()
252 wm8400->regulators[reg].name = "wm8400-regulator"; in wm8400_register_regulator()
253 wm8400->regulators[reg].id = reg; in wm8400_register_regulator()
254 wm8400->regulators[reg].dev.parent = dev; in wm8400_register_regulator()
255 wm8400->regulators[reg].dev.platform_data = initdata; in wm8400_register_regulator()
257 return platform_device_register(&wm8400->regulators[reg]); in wm8400_register_regulator()
H A Ds5m8767.c384 static struct regulator_desc regulators[] = { variable
560 pdata->regulators = rdata; in s5m8767_pmic_dt_parse_pdata()
563 for (i = 0; i < ARRAY_SIZE(regulators); i++) in s5m8767_pmic_dt_parse_pdata()
564 if (of_node_name_eq(reg_np, regulators[i].name)) in s5m8767_pmic_dt_parse_pdata()
567 if (i == ARRAY_SIZE(regulators)) { in s5m8767_pmic_dt_parse_pdata()
591 &regulators[i]); in s5m8767_pmic_dt_parse_pdata()
921 unsigned int id = pdata->regulators[i].id; in s5m8767_pmic_probe()
925 BUILD_BUG_ON(ARRAY_SIZE(regulators) != ARRAY_SIZE(reg_voltage_map)); in s5m8767_pmic_probe()
926 if (WARN_ON_ONCE(id >= ARRAY_SIZE(regulators))) in s5m8767_pmic_probe()
931 regulators[id].n_voltages = in s5m8767_pmic_probe()
[all …]
H A Daxp20x-regulator.c1294 struct device_node *np, *regulators; in axp20x_regulator_parse_dt() local
1302 regulators = of_get_child_by_name(np, "regulators"); in axp20x_regulator_parse_dt()
1303 if (!regulators) { in axp20x_regulator_parse_dt()
1306 of_property_read_u32(regulators, "x-powers,dcdc-freq", &dcdcfreq); in axp20x_regulator_parse_dt()
1311 of_node_put(regulators); in axp20x_regulator_parse_dt()
1452 const struct regulator_desc *regulators; in axp20x_regulator_probe() local
1468 regulators = axp20x_regulators; in axp20x_regulator_probe()
1473 regulators = axp22x_regulators; in axp20x_regulator_probe()
1479 regulators = axp313a_regulators; in axp20x_regulator_probe()
1483 regulators = axp803_regulators; in axp20x_regulator_probe()
[all …]
/openbmc/phosphor-power/phosphor-regulators/
H A DREADME.md1 # phosphor-regulators
5 The `phosphor-regulators` application configures and monitors voltage
6 regulators. The application is controlled by a JSON configuration file.
8 The application does not control how voltage regulators are enabled or how to
14 The configuration of voltage regulators can be modified. Configuration changes
22 regulators are enabled.
42 Some voltage regulators contain redundant phases. If a redundant phase fails,
46 Voltage regulators can be monitored for redundant phase faults. If a fault is
53 - Voltage regulators in the system.
54 - Operations to perform on those regulators, such as configuration or sensor
/openbmc/linux/drivers/misc/lis3lv02d/
H A Dlis3lv02d_i2c.c35 ret = regulator_bulk_disable(ARRAY_SIZE(lis3->regulators), in lis3_reg_ctrl()
36 lis3->regulators); in lis3_reg_ctrl()
38 ret = regulator_bulk_enable(ARRAY_SIZE(lis3->regulators), in lis3_reg_ctrl()
39 lis3->regulators); in lis3_reg_ctrl()
140 lis3_dev.regulators[0].supply = reg_vdd; in lis3lv02d_i2c_probe()
141 lis3_dev.regulators[1].supply = reg_vdd_io; in lis3lv02d_i2c_probe()
143 ARRAY_SIZE(lis3_dev.regulators), in lis3lv02d_i2c_probe()
144 lis3_dev.regulators); in lis3lv02d_i2c_probe()
172 regulator_bulk_free(ARRAY_SIZE(lis3_dev.regulators), in lis3lv02d_i2c_probe()
173 lis3_dev.regulators); in lis3lv02d_i2c_probe()
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-aw2013.c65 struct regulator_bulk_data regulators[2]; member
109 ret = regulator_bulk_disable(ARRAY_SIZE(chip->regulators), in aw2013_chip_disable()
110 chip->regulators); in aw2013_chip_disable()
127 ret = regulator_bulk_enable(ARRAY_SIZE(chip->regulators), in aw2013_chip_enable()
128 chip->regulators); in aw2013_chip_enable()
353 chip->regulators[0].supply = "vcc"; in aw2013_probe()
354 chip->regulators[1].supply = "vio"; in aw2013_probe()
356 ARRAY_SIZE(chip->regulators), in aw2013_probe()
357 chip->regulators); in aw2013_probe()
365 ret = regulator_bulk_enable(ARRAY_SIZE(chip->regulators), in aw2013_probe()
[all …]
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/
H A DREADME.md1 # phosphor-regulators Configuration File
17 The `phosphor-regulators` application is controlled by a configuration file
19 on voltage regulators in the system:
25 The config file does not control how voltage regulators are enabled or how to
61 different set of voltage regulators and rails.
77 The `phosphor-regulators` application searches for a config file name that
92 If a config file is not found based on system type, `phosphor-regulators`
102 - Rules defining how to modify configuration of regulators
110 more regulators. They are optional and can be omitted if each regulator requires
156 `phosphor-regulators` application.
[all …]
/openbmc/phosphor-power/phosphor-regulators/test/
H A Drun-ci.sh3 for file in phosphor-regulators/config_files/*.json
5 phosphor-regulators/tools/validate-regulators-config.py \
6 -s phosphor-regulators/schema/config_schema.json \
/openbmc/u-boot/doc/device-tree-bindings/pmic/
H A Dmax77686.txt5 - drivers/power/regulator/max77686.c (for child regulators)
9 To bind the regulators, please read the additional binding info:
17 To bind each regulator, the optional regulators subnode should exists.
20 - voltage-regulators: subnode list of each device's regulator
29 voltage-regulators {
/openbmc/docs/designs/
H A Dvoltage-regulator-configuration.md12 [Voltage regulators][1] have many configurable properties such as output
17 new application is needed to configure regulators. It should be data-driven to
45 sometimes conditional, applied only to regulators with a certain version
54 shell scripts. For example, the following scripts configure regulators on
70 framework for voltage and current regulators. It provides a mechanism for the
79 - Apply the configuration changes early in the boot before the regulators are
89 - Enable/disable voltage regulators and monitor their pgood signals.
94 - Validate that the correct number and types of regulators are present in the
96 - Concurrent maintenance or hot-plugging of regulators, where a regulator is
103 A new application named `phosphor-regulators` will be created to configure
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-samsung-s6d27a1.c47 struct regulator_bulk_data regulators[2]; member
104 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->regulators), in s6d27a1_power_on()
105 ctx->regulators); in s6d27a1_power_on()
167 return regulator_bulk_disable(ARRAY_SIZE(ctx->regulators), in s6d27a1_power_off()
168 ctx->regulators); in s6d27a1_power_off()
260 ctx->regulators[0].supply = "vci"; in s6d27a1_probe()
261 ctx->regulators[1].supply = "vccio"; in s6d27a1_probe()
263 ARRAY_SIZE(ctx->regulators), in s6d27a1_probe()
264 ctx->regulators); in s6d27a1_probe()
H A Dpanel-samsung-db7430.c62 struct regulator_bulk_data regulators[2]; member
95 ret = regulator_bulk_enable(ARRAY_SIZE(db->regulators), in db7430_power_on()
96 db->regulators); in db7430_power_on()
168 return regulator_bulk_disable(ARRAY_SIZE(db->regulators), in db7430_power_off()
169 db->regulators); in db7430_power_off()
279 db->regulators[0].supply = "vci"; in db7430_probe()
280 db->regulators[1].supply = "vccio"; in db7430_probe()
282 ARRAY_SIZE(db->regulators), in db7430_probe()
283 db->regulators); in db7430_probe()
/openbmc/u-boot/drivers/power/regulator/
H A DKconfig20 bool "Enable regulators for SPL"
25 Enable this option if you need regulators in SPL and can cope with
55 bool "Enable driver for PWM regulators"
65 bool "Enable Driver for PWM regulators in SPL"
69 features for PWM regulators in SPL.
85 a (family of) single-output regulators that supports
100 features for fixed value regulators. The driver implements get/set api
108 features for fixed value regulators in SPL.
115 features for gpio regulators. The driver implements get/set for
123 features for gpio regulators in SPL.
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dcy8ctma140.c49 struct regulator_bulk_data regulators[2]; member
175 error = regulator_bulk_enable(ARRAY_SIZE(ts->regulators), in cy8ctma140_power_up()
176 ts->regulators); in cy8ctma140_power_up()
189 regulator_bulk_disable(ARRAY_SIZE(ts->regulators), in cy8ctma140_power_down()
190 ts->regulators); in cy8ctma140_power_down()
257 ts->regulators[0].supply = "vcpin"; in cy8ctma140_probe()
258 ts->regulators[1].supply = "vdd"; in cy8ctma140_probe()
259 error = devm_regulator_bulk_get(dev, ARRAY_SIZE(ts->regulators), in cy8ctma140_probe()
260 ts->regulators); in cy8ctma140_probe()

12345678910>>...52