Home
last modified time | relevance | path

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

12345678910>>...14

/linux/drivers/regulator/
H A 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 …]
H A Dqcom-rpmh-regulator.c26 * and mode of LDO, SMPS, and BOB type PMIC regulators.
79 * for LDO hardware type regulators only.
143 * "ldo%s1" for RPMh resource "ldoa1".
940 RPMH_VREG("ldo1", "ldo%s1", &pmic4_nldo, "vdd-l1-l27"),
941 RPMH_VREG("ldo2", "ldo%s2", &pmic4_nldo, "vdd-l2-l8-l17"),
942 RPMH_VREG("ldo3", "ldo%s3", &pmic4_nldo, "vdd-l3-l11"),
943 RPMH_VREG("ldo4", "ldo%s4", &pmic4_nldo, "vdd-l4-l5"),
944 RPMH_VREG("ldo5", "ldo%s5", &pmic4_nldo, "vdd-l4-l5"),
945 RPMH_VREG("ldo6", "ldo%s6", &pmic4_pldo, "vdd-l6"),
946 RPMH_VREG("ldo7", "ldo
[all...]
H A 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 …]
H A Dmt6357-regulator.c356 MT6357_LDO("ldo-vcama", VCAMA, vcama_voltages,
358 MT6357_LDO("ldo-vcamd", VCAMD, vcamd_voltages,
360 MT6357_LDO("ldo-vcn33-bt", VCN33_BT, vcn33_voltages,
362 MT6357_LDO("ldo-vcn33-wifi", VCN33_WIFI, vcn33_voltages,
364 MT6357_LDO("ldo-vdram", VDRAM, vdram_voltages,
366 MT6357_LDO("ldo-vefuse", VEFUSE, vefuse_voltages,
368 MT6357_LDO("ldo-vemc", VEMC, vemc_voltages,
370 MT6357_LDO("ldo-vibr", VIBR, vibr_voltages,
372 MT6357_LDO("ldo-vldo28", VLDO28, vldo28_voltages,
374 MT6357_LDO("ldo
[all...]
H A 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 …]
H A Dmt6331-regulator.c359 MT6331_REG_FIXED("ldo-vrtc", VRTC, MT6331_DIGLDO_CON11, 8, 15, 2800000, 0, 0),
360 MT6331_REG_FIXED("ldo-vtcxo1", VTCXO1, MT6331_ANALDO_CON1, 10, 15, 2800000,
362 MT6331_REG_FIXED("ldo-vtcxo2", VTCXO2, MT6331_ANALDO_CON2, 10, 15, 2800000,
364 MT6331_REG_FIXED("ldo-vsram", VSRAM_DVFS1, MT6331_SYSLDO_CON4, 10, 15, 1012500,
366 MT6331_REG_FIXED("ldo-vio28", VIO28, MT6331_DIGLDO_CON1, 10, 15, 2800000,
368 MT6331_LDO("ldo-avdd32aud", AVDD32_AUD, ldo_volt_table1, MT6331_ANALDO_CON3, 10,
370 MT6331_LDO("ldo-vauxa32", VAUXA32, ldo_volt_table1, MT6331_ANALDO_CON4, 10,
372 MT6331_LDO("ldo-vemc33", VEMC33, ldo_volt_table6, MT6331_DIGLDO_CON5, 10,
374 MT6331_LDO("ldo-vibr", VIBR, ldo_volt_table3, MT6331_DIGLDO_CON12, 10,
376 MT6331_LDO("ldo-vmc", VMC, ldo_volt_table5, MT6331_DIGLDO_CON3, 10,
[all …]
H A Datc260x-regulator.c227 .name = "LDO"#num, \
228 .supply_name = "ldo"#num, \
229 .of_match = of_match_ptr("ldo"#num), \
246 .name = "LDO"#num, \
247 .supply_name = "ldo"#num, \
248 .of_match = of_match_ptr("ldo"#num), \
263 .name = "LDO"#num, \
264 .supply_name = "ldo"#num, \
265 .of_match = of_match_ptr("ldo"#num), \
377 .name = "LDO"#num, \
[all …]
H A 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 …]
H A Dqcom_spmi-regulator.c297 /* LDO regulator current limit control register layout */
300 /* LDO regulator soft start control register layout */
1585 SPMI_VREG(LDO, HT_P600, 0, INF, HFS430, hfs430, ht_p600, 10000),
1586 SPMI_VREG(LDO, HT_P150, 0, INF, HFS430, hfs430, ht_p150, 10000),
1590 SPMI_VREG(LDO, N300, 0, INF, LDO, ldo, nldo1, 10000),
1591 SPMI_VREG(LDO, N600, 0, 0, LDO, ldo, nldo
[all...]
H A Dti-abb-regulator.c24 * ABB LDO operating states:
25 * NOMINAL_OPP: bypasses the ABB LDO
26 * FAST_OPP: sets ABB LDO to Forward Body-Bias
27 * SLOW_OPP: sets ABB LDO to Reverse Body-Bias
84 * @ldovbb_override_mask: mask to ldo_base for overriding default LDO VBB
89 * @settling_time: SoC specific settling time for LDO VBB
231 * ti_abb_set_opp() - Setup ABB and LDO VBB for required bias
260 /* program next state of ABB ldo */ in ti_abb_set_opp()
264 * program LDO VBB vset override if needed for !bypass mode in ti_abb_set_opp()
265 * XXX: Do not switch sequence - for !bypass, LDO override reset *must* in ti_abb_set_opp()
[all …]
H A 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 …]
/linux/Documentation/devicetree/bindings/regulator/
H A 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 …]
H A Dmediatek,mt6331-regulator.yaml13 The MT6331 PMIC provides 6 BUCK and 21 LDO (Low Dropout) regulators
15 buck-<name> and ldo-<name>.
29 "^ldo-v(avdd32aud|auxa32)$":
39 "^ldo-v(dig18|emc33|ibr|mc|mch|mipi|rtc|sram|usb10)$":
49 "^ldo-vcam(a|af|d|io)$":
59 "^ldo-vtcxo[12]$":
72 "^ldo-vgp[1234]$":
139 mt6331_vtcxo1_reg: ldo-vtcxo1 {
146 mt6331_vtcxo2_reg: ldo-vtcxo2 {
153 mt6331_avdd32_aud_reg: ldo-avdd32aud {
[all …]
H A Dmediatek,mt6357-regulator.yaml15 The MT6357 PMIC provides 5 BUCK and 29 LDO.
18 - ldo-<name>.
34 "^ldo-v(camio18|aud28|aux18|io18|io28|rf12|rf18|cn18|cn28|fe28)$":
39 Properties for single fixed LDO regulator.
46 "^ldo-v(efuse|ibr|ldo28|mch|cama|camd|cn33-bt|cn33-wifi)$":
51 Properties for single LDO regulator.
58 "^ldo-v(xo22|emc|mc|sim1|sim2|sram-others|sram-proc|dram|usb33)$":
63 Properties for single LDO regulator.
114 mt6357_vfe28_reg: ldo-vfe28 {
121 mt6357_vxo22_reg: ldo-vxo22 {
[all …]
H A 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 {
H A 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";
H A Dmediatek,mt6332-regulator.yaml13 The MT6332 Companion PMIC provides 6 BUCK and 4 LDO (Low Dropout)
15 buck-<name> and ldo-<name>.
29 "^ldo-v(bif28|dig18|sram|usb33)$":
83 mt6332_vauxb32_reg: ldo-vauxb32 {
88 mt6332_vbif28_reg: ldo-vbif28 {
93 mt6332_vdig18_reg: ldo-vdig18 {
99 mt6332_vsram_reg: ldo-vsram {
105 mt6332_vusb33_reg: ldo-vusb33 {
H A Dsamsung,s2mps14.yaml16 The S2MPS14 provides buck and LDO regulators.
23 "^LDO([1-9]|1[3-9]|2[0-5])$":
28 Properties for single LDO regulator.
33 "^LDO(1[0-2])$":
38 Properties for single LDO regulator.
H A Drichtek,rt5190a-regulator.yaml14 synchronous buck converters, 1 LDO, I2C control interface and peripheral
41 description: phandle to ldo input voltage
57 "^buck[1-4]$|^ldo$":
61 regulator description for buck1 to buck4, and ldo.
133 ldo {
134 regulator-name = "rt5190a-ldo";
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt6331.dtsi77 mt6331_vtcxo1_reg: ldo-vtcxo1 {
86 mt6331_vtcxo2_reg: ldo-vtcxo2 {
95 mt6331_avdd32_aud_reg: ldo-avdd32aud {
104 mt6331_vauxa32_reg: ldo-vauxa32 {
111 mt6331_vcama_reg: ldo-vcama {
118 mt6331_vio28_reg: ldo-vio28 {
127 mt6331_vcamaf_reg: ldo-vcamaf {
134 mt6331_vmc_reg: ldo-vmc {
141 mt6331_vmch_reg: ldo-vmch {
148 mt6331_vemc33_reg: ldo-vemc33 {
[all …]
/linux/arch/parisc/kernel/
H A Dhpmc.S118 ldo 128(sp),sp /* leave room for arguments */
131 ldo 4(%r4),%r4
146 ldo PDC_PIM(%r0), arg0
147 ldo PDC_PIM_HPMC(%r0),arg1 /* Transfer HPMC data */
155 ldo R%PA(os_hpmc_2)(rp), rp
162 ldo PDC_IO(%r0),arg0
163 ldo 0(%r0),arg1 /* log IO errors */
164 ldo 0(%r0),arg2 /* reserved */
165 ldo 0(%r0),arg3 /* reserved */
170 ldo R%PA(os_hpmc_3)(rp),rp
[all …]
H A 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 */
248 ldo 2f-1b(%rp),%rp
[all …]
/linux/arch/parisc/lib/
H A Dlusercopy.S48 ldo 1(%r25),%r25
134 ldo -1(len),len
146 ldo 16(src),src
151 ldo 16(src),src
165 ldo -32(len),len
172 ldo -4(len),len
186 ldo -1(len),len
201 ldo 16(src),src
215 ldo -16(len),len
221 ldo 1(src),src
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A 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>;
/linux/arch/arm64/boot/dts/allwinner/
H A Daxp803.dtsi116 reg_ldo_io0: ldo-io0 {
117 regulator-name = "ldo-io0";
121 reg_ldo_io1: ldo-io1 {
122 regulator-name = "ldo-io1";
126 reg_rtc_ldo: rtc-ldo {
131 regulator-name = "rtc-ldo";

12345678910>>...14