/Linux-v6.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 78 * for LDO hardware type regulators only. 97 * struct rpmh_vreg - individual RPMh regulator data structure encapsulating a 99 * @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 | 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 | 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 | 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+ 50 return data->voltage_time_dcdc; in atc260x_dcdc_set_voltage_time_sel() 62 return data->voltage_time_ldo; in atc260x_ldo_set_voltage_time_sel() 151 * in the vendor's driver implementation (xapp-le-kernel). 226 .name = "LDO"#num, \ 227 .supply_name = "ldo"#num, \ 228 .of_match = of_match_ptr("ldo"#num), \ 245 .name = "LDO"#num, \ 246 .supply_name = "ldo"#num, \ 247 .of_match = of_match_ptr("ldo"#num), \ [all …]
|
D | ti-abb-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2012-2013 Texas Instruments, Inc. 25 * ABB LDO operating states: 26 * NOMINAL_OPP: bypasses the ABB LDO 27 * FAST_OPP: sets ABB LDO to Forward Body-Bias 28 * SLOW_OPP: sets ABB LDO to Reverse Body-Bias 35 * struct ti_abb_info - ABB information per voltage setting 48 * struct ti_abb_reg - Register description for ABB block 51 * @sr2_wtcnt_value_mask: setup register- sr2_wtcnt_value mask 52 * @fbb_sel_mask: setup register- FBB sel mask [all …]
|
D | lp3971.c | 1 // SPDX-License-Identifier: GPL-2.0-only 40 LP3971_BUCK1 -> 0 41 LP3971_BUCK2 -> 4 42 LP3971_BUCK3 -> 6 77 LP3971_LDO1 -> LP3971_LDO_VOL_CONTR_BASE + 0 78 LP3971_LDO2 -> LP3971_LDO_VOL_CONTR_BASE + 0 79 LP3971_LDO3 -> LP3971_LDO_VOL_CONTR_BASE + 1 80 LP3971_LDO4 -> LP3971_LDO_VOL_CONTR_BASE + 1 81 LP3971_LDO5 -> LP3971_LDO_VOL_CONTR_BASE + 2 86 LP3971_LDO1 -> 0, LP3971_LDO2 -> 4 [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 65 They provide two I2C-controlled DC/DC step-down converters with 85 tristate "Active-semi act8865 voltage regulator" 90 This driver controls a active-semi act8865 voltage output 94 tristate "Active-semi ACT8945A voltage regulator" 97 This driver controls a active-semi ACT8945A voltage regulator 98 via I2C bus. The ACT8945A features three step-down DC/DC converters 99 and four low-dropout linear regulators, along with a ActivePath 110 tristate "Freescale i.MX on-chip ANATOP LDO regulators" [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/regulator/ |
D | twl-regulator.txt | 5 - compatible: 6 - "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 [all …]
|
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 | 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 …]
|
/Linux-v6.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 /* This 32-bit kernel was compiled for PA2.0 CPUs. Check current CPU 84 ldi msg1_end-msg1,%arg1 95 stw %r1,-52(%sp) // arg4 96 stw %r0,-56(%sp) // arg5 97 stw %r10,-60(%sp) // arg6 = ptr to text 98 stw %r11,-64(%sp) // arg7 = len [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/allwinner/ |
D | axp803.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 interrupt-controller; 11 #interrupt-cells = <1>; 13 ac_power_supply: ac-power { 14 compatible = "x-powers,axp803-ac-power-supply", 15 "x-powers,axp813-ac-power-supply"; 20 compatible = "x-powers,axp803-adc", "x-powers,axp813-adc"; 21 #io-channel-cells = <1>; 25 compatible = "x-powers,axp803-gpio", "x-powers,axp813-gpio"; 26 gpio-controller; [all …]
|
/Linux-v6.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: ../input/input.yaml [all …]
|
D | st,stpmic1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - pascal Paillet <p.paillet@foss.st.com> 24 "#interrupt-cells": 27 interrupt-controller: true 36 const: st,stpmic1-onkey 40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic 41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic 43 interrupt-names: [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-v6.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-v6.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 …]
|