/linux-6.12.1/drivers/regulator/ |
D | wm831x-ldo.c | 1 // SPDX-License-Identifier: GPL-2.0+ 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() [all …]
|
D | qcom-rpmh-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. 18 #include <soc/qcom/cmd-db.h> 21 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 24 * enum rpmh_regulator_type - supported RPMh accelerator types 26 * and mode of LDO, SMPS, and BOB type PMIC regulators. 68 * struct rpmh_vreg_hw_data - RPMh regulator hardware configurations 79 * for LDO hardware type regulators only. 99 * struct rpmh_vreg - individual RPMh regulator data structure encapsulating a 101 * @dev: Device pointer for the top-level PMIC RPMh [all …]
|
D | wm8994-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // wm8994-regulator.c -- Regulator driver for the WM8994 44 struct wm8994_ldo *ldo = rdev_get_drvdata(rdev); in wm8994_ldo2_list_voltage() local 47 return -EINVAL; in wm8994_ldo2_list_voltage() 49 switch (ldo->wm8994->type) { in wm8994_ldo2_list_voltage() 57 return -EINVAL; in wm8994_ldo2_list_voltage() 63 return -EINVAL; in wm8994_ldo2_list_voltage() 151 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); in wm8994_ldo_probe() 152 struct wm8994_pdata *pdata = dev_get_platdata(wm8994->dev); in wm8994_ldo_probe() 153 int id = pdev->id % ARRAY_SIZE(pdata->ldo); in wm8994_ldo_probe() [all …]
|
D | mt6357-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 9 // Based on mt6397-regulator.c 20 #include <linux/regulator/mt6357-regulator.h> 47 .n_voltages = ((max) - (min)) / (step) + 1, \ 90 .n_voltages = ((max) - (min)) / (step) + 1, \ 120 * mt6357_get_buck_voltage_sel - get_voltage_sel for regmap users 133 ret = regmap_read(rdev->regmap, info->da_vsel_reg, ®val); in mt6357_get_buck_voltage_sel() 135 dev_err(&rdev->dev, in mt6357_get_buck_voltage_sel() 137 info->desc.name, ret); in mt6357_get_buck_voltage_sel() 141 regval &= info->da_vsel_mask; in mt6357_get_buck_voltage_sel() [all …]
|
D | lp8788-ldo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 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() 160 return -EINVAL; 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() [all …]
|
D | mt6331-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // Based on mt6323-regulator.c, 18 #include <linux/regulator/mt6331-regulator.h> 57 .n_voltages = (max - min)/step + 1, \ 212 ret = regmap_read(rdev->regmap, info->desc.enable_reg, ®val); in mt6331_get_status() 214 dev_err(&rdev->dev, "Failed to get enable reg: %d\n", ret); in mt6331_get_status() 218 return (regval & info->qi) ? REGULATOR_STATUS_ON : REGULATOR_STATUS_OFF; in mt6331_get_status() 234 return -EINVAL; in mt6331_ldo_set_mode() 237 val <<= ffs(info->modeset_mask) - 1; in mt6331_ldo_set_mode() 239 return regmap_update_bits(rdev->regmap, info->modeset_reg, in mt6331_ldo_set_mode() [all …]
|
D | lp3972.c | 1 // SPDX-License-Identifier: GPL-2.0-only 64 /* LDO output enable mask */ 146 /* LDO voltage control registers shift: 147 LP3972_LDO1 -> 0, LP3972_LDO2 -> 4 148 LP3972_LDO3 -> 0, LP3972_LDO4 -> 4 149 LP3972_LDO5 -> 0 169 return -EIO; in lp3972_i2c_read() 182 return -EIO; in lp3972_i2c_write() 190 mutex_lock(&lp3972->io_lock); in lp3972_reg_read() 192 lp3972_i2c_read(lp3972->i2c, reg, 1, &val); in lp3972_reg_read() [all …]
|
D | atc260x-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 51 return data->voltage_time_dcdc; in atc260x_dcdc_set_voltage_time_sel() 63 return data->voltage_time_ldo; in atc260x_ldo_set_voltage_time_sel() 152 * in the vendor's driver implementation (xapp-le-kernel). 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), \ [all …]
|
D | qcom_spmi-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. 8 #include <linux/devm-helpers.h> 57 * struct spmi_regulator_init_data - spmi-regulator initialization data 297 /* LDO regulator current limit control register layout */ 300 /* LDO regulator soft start control register layout */ 365 * struct spmi_voltage_range - regulator set point voltage mapping description 380 * (max_uV - min_uV) % step_uV == 0 381 * (set_point_min_uV - min_uV) % step_uV == 0* 382 * (set_point_max_uV - min_uV) % step_uV == 0* [all …]
|
D | ti-abb-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2012-2013 Texas Instruments, Inc. 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 34 * struct ti_abb_info - ABB information per voltage setting 47 * struct ti_abb_reg - Register description for ABB block 50 * @sr2_wtcnt_value_mask: setup register- sr2_wtcnt_value mask 51 * @fbb_sel_mask: setup register- FBB sel mask [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/regulator/ |
D | max8925-regulator.txt | 4 -nodes: 5 - SDV1 for SDV SDV1 6 - SDV2 for SDV SDV2 7 - SDV3 for SDV SDV3 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 [all …]
|
D | mediatek,mt6331-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/mediatek,mt6331-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 13 The MT6331 PMIC provides 6 BUCK and 21 LDO (Low Dropout) regulators 15 buck-<name> and ldo-<name>. 19 "^buck-v(core2|io18|dvfs11|dvfs12|dvfs13|dvfs14)$": 24 regulator-name: 29 "^ldo-v(avdd32aud|auxa32)$": [all …]
|
D | mediatek,mt6357-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/mediatek,mt6357-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen Zhong <chen.zhong@mediatek.com> 11 - Fabien Parent <fabien.parent@linaro.org> 12 - Alexandre Mergnat <amergnat@baylibre.com> 15 The MT6357 PMIC provides 5 BUCK and 29 LDO. 17 - buck-<name> 18 - ldo-<name>. [all …]
|
D | mt6380-regulator.txt | 5 to its regulator type, buck-<name> and ldo-<name>. The definition for each 11 buck-core1, buck-vcore, buck-vrf 12 LDO: 13 ldo-vm ,ldo-va , ldo-vphy, ldo-vddr, ldo-vt 18 compatible = "mediatek,mt6380-regulator"; 20 mt6380_vcpu_reg: buck-vcore1 { 21 regulator-name = "vcore1"; 22 regulator-min-microvolt = < 600000>; 23 regulator-max-microvolt = <1393750>; 24 regulator-ramp-delay = <6250>; [all …]
|
D | ti-abb-regulator.txt | 1 Adaptive Body Bias(ABB) SoC internal LDO regulator for Texas Instruments SoCs 4 - compatible: Should be one of: 5 - "ti,abb-v1" for older SoCs like OMAP3 6 - "ti,abb-v2" for newer SoCs like OMAP4, OMAP5 7 - "ti,abb-v3" for a generic definition where setup and control registers are 9 - reg: Address and length of the register set for the device. It contains 10 the information of registers in the same order as described by reg-names 11 - reg-names: Should contain the reg names 12 - "base-address" - contains base address of ABB module (ti,abb-v1,ti,abb-v2) 13 - "control-address" - contains control register address of ABB module (ti,abb-v3) [all …]
|
D | mediatek,mt6332-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/mediatek,mt6332-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 13 The MT6332 Companion PMIC provides 6 BUCK and 4 LDO (Low Dropout) 15 buck-<name> and ldo-<name>. 19 "^buck-v(dram|dvfs2|pa|rf18a|rf18b|sbst)$": 24 regulator-name: 29 "^ldo-v(bif28|dig18|sram|usb33)$": [all …]
|
D | samsung,s2mps14.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 16 The S2MPS14 provides buck and LDO regulators. 22 # 25 LDOs, without LDO10-12 23 "^LDO([1-9]|1[3-9]|2[0-5])$": 28 Properties for single LDO regulator. 31 - regulator-name 33 "^LDO(1[0-2])$": [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/mediatek/ |
D | mt6357.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <dt-bindings/input/input.h> 14 compatible = "mediatek,mt6357-auxadc"; 15 #io-channel-cells = <1>; 19 mt6357_vproc_reg: buck-vproc { 20 regulator-name = "vproc"; 21 regulator-min-microvolt = <518750>; 22 regulator-max-microvolt = <1312500>; 23 regulator-ramp-delay = <6250>; 24 regulator-enable-ramp-delay = <220>; [all …]
|
D | mt6331.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/input/input.h> 11 interrupt-controller; 12 #interrupt-cells = <2>; 15 compatible = "mediatek,mt6331-regulator"; 17 mt6331_vdvfs11_reg: buck-vdvfs11 { 18 regulator-name = "vdvfs11"; 19 regulator-min-microvolt = <700000>; 20 regulator-max-microvolt = <1493750>; 21 regulator-ramp-delay = <12500>; [all …]
|
/linux-6.12.1/arch/parisc/kernel/ |
D | hpmc.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright (C) 1999 Hewlett-Packard (Frank Rowand) 7 * Copyright (C) 2000 Hewlett-Packard (John Marvin) 47 #define hpmc_stack toc_stack /* re-use the TOC stack */ 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 */ 151 stw %r4,-52(sp) 155 ldo R%PA(os_hpmc_2)(rp), rp [all …]
|
D | head.S | 5 * Copyright (C) 1999-2007 by Helge Deller <deller@gmx.de> 12 * Initial Version 04-23-1999 by Helge Deller <deller@gmx.de> 15 #include <asm/asm-offsets.h> 49 /* Make sure sr4-sr7 are set to zero for the kernel address space */ 74 /* check for 64-bit capable CPU as required by current kernel */ 83 ldi msg1_end-msg1,%arg1 94 stw %r1,-52(%sp) // arg4 95 stw %r0,-56(%sp) // arg5 96 stw %r10,-60(%sp) // arg6 = ptr to text 97 stw %r11,-64(%sp) // arg7 = len [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | actions,atc260x.yaml | 1 # 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 19 regulators and 1 fixed LDO regulator. 20 ATC2609A includes 5 programmable DC-DC converters and 10 programmable LDO 24 - $ref: /schemas/input/input.yaml [all …]
|
D | stericsson,ab8500.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson Analog Baseband AB8500 and AB8505 10 - Linus Walleij <linus.walleij@linaro.org> 13 the AB8500 "Analog Baseband" is the mixed-signals integrated circuit 14 handling power management (regulators), analog-to-digital conversion 15 (ADC), battery charging, fuel gauging of the battery, battery-backed 16 RTC, PWM, USB PHY and some GPIO lines in the ST-Ericsson U8500 platforms 21 USB charging handling has changed, and it has an embedded USB-to-serial [all …]
|
/linux-6.12.1/arch/parisc/lib/ |
D | lusercopy.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 2000-2002 Hewlett-Packard (John Marvin) 6 * Copyright (C) 2000 Richard Hirst <rhirst with parisc-linux.org> 8 * Copyright (C) 2003 Randolph Chung <tausq with parisc-linux.org> 40 addib,<> -1,%r25,$lclu_loop 48 ldo 1(%r25),%r25 58 * - sr1 already contains space of source region 59 * - sr2 already contains space of destination region 62 * - number of bytes that could not be copied. 65 * This code is based on a C-implementation of a copy routine written by [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | cs35l33.txt | 5 - compatible : "cirrus,cs35l33" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : gpio used to reset the amplifier 17 - interrupts : IRQ line info CS35L33. 18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is 26 - cirrus,ramp-rate : On power up, it affects the time from when the power 27 up sequence begins to the time the audio reaches a full-scale output. 28 On power down, it affects the time from when the power-down sequence [all …]
|