Home
last modified time | relevance | path

Searched full:ldo (Results 1 – 25 of 273) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/drivers/regulator/
Dwm831x-ldo.c3 // wm831x-ldo.c -- LDO driver for the WM831x series
47 struct wm831x_ldo *ldo = data; in wm831x_ldo_uv_irq() local
49 regulator_notifier_call_chain(ldo->regulator, in wm831x_ldo_uv_irq()
68 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_gp_ldo_set_suspend_voltage() local
69 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_set_suspend_voltage()
70 int sel, reg = ldo->base + WM831X_LDO_SLEEP_CONTROL; in wm831x_gp_ldo_set_suspend_voltage()
81 struct wm831x_ldo *ldo = rdev_get_drvdata(rdev); in wm831x_gp_ldo_get_mode() local
82 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_get_mode()
83 int ctrl_reg = ldo->base + WM831X_LDO_CONTROL; in wm831x_gp_ldo_get_mode()
84 int on_reg = ldo->base + WM831X_LDO_ON_CONTROL; in wm831x_gp_ldo_get_mode()
[all …]
Dwm8994-regulator.c44 struct wm8994_ldo *ldo = rdev_get_drvdata(rdev); in wm8994_ldo2_list_voltage() local
49 switch (ldo->wm8994->type) { in wm8994_ldo2_list_voltage()
153 int id = pdev->id % ARRAY_SIZE(pdata->ldo); in wm8994_ldo_probe()
155 struct wm8994_ldo *ldo; in wm8994_ldo_probe() local
159 dev_dbg(&pdev->dev, "Probing LDO%d\n", id + 1); in wm8994_ldo_probe()
161 ldo = devm_kzalloc(&pdev->dev, sizeof(struct wm8994_ldo), GFP_KERNEL); in wm8994_ldo_probe()
162 if (!ldo) in wm8994_ldo_probe()
165 ldo->wm8994 = wm8994; in wm8994_ldo_probe()
166 ldo->supply = wm8994_ldo_consumer[id]; in wm8994_ldo_probe()
167 ldo->supply.dev_name = dev_name(wm8994->dev); in wm8994_ldo_probe()
[all …]
Dqcom-rpmh-regulator.c26 * and mode of LDO, SMPS, and BOB type PMIC regulators.
78 * for LDO hardware type regulators only.
141 * "ldo%s1" for RPMh resource "ldoa1".
775 RPMH_VREG("ldo1", "ldo%s1", &pmic4_nldo, "vdd-l1-l27"),
776 RPMH_VREG("ldo2", "ldo%s2", &pmic4_nldo, "vdd-l2-l8-l17"),
777 RPMH_VREG("ldo3", "ldo%s3", &pmic4_nldo, "vdd-l3-l11"),
778 RPMH_VREG("ldo4", "ldo%s4", &pmic4_nldo, "vdd-l4-l5"),
779 RPMH_VREG("ldo5", "ldo%s5", &pmic4_nldo, "vdd-l4-l5"),
780 RPMH_VREG("ldo6", "ldo%s6", &pmic4_pldo, "vdd-l6"),
781 RPMH_VREG("ldo7", "ldo%s7", &pmic4_pldo_lv, "vdd-l7-l12-l14-l15"),
[all …]
Dlp8788-ldo.c3 * TI LP8788 MFD - ldo regulator driver
155 struct lp8788_ldo *ldo = rdev_get_drvdata(rdev); in lp8788_ldo_enable_time() local
159 if (lp8788_read_byte(ldo->lp, addr, &val)) in lp8788_ldo_enable_time()
462 struct lp8788_ldo *ldo, in lp8788_config_ldo_enable_mode() argument
465 struct lp8788 *lp = ldo->lp; in lp8788_config_ldo_enable_mode()
505 ldo->ena_gpiod = gpiod_get_index_optional(&pdev->dev, in lp8788_config_ldo_enable_mode()
510 if (IS_ERR(ldo->ena_gpiod)) in lp8788_config_ldo_enable_mode()
511 return PTR_ERR(ldo->ena_gpiod); in lp8788_config_ldo_enable_mode()
513 /* if no GPIO for ldo pin, then set default enable mode */ in lp8788_config_ldo_enable_mode()
514 if (!ldo->ena_gpiod) in lp8788_config_ldo_enable_mode()
[all …]
Dlp3972.c64 /* LDO output enable mask */
146 /* LDO voltage control registers shift:
224 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_is_enabled() local
225 u16 mask = LP3972_LDO_OUTPUT_ENABLE_MASK(ldo); in lp3972_ldo_is_enabled()
228 val = lp3972_reg_read(lp3972, LP3972_LDO_OUTPUT_ENABLE_REG(ldo)); in lp3972_ldo_is_enabled()
235 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_enable() local
236 u16 mask = LP3972_LDO_OUTPUT_ENABLE_MASK(ldo); in lp3972_ldo_enable()
238 return lp3972_set_bits(lp3972, LP3972_LDO_OUTPUT_ENABLE_REG(ldo), in lp3972_ldo_enable()
245 int ldo = rdev_get_id(dev) - LP3972_LDO1; in lp3972_ldo_disable() local
246 u16 mask = LP3972_LDO_OUTPUT_ENABLE_MASK(ldo); in lp3972_ldo_disable()
[all …]
Dqcom_spmi-regulator.c263 /* LDO regulator current limit control register layout */
266 /* LDO regulator soft start control register layout */
1458 SPMI_VREG(LDO, N300, 0, INF, LDO, ldo, nldo1, 10000),
1459 SPMI_VREG(LDO, N600, 0, 0, LDO, ldo, nldo2, 10000),
1460 SPMI_VREG(LDO, N1200, 0, 0, LDO, ldo, nldo2, 10000),
1461 SPMI_VREG(LDO, N600, 1, INF, LDO, ldo, nldo3, 10000),
1462 SPMI_VREG(LDO, N1200, 1, INF, LDO, ldo, nldo3, 10000),
1463 SPMI_VREG(LDO, N600_ST, 0, 0, LDO, ldo, nldo2, 10000),
1464 SPMI_VREG(LDO, N1200_ST, 0, 0, LDO, ldo, nldo2, 10000),
1465 SPMI_VREG(LDO, N600_ST, 1, INF, LDO, ldo, nldo3, 10000),
[all …]
Dti-abb-regulator.c33 * ABB LDO operating states:
34 * NOMINAL_OPP: bypasses the ABB LDO
35 * FAST_OPP: sets ABB LDO to Forward Body-Bias
36 * SLOW_OPP: sets ABB LDO to Reverse Body-Bias
93 * @ldovbb_override_mask: mask to ldo_base for overriding default LDO VBB
98 * @settling_time: SoC specific settling time for LDO VBB
240 * ti_abb_set_opp() - Setup ABB and LDO VBB for required bias
269 /* program next state of ABB ldo */ in ti_abb_set_opp()
273 * program LDO VBB vset override if needed for !bypass mode in ti_abb_set_opp()
274 * XXX: Do not switch sequence - for !bypass, LDO override reset *must* in ti_abb_set_opp()
[all …]
Dlp3971.c109 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_is_enabled() local
110 u16 mask = 1 << (1 + ldo); in lp3971_ldo_is_enabled()
120 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_enable() local
121 u16 mask = 1 << (1 + ldo); in lp3971_ldo_enable()
129 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_disable() local
130 u16 mask = 1 << (1 + ldo); in lp3971_ldo_disable()
138 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_get_voltage_sel() local
141 reg = lp3971_reg_read(lp3971, LP3971_LDO_VOL_CONTR_REG(ldo)); in lp3971_ldo_get_voltage_sel()
142 val = (reg >> LDO_VOL_CONTR_SHIFT(ldo)) & LDO_VOL_CONTR_MASK; in lp3971_ldo_get_voltage_sel()
151 int ldo = rdev_get_id(dev) - LP3971_LDO1; in lp3971_ldo_set_voltage_sel() local
[all …]
DKconfig110 tristate "Freescale i.MX on-chip ANATOP LDO regulators"
171 controllable DCDC/LDO regulators.
186 controllable LDO/Switching regulators.
194 and LDO regulators.
206 and LDO regulators.
218 and LDO regulators.
357 and four LDO outputs.
452 provides two step-down converters and two general-purpose LDO
500 The MAX14577 regulators include safeout LDO and charger current
526 power rails and an LDO.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dtwl-regulator.txt6 - "ti,twl6030-vaux1" for VAUX1 LDO
7 - "ti,twl6030-vaux2" for VAUX2 LDO
8 - "ti,twl6030-vaux3" for VAUX3 LDO
9 - "ti,twl6030-vmmc" for VMMC LDO
10 - "ti,twl6030-vpp" for VPP LDO
11 - "ti,twl6030-vusim" for VUSIM LDO
12 - "ti,twl6030-vana" for VANA LDO
13 - "ti,twl6030-vcxio" for VCXIO LDO
14 - "ti,twl6030-vdac" for VDAC LDO
15 - "ti,twl6030-vusb" for VUSB LDO
[all …]
Dmax8925-regulator.txt8 - LDO1 for LDO LDO1
9 - LDO2 for LDO LDO2
10 - LDO3 for LDO LDO3
11 - LDO4 for LDO LDO4
12 - LDO5 for LDO LDO5
13 - LDO6 for LDO LDO6
14 - LDO7 for LDO LDO7
15 - LDO8 for LDO LDO8
16 - LDO9 for LDO LDO9
17 - LDO10 for LDO LDO10
[all …]
Dmt6380-regulator.txt5 to its regulator type, buck-<name> and ldo-<name>. The definition for each
12 LDO:
13 ldo-vm ,ldo-va , ldo-vphy, ldo-vddr, ldo-vt
45 mt6380_vm_reg: ldo-vm {
54 mt6380_va_reg: ldo-va {
63 mt6380_vphy_reg: ldo-vphy {
72 mt6380_vddr_reg: ldo-vddr {
81 mt6380_vt_reg: ldo-vt {
Dti-abb-regulator.txt1 Adaptive Body Bias(ABB) SoC internal LDO regulator for Texas Instruments SoCs
26 indicating LDO tranxdone (operation complete).
48 - "ldo-address" - Contains address of ABB LDO override register.
50 - ti,ldovbb-vset-mask - Required if ldo-address is set, mask for LDO override
52 - ti,ldovbb-override-mask - Required if ldo-address is set, mask for LDO
65 Vset value efuse Mask: Mandatory if ldo-address is set. Picks up from
66 efuse the value to set in 'ti,ldovbb-vset-mask' at ldo-address.
88 Example #2: Efuse bits contain ABB mode setting (no LDO override capability)
109 Example #3: Efuse bits contain ABB mode setting and LDO override capability
118 "efuse-address", "ldo-address";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Daxp20x.txt89 LDO1 : LDO : acin-supply : always on
90 LDO2 : LDO : ldo24in-supply : shared supply
91 LDO3 : LDO : ldo3in-supply
92 LDO4 : LDO : ldo24in-supply : shared supply
93 LDO5 : LDO : ldo5in-supply
105 DC5LDO : LDO : : input from DCDC5
106 ALDO1 : LDO : aldoin-supply : shared supply
107 ALDO2 : LDO : aldoin-supply : shared supply
108 ALDO3 : LDO : aldoin-supply : shared supply
109 DLDO1 : LDO : dldoin-supply : shared supply
[all …]
Dst,stpmic1.yaml92 - ldo1 for LDO LDO1
93 - ldo2 for LDO LDO2
94 - ldo3 for LDO LDO3
95 - ldo4 for LDO LDO4
96 - ldo5 for LDO LDO5
97 - ldo6 for LDO LDO6
98 - vref_ddr for LDO Vref DDR
187 "^(buck[1-4]|ldo[1-6]|boost|pwr_sw[1-2])-supply$":
190 "^(buck[1-4]|ldo[1-6]|boost|vref_ddr|pwr_sw[1-2])$":
193 "^ldo[1-2,5-6]$":
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dhpmc.S120 ldo 128(sp),sp /* leave room for arguments */
133 ldo 4(%r4),%r4
148 ldo PDC_PIM(%r0), arg0
149 ldo PDC_PIM_HPMC(%r0),arg1 /* Transfer HPMC data */
157 ldo R%PA(os_hpmc_2)(rp), rp
164 ldo PDC_IO(%r0),arg0
165 ldo 0(%r0),arg1 /* log IO errors */
166 ldo 0(%r0),arg2 /* reserved */
167 ldo 0(%r0),arg3 /* reserved */
172 ldo R%PA(os_hpmc_3)(rp),rp
[all …]
Dsyscall.S143 ldo THREAD_SZ_ALGN+FRAME_SIZE(%r30),%r30 /* set up kernel stack */
190 ldo TASK_PT_FR0(%r1), %r27 /* save fpregs from the kernel */
199 ldo -16(%r30),%r29 /* Reference param save area */
222 ldo R%sys_call_table(%r1), %r19
224 ldo R%sys_call_table64(%r1), %r19
243 ldo R%syscall_exit(%r2),%r2
248 ldo R%syscall_exit_rfi(%r2),%r2
259 ldo -ENOSYS(%r0),%r28 /* set errno */
275 ldo -THREAD_SZ_ALGN-FRAME_SIZE(%r30),%r1 /* get task ptr */
295 ldo 4(%r2),%r2
[all …]
Dhead.S122 ldo (PxD_FLAG_PRESENT+PxD_FLAG_VALID)(%r3),%r3
124 ldo ASM_PMD_ENTRY*ASM_PMD_ENTRY_SIZE(%r5),%r4
127 ldo ASM_PGD_ENTRY*ASM_PGD_ENTRY_SIZE(%r4),%r4
133 ldo (PxD_FLAG_PRESENT+PxD_FLAG_VALID)(%r3),%r3
139 ldo (PAGE_SIZE >> PxD_VALUE_SHIFT)(%r3),%r3
142 ldo ASM_PMD_ENTRY_SIZE(%r4),%r4
144 ldo ASM_PGD_ENTRY_SIZE(%r4),%r4
150 ldo 0+_PAGE_KERNEL_RWX(%r0),%r3 /* Hardwired 0 phys addr start */
156 ldo (1<<PFN_PTE_SHIFT)(%r3),%r3 /* add one PFN */
171 ldo THREAD_SZ_ALGN(%r6),%sp
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/allwinner/
Daxp803.dtsi29 gpio0_ldo: gpio0-ldo {
31 function = "ldo";
34 gpio1_ldo: gpio1-ldo {
36 function = "ldo";
126 reg_ldo_io0: ldo-io0 {
127 regulator-name = "ldo-io0";
131 reg_ldo_io1: ldo-io1 {
132 regulator-name = "ldo-io1";
136 reg_rtc_ldo: rtc-ldo {
141 regulator-name = "rtc-ldo";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dcs35l33.txt61 - cirrus,ldo-thld : Configures the signal threshold at which the PWM output
62 stage enters LDO operation. Starts as a default value of 50mV for a value
66 - cirrus,ldo-path-disable : This is a boolean property. If present, the H/G
67 algorithm uses the max detection path. If not present, the LDO
70 - cirrus,ldo-entry-delay : The LDO entry delay in milliseconds before the H/G
71 algorithm switches to the LDO voltage. This property can be set to values
116 cirrus,ldo-thld = <0x1>;
117 cirrus,ldo-path-disable = <0x0>;
118 cirrus,ldo-entry-delay=<0x4>;
/kernel/linux/linux-5.10/arch/parisc/lib/
Dlusercopy.S64 ldo 1(%r25),%r25
93 ldo 1(%r26),%r26 /* special case for N == 0 */
184 ldo -1(len),len
196 ldo 16(src),src
201 ldo 16(src),src
215 ldo -32(len),len
222 ldo -4(len),len
236 ldo -1(len),len
251 ldo 16(src),src
265 ldo -16(len),len
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Daxp81x.dtsi66 gpio0_ldo: gpio0-ldo {
68 function = "ldo";
71 gpio1_ldo: gpio1-ldo {
73 function = "ldo";
146 reg_ldo_io0: ldo-io0 {
153 reg_ldo_io1: ldo-io1 {
160 reg_rtc_ldo: rtc-ldo {
Dste-ab8505.dtsi222 // supply for v-intcore12; VINTCORE12 LDO
228 // supply for gpadc; ADC LDO
232 // supply for ab8500-vaudio; VAUDIO LDO
236 // supply for v-anamic1 VAMIC1 LDO
240 // supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1
244 // supply for v-aux8; VAUX8 LDO
248 // supply for U8500 CSI/DSI; VANA LDO
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/
Dmt6380.dtsi41 mt6380_vm_reg: ldo-vm {
50 mt6380_va_reg: ldo-va {
59 mt6380_vphy_reg: ldo-vphy {
68 mt6380_vddr_reg: ldo-vddr {
77 mt6380_vt_reg: ldo-vt {
/kernel/linux/linux-5.10/include/linux/mfd/
Dab3100.h70 * and a buck converter, further the LDO E and buck converter can
108 * the order of these constraints are: LDO A, C, D, E,
111 * plus two sleep settings for LDO E and the BUCK converter.
113 * Order: LDO A, C, E, E sleep, F, G, H, K, EXT, BUCK,
114 * BUCK sleep, LDO D. (LDO D need to be initialized last.)

1234567891011