| /linux/drivers/regulator/ |
| H A D | wm831x-ldo.c | 3 // 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 D | wm8994-regulator.c | 44 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 D | mt6357-regulator.c | 356 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-vmc", VMC, vmc_voltages, [all …]
|
| H A D | lp8788-ldo.c | 3 * 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 D | mt6331-regulator.c | 359 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 D | atc260x-regulator.c | 227 .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 D | lp3972.c | 64 /* 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 D | qcom_spmi-regulator.c | 297 /* LDO regulator current limit control register layout */ 300 /* LDO regulator soft start control register layout */ 1588 SPMI_VREG(LDO, HT_P600, 0, INF, HFS430, hfs430, ht_p600, 10000), 1589 SPMI_VREG(LDO, HT_P150, 0, INF, HFS430, hfs430, ht_p150, 10000), 1593 SPMI_VREG(LDO, N300, 0, INF, LDO, ldo, nldo1, 10000), 1594 SPMI_VREG(LDO, N600, 0, 0, LDO, ldo, nldo2, 10000), 1595 SPMI_VREG(LDO, N1200, 0, 0, LDO, ldo, nldo2, 10000), 1596 SPMI_VREG(LDO, N600, 1, INF, LDO, ldo, nldo3, 10000), 1597 SPMI_VREG(LDO, N1200, 1, INF, LDO, ldo, nldo3, 10000), 1598 SPMI_VREG(LDO, N600_ST, 0, 0, LDO, ldo, nldo2, 10000), [all …]
|
| H A D | ti-abb-regulator.c | 24 * 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 D | lp3971.c | 109 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 …]
|
| H A D | s2mps11.c | 293 /* Below LDO should be always on or does not support suspend mode. */ in s2mps11_regulator_set_suspend_disable() 763 /* ops for S2MPG1x LDO regulators without ramp control */ 785 /* ops for S2MPG1x LDO regulators that have ramp control */ 812 .name = "ldo" _name, \ 814 .of_match = of_match_ptr("ldo" _name), \ 853 /* standard LDO via LxM_CTRL */ 861 /* standard LDO but possibly GPIO controlled */ 870 /* LDO with ramp support and possibly GPIO controlled */ 899 /* voltage range for s2mpg10 LDO 1, 11, 12 */ 902 /* voltage range for s2mpg10 LDO 2, 4, 9, 14, 18, 19, 20, 23, 25, 29, 30, 31 */ [all …]
|
| H A D | Kconfig | 137 tristate "Freescale i.MX on-chip ANATOP LDO regulators" 198 controllable DCDC/LDO regulators. 206 controllable DCDC/LDO regulators. 229 controllable LDO/Switching regulators. 238 and LDO regulators and a current regulator for LEDs. 250 support for the software controllable buck and LDO regulators. 262 and LDO regulators. 295 and LDO regulators. 441 and four LDO outputs. 555 provides two step-down converters and two general-purpose LDO [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | max8925-regulator.txt | 8 - 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 D | mediatek,mt6357-regulator.yaml | 15 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 { 120 mt6357_vxo22_reg: ldo-vxo22 { [all …]
|
| H A D | mt6380-regulator.txt | 5 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 D | ti-abb-regulator.txt | 1 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 D | samsung,s2mps14.yaml | 16 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.
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt6357.dtsi | 62 mt6357_vfe28_reg: ldo-vfe28 { 69 mt6357_vxo22_reg: ldo-vxo22 { 76 mt6357_vrf18_reg: ldo-vrf18 { 83 mt6357_vrf12_reg: ldo-vrf12 { 90 mt6357_vefuse_reg: ldo-vefuse { 97 mt6357_vcn33_bt_reg: ldo-vcn33-bt { 104 mt6357_vcn33_wifi_reg: ldo-vcn33-wifi { 111 mt6357_vcn28_reg: ldo-vcn28 { 118 mt6357_vcn18_reg: ldo-vcn18 { 125 mt6357_vcama_reg: ldo-vcama { [all …]
|
| /linux/arch/parisc/kernel/ |
| H A D | hpmc.S | 118 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 D | head.S | 123 ldo (PxD_FLAG_PRESENT+PxD_FLAG_VALID)(%r3),%r3 125 ldo ASM_PMD_ENTRY*ASM_PMD_ENTRY_SIZE(%r5),%r4 128 ldo ASM_PGD_ENTRY*ASM_PGD_ENTRY_SIZE(%r4),%r4 134 ldo (PxD_FLAG_PRESENT+PxD_FLAG_VALID)(%r3),%r3 140 ldo (PAGE_SIZE >> PxD_VALUE_SHIFT)(%r3),%r3 143 ldo ASM_PMD_ENTRY_SIZE(%r4),%r4 145 ldo ASM_PGD_ENTRY_SIZE(%r4),%r4 151 ldo 0+_PAGE_KERNEL_RWX(%r0),%r3 /* Hardwired 0 phys addr start */ 161 ldo (1<<PFN_PTE_SHIFT)(%r3),%r3 /* add one PFN */ 253 ldo 2f-1b(%rp),%rp [all …]
|
| H A D | syscall.S | 56 ldo TASK_PAGEFAULT_DISABLED(\reg2), \reg2 58 ldo 1(\reg1), \reg1 64 ldo TASK_PAGEFAULT_DISABLED(\reg2), \reg2 66 ldo -1(\reg1), \reg1 171 ldo FRAME_SIZE(%r30),%r30 216 ldo TASK_PT_FR0(%r1), %r27 /* save fpregs from the kernel */ 225 ldo -16(%r30),%r29 /* Reference param save area */ 248 ldo R%sys_call_table(%r1), %r19 250 ldo R%sys_call_table64(%r1), %r19 269 ldo R%syscall_exit(%r2),%r2 [all …]
|
| /linux/arch/parisc/lib/ |
| H A D | lusercopy.S | 48 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 D | cs35l33.txt | 61 - 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/Documentation/devicetree/bindings/mfd/ |
| H A D | stericsson,ab8500.yaml | 340 description: The voltage for the auxiliary LDO regulator 1 346 description: The voltage for the auxiliary LDO regulator 2 352 description: The voltage for the auxiliary LDO regulator 3 358 description: The voltage for the auxiliary LDO regulator 4 365 description: The voltage for the auxiliary LDO regulator 5 372 description: The voltage for the auxiliary LDO regulator 6 381 description: The voltage for the auxiliary LDO regulator 8 388 description: The LDO regulator for the internal core voltage 411 description: The LDO regulator for the audio codec output 417 description: The LDO regulator for the analog microphone 1 [all …]
|
| /linux/arch/arm64/boot/dts/allwinner/ |
| H A D | axp803.dtsi | 116 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";
|