Home
last modified time | relevance | path

Searched +full:dcdc +full:- +full:reg (Results 1 – 25 of 101) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/regulator/
Dwm831x-dcdc.c1 // SPDX-License-Identifier: GPL-2.0+
3 // wm831x-dcdc.c -- DC-DC buck converter driver for the WM831x series
62 struct wm831x_dcdc *dcdc = rdev_get_drvdata(rdev); in wm831x_dcdc_get_mode() local
63 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_mode()
64 u16 reg = dcdc->base + WM831X_DCDC_ON_CONFIG; in wm831x_dcdc_get_mode() local
67 val = wm831x_reg_read(wm831x, reg); in wm831x_dcdc_get_mode()
84 return -EINVAL; in wm831x_dcdc_get_mode()
88 static int wm831x_dcdc_set_mode_int(struct wm831x *wm831x, int reg, in wm831x_dcdc_set_mode_int() argument
107 return -EINVAL; in wm831x_dcdc_set_mode_int()
110 return wm831x_set_bits(wm831x, reg, WM831X_DC1_ON_MODE_MASK, in wm831x_dcdc_set_mode_int()
[all …]
Dwm8350-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 // wm8350.c -- Voltage and current regulation for the Wolfson WM8350 PMIC
93 /* turn on ISINK followed by DCDC */
101 switch (wm8350->pmic.isink_A_dcdc) { in wm8350_isink_enable()
109 1 << (wm8350->pmic.isink_A_dcdc - in wm8350_isink_enable()
113 return -EINVAL; in wm8350_isink_enable()
117 switch (wm8350->pmic.isink_B_dcdc) { in wm8350_isink_enable()
125 1 << (wm8350->pmic.isink_B_dcdc - in wm8350_isink_enable()
129 return -EINVAL; in wm8350_isink_enable()
133 return -EINVAL; in wm8350_isink_enable()
[all …]
Dltc3676.c1 // SPDX-License-Identifier: GPL-2.0-only
76 struct device *dev = ltc3676->dev; in ltc3676_set_suspend_voltage()
77 int dcdc = rdev_get_id(rdev); in ltc3676_set_suspend_voltage() local
80 dev_dbg(dev, "%s id=%d uV=%d\n", __func__, dcdc, uV); in ltc3676_set_suspend_voltage()
86 return regmap_update_bits(ltc3676->regmap, rdev->desc->vsel_reg + 1, in ltc3676_set_suspend_voltage()
87 rdev->desc->vsel_mask, sel); in ltc3676_set_suspend_voltage()
94 struct device *dev = ltc3676->dev; in ltc3676_set_suspend_mode()
96 int dcdc = rdev_get_id(rdev); in ltc3676_set_suspend_mode() local
98 dev_dbg(dev, "%s id=%d mode=%d\n", __func__, dcdc, mode); in ltc3676_set_suspend_mode()
109 dev_warn(&rdev->dev, "%s: regulator mode: 0x%x not supported\n", in ltc3676_set_suspend_mode()
[all …]
Dbcm590xx-regulator.c1 // SPDX-License-Identifier: GPL-2.0-or-later
73 /* DCDC regulator IDs */
118 /* DCDC group CSR: supported voltages in microvolts */
125 /* DCDC group IOSR1: supported voltages in microvolts */
133 /* DCDC group SDSR1: supported voltages in microvolts */
206 return BCM590XX_CSRVOUT1 + (id - BCM590XX_REG_CSR) * 3; in bcm590xx_get_vsel_register()
211 int reg = 0; in bcm590xx_get_enable_register() local
214 reg = BCM590XX_RFLDOPMCTRL1 + id * 2; in bcm590xx_get_enable_register()
216 reg = BCM590XX_GPLDO1PMCTRL1 + id * 2; in bcm590xx_get_enable_register()
220 reg = BCM590XX_CSRPMCTRL1; in bcm590xx_get_enable_register()
[all …]
/kernel/linux/linux-6.6/drivers/regulator/
Dwm831x-dcdc.c1 // SPDX-License-Identifier: GPL-2.0+
3 // wm831x-dcdc.c -- DC-DC buck converter driver for the WM831x series
62 struct wm831x_dcdc *dcdc = rdev_get_drvdata(rdev); in wm831x_dcdc_get_mode() local
63 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_mode()
64 u16 reg = dcdc->base + WM831X_DCDC_ON_CONFIG; in wm831x_dcdc_get_mode() local
67 val = wm831x_reg_read(wm831x, reg); in wm831x_dcdc_get_mode()
84 return -EINVAL; in wm831x_dcdc_get_mode()
88 static int wm831x_dcdc_set_mode_int(struct wm831x *wm831x, int reg, in wm831x_dcdc_set_mode_int() argument
107 return -EINVAL; in wm831x_dcdc_set_mode_int()
110 return wm831x_set_bits(wm831x, reg, WM831X_DC1_ON_MODE_MASK, in wm831x_dcdc_set_mode_int()
[all …]
Dwm8350-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 // wm8350.c -- Voltage and current regulation for the Wolfson WM8350 PMIC
93 /* turn on ISINK followed by DCDC */
101 switch (wm8350->pmic.isink_A_dcdc) { in wm8350_isink_enable()
109 1 << (wm8350->pmic.isink_A_dcdc - in wm8350_isink_enable()
113 return -EINVAL; in wm8350_isink_enable()
117 switch (wm8350->pmic.isink_B_dcdc) { in wm8350_isink_enable()
125 1 << (wm8350->pmic.isink_B_dcdc - in wm8350_isink_enable()
129 return -EINVAL; in wm8350_isink_enable()
133 return -EINVAL; in wm8350_isink_enable()
[all …]
Dltc3676.c1 // SPDX-License-Identifier: GPL-2.0-only
76 struct device *dev = ltc3676->dev; in ltc3676_set_suspend_voltage()
77 int dcdc = rdev_get_id(rdev); in ltc3676_set_suspend_voltage() local
80 dev_dbg(dev, "%s id=%d uV=%d\n", __func__, dcdc, uV); in ltc3676_set_suspend_voltage()
86 return regmap_update_bits(ltc3676->regmap, rdev->desc->vsel_reg + 1, in ltc3676_set_suspend_voltage()
87 rdev->desc->vsel_mask, sel); in ltc3676_set_suspend_voltage()
94 struct device *dev = ltc3676->dev; in ltc3676_set_suspend_mode()
96 int dcdc = rdev_get_id(rdev); in ltc3676_set_suspend_mode() local
98 dev_dbg(dev, "%s id=%d mode=%d\n", __func__, dcdc, mode); in ltc3676_set_suspend_mode()
109 dev_warn(&rdev->dev, "%s: regulator mode: 0x%x not supported\n", in ltc3676_set_suspend_mode()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Drockchip,rk806.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sebastian.reichel@collabora.com>
19 - rockchip,rk806
21 reg:
27 gpio-controller: true
29 '#gpio-cells':
32 vcc1-supply:
34 The input supply for dcdc-reg1.
[all …]
Dactions,atc260x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11 - Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
16 (i.e. regulators and system power-off/reboot) for the ATC2603C and ATC2609A
18 ATC2603C includes 3 programmable DC-DC converters, 9 programmable LDO
20 ATC2609A includes 5 programmable DC-DC converters and 10 programmable LDO
24 - $ref: ../input/input.yaml
29 - actions,atc2603c
[all …]
Dricoh,rn5t618.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Kemnade <andreas@kemnade.info>
14 integrates 3 to 5 step-down DCDC converters, 7 to 10 low-dropout regulators,
16 The RN5T618/RC5T619 provides additionally a Li-ion battery charger,
21 - if:
30 "^(DCDC[1-4]|LDO[1-5]|LDORTC[12])$":
33 - if:
42 "^(DCDC[1-3]|LDO[1-5]|LDORTC[12])$":
[all …]
Dx-powers,axp152.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: X-Powers AXP PMIC
10 - Chen-Yu Tsai <wens@csie.org>
13 - if:
18 - x-powers,axp152
19 - x-powers,axp202
20 - x-powers,axp209
[all …]
Das3711.txt1 AS3711 is an I2C PMIC from Austria MicroSystems with multiple DCDC and LDO power
3 DCDC converters are defined. Other DCDC and LDO supplies are configured, using
4 standard regulator properties, they must belong to a sub-node, called
9 - compatible : must be "ams,as3711"
10 - reg : specifies the I2C address
14 - su1-dev : framebuffer phandle
15 - su1-max-uA : maximum current
19 - su2-dev : framebuffer phandle
20 - su1-max-uA : maximum current
24 - su2-feedback-voltage : voltage feedback is used
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/panel/
Djdi,lt070me05000.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vinay Simha BN <simhavcs@gmail.com>
13 - $ref: panel-common.yaml#
19 enable-gpios: true
20 reg: true
21 reset-gpios: true
23 vddp-supply:
25 The regulator that provides the supply voltage Power IC supply (3-5V)
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/panel/
Djdi,lt070me05000.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vinay Simha BN <simhavcs@gmail.com>
13 - $ref: panel-common.yaml#
19 enable-gpios: true
20 reg: true
21 reset-gpios: true
23 vddp-supply:
25 The regulator that provides the supply voltage Power IC supply (3-5V)
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/
Drk3588-evb1-v10.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
15 compatible = "rockchip,rk3588-evb1-v10", "rockchip,rk3588";
23 stdout-path = "serial2:1500000n8";
27 compatible = "pwm-backlight";
28 power-supply = <&vcc12v_dcin>;
32 vcc12v_dcin: vcc12v-dcin-regulator {
33 compatible = "regulator-fixed";
[all …]
Drk3588-rock-5b.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
10 compatible = "radxa,rock-5b", "rockchip,rk3588";
19 stdout-path = "serial2:1500000n8";
22 analog-sound {
23 compatible = "audio-graph-card";
24 label = "rk3588-es8316";
34 hp-det-gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
35 pinctrl-names = "default";
[all …]
Drk3588s-rock-5a.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
12 compatible = "radxa,rock-5a", "rockchip,rk3588s";
20 analog-sound {
21 compatible = "audio-graph-card";
22 label = "rk3588-es8316";
35 stdout-path = "serial2:1500000n8";
[all …]
Drk3588s-indiedroid-nova.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include <dt-bindings/usb/pd.h>
22 stdout-path = "serial2:1500000n8";
25 sdio_pwrseq: sdio-pwrseq {
26 compatible = "mmc-pwrseq-simple";
27 clock-names = "ext_clock";
29 pinctrl-0 = <&wifi_enable_h>;
[all …]
Drk3588-nanopc-t6.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/pinctrl/rockchip.h>
12 #include <dt-bindings/usb/pd.h>
16 model = "FriendlyElec NanoPC-T6";
17 compatible = "friendlyarm,nanopc-t6", "rockchip,rk3588";
26 stdout-path = "serial2:1500000n8";
30 compatible = "gpio-leds";
32 sys_led: led-0 {
[all …]
Drk3588-edgeble-neu6b.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 compatible = "edgeble,neural-compute-module-6b", "rockchip,rk3588";
13 vcc12v_dcin: vcc12v-dcin-regulator {
14 compatible = "regulator-fixed";
15 regulator-name = "vcc12v_dcin";
16 regulator-always-on;
17 regulator-boot-on;
18 regulator-min-microvolt = <12000000>;
19 regulator-max-microvolt = <12000000>;
22 vcc5v0_sys: vcc5v0-sys-regulator {
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dtps65090.txt4 - compatible: "ti,tps65090"
5 - reg: I2C slave address
6 - interrupts: the interrupt outputs of the controller
7 - regulators: A node that houses a sub-node for each regulator within the
8 device. Each sub-node is identified using the node's name, with valid
9 values listed below. The content of each sub-node is defined by the
11 dcdc[1-3], fet[1-7] and ldo[1-2] respectively.
12 - vsys[1-3]-supply: The input supply for DCDC[1-3] respectively.
13 - infet[1-7]-supply: The input supply for FET[1-7] respectively.
14 - vsys-l[1-2]-supply: The input supply for LDO[1-2] respectively.
[all …]
Dda9210.txt1 * Dialog Semiconductor DA9210 Multi-phase 12A DCDC BUCK Converter
5 - compatible: must be "dlg,da9210"
6 - reg: the i2c slave address of the regulator. It should be 0x68.
10 - interrupts: a reference to the DA9210 interrupt, if available.
13 DCDC.
19 reg = <0x68>;
21 interrupt-parent = <...>;
24 regulator-min-microvolt = <300000>;
25 regulator-max-microvolt = <1570000>;
26 regulator-min-microamp = <1600000>;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Dtps65090.txt4 - compatible: "ti,tps65090"
5 - reg: I2C slave address
6 - interrupts: the interrupt outputs of the controller
7 - regulators: A node that houses a sub-node for each regulator within the
8 device. Each sub-node is identified using the node's name, with valid
9 values listed below. The content of each sub-node is defined by the
11 dcdc[1-3], fet[1-7] and ldo[1-2] respectively.
12 - vsys[1-3]-supply: The input supply for DCDC[1-3] respectively.
13 - infet[1-7]-supply: The input supply for FET[1-7] respectively.
14 - vsys-l[1-2]-supply: The input supply for LDO[1-2] respectively.
[all …]
Dda9210.txt1 * Dialog Semiconductor DA9210 Multi-phase 12A DCDC BUCK Converter
5 - compatible: must be "dlg,da9210"
6 - reg: the i2c slave address of the regulator. It should be 0x68.
10 - interrupts: a reference to the DA9210 interrupt, if available.
13 DCDC.
19 reg = <0x68>;
21 interrupt-parent = <...>;
24 regulator-min-microvolt = <300000>;
25 regulator-max-microvolt = <1570000>;
26 regulator-min-microamp = <1600000>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Das3711.txt1 AS3711 is an I2C PMIC from Austria MicroSystems with multiple DCDC and LDO power
3 DCDC converters are defined. Other DCDC and LDO supplies are configured, using
4 standard regulator properties, they must belong to a sub-node, called
9 - compatible : must be "ams,as3711"
10 - reg : specifies the I2C address
14 - su1-dev : framebuffer phandle
15 - su1-max-uA : maximum current
19 - su2-dev : framebuffer phandle
20 - su1-max-uA : maximum current
24 - su2-feedback-voltage : voltage feedback is used
[all …]

12345