| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | tps65132-regulator.txt | 4 - compatible: "ti,tps65132" 5 - reg: I2C slave address 9 device node describe the properties of these regulators. The sub-node 11 -For regulator outp, the sub node name should be "outp". 12 -For regulator outn, the sub node name should be "outn". 14 -enable-gpios:(active high, output) Regulators are controlled by the input pins. 17 -active-discharge-gpios: (active high, output) Some configurations use delay mechanisms 18 on the enable pin, to keep the regulator enabled for some time after 19 the enable signal goes low. This GPIO is used to actively discharge 20 the delay mechanism. Requires specification of ti,active-discharge-time-us [all …]
|
| D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 15 description: A string used as a descriptive name for regulator outputs 18 regulator-min-microvolt: 21 regulator-max-microvolt: [all …]
|
| D | max8973-regulator.txt | 1 * Maxim MAX8973 Voltage Regulator 5 - compatible: must be one of following: 8 - reg: the i2c slave address of the regulator. It should be 0x1b. 10 Any standard regulator properties can be used to configure the single max8973 15 -maxim,externally-enable: boolean, externally control the regulator output 17 -maxim,enable-gpio: GPIO for enable control. If the valid GPIO is provided 19 -maxim,dvs-gpio: GPIO which is connected to DVS pin of device. 20 -maxim,dvs-default-state: Default state of GPIO during initialisation. 22 -maxim,enable-remote-sense: boolean, enable reote sense. 23 -maxim,enable-falling-slew-rate: boolean, enable falling slew rate. [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/regulator/ |
| D | tps65132-regulator.txt | 4 - compatible: "ti,tps65132" 5 - reg: I2C slave address 9 device node describe the properties of these regulators. The sub-node 11 -For regulator outp, the sub node name should be "outp". 12 -For regulator outn, the sub node name should be "outn". 14 -enable-gpios:(active high, output) Regulators are controlled by the input pins. 17 -active-discharge-gpios: (active high, output) Some configurations use delay mechanisms 18 on the enable pin, to keep the regulator enabled for some time after 19 the enable signal goes low. This GPIO is used to actively discharge 20 the delay mechanism. Requires specification of ti,active-discharge-time-us [all …]
|
| D | regulator.txt | 4 - regulator-name: A string used as a descriptive name for regulator outputs 5 - regulator-min-microvolt: smallest voltage consumers may set 6 - regulator-max-microvolt: largest voltage consumers may set 7 - regulator-microvolt-offset: Offset applied to voltages to compensate for voltage drops 8 - regulator-min-microamp: smallest current consumers may set 9 - regulator-max-microamp: largest current consumers may set 10 - regulator-input-current-limit-microamp: maximum input current regulator allows 11 - regulator-always-on: boolean, regulator should never be disabled 12 - regulator-boot-on: bootloader/firmware enabled regulator 13 - regulator-allow-bypass: allow the regulator to go into bypass mode [all …]
|
| D | max8973-regulator.txt | 1 * Maxim MAX8973 Voltage Regulator 5 - compatible: must be one of following: 8 - reg: the i2c slave address of the regulator. It should be 0x1b. 10 Any standard regulator properties can be used to configure the single max8973 15 -maxim,externally-enable: boolean, externally control the regulator output 17 -maxim,enable-gpio: GPIO for enable control. If the valid GPIO is provided 19 -maxim,dvs-gpio: GPIO which is connected to DVS pin of device. 20 -maxim,dvs-default-state: Default state of GPIO during initialisation. 22 -maxim,enable-remote-sense: boolean, enable reote sense. 23 -maxim,enable-falling-slew-rate: boolean, enable falling slew rate. [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | tps65132-regulator.c | 2 * TI TPS65132 Regulator driver 26 #include <linux/regulator/driver.h> 27 #include <linux/regulator/machine.h> 65 struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; in tps65132_regulator_enable() 68 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_enable() 69 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in tps65132_regulator_enable() 70 rpdata->ena_gpio_state = 1; in tps65132_regulator_enable() 73 /* Hardware automatically enable discharge bit in enable */ in tps65132_regulator_enable() 74 if (rdev->constraints->active_discharge == in tps65132_regulator_enable() 78 dev_err(tps->dev, "Failed to disable active discharge: %d\n", in tps65132_regulator_enable() [all …]
|
| D | ab8500-ext.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 7 * This file is based on drivers/regulator/ab8500.c 11 * ab8500-ext supports the following regulators: 12 * - VextSupply3 20 #include <linux/regulator/driver.h> 21 #include <linux/regulator/machine.h> 22 #include <linux/regulator/of_regulator.h> 25 #include <linux/regulator/ab8500.h> 35 REGULATOR_SUPPLY("vcc", "gpio-keys.0"), [all …]
|
| /kernel/linux/linux-4.19/drivers/regulator/ |
| D | tps65132-regulator.c | 2 * TI TPS65132 Regulator driver 26 #include <linux/regulator/driver.h> 27 #include <linux/regulator/machine.h> 68 struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; in tps65132_regulator_enable() 71 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_enable() 72 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in tps65132_regulator_enable() 73 rpdata->ena_gpio_state = 1; in tps65132_regulator_enable() 76 /* Hardware automatically enable discharge bit in enable */ in tps65132_regulator_enable() 77 if (rdev->constraints->active_discharge == in tps65132_regulator_enable() 81 dev_err(tps->dev, "Failed to disable active discharge: %d\n", in tps65132_regulator_enable() [all …]
|
| D | ab8500-ext.c | 2 * Copyright (C) ST-Ericsson SA 2010 8 * This file is based on drivers/regulator/ab8500.c 12 * ab8500-ext supports the following regulators: 13 * - VextSupply3 21 #include <linux/regulator/driver.h> 22 #include <linux/regulator/machine.h> 23 #include <linux/regulator/of_regulator.h> 26 #include <linux/regulator/ab8500.h> 36 REGULATOR_SUPPLY("vcc", "gpio-keys.0"), 38 REGULATOR_SUPPLY("vcc", "2-0029"), [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | stm32mp15xx-dhcor-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved 8 #include "stm32mp15-pinctrl.dtsi" 9 #include "stm32mp15xxac-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/mfd/st,stpmic1.h> 29 pinctrl-names = "default"; 30 pinctrl-0 = <&i2c4_pins_a>; 31 i2c-scl-rising-time-ns = <185>; 32 i2c-scl-falling-time-ns = <20>; [all …]
|
| D | stm32mp15xx-osd32.dtsi | 1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */ 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 7 #include "stm32mp15-pinctrl.dtsi" 9 #include <dt-bindings/mfd/st,stpmic1.h> 12 reserved-memory { 13 #address-cells = <1>; 14 #size-cells = <1>; 18 compatible = "shared-dma-pool"; 20 no-map; 24 compatible = "shared-dma-pool"; [all …]
|
| D | stm32mp157a-stinger96.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include "stm32mp15-pinctrl.dtsi" 10 #include "stm32mp15xxac-pinctrl.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/mfd/st,stpmic1.h> 24 stdout-path = "serial1:115200n8"; 33 compatible = "gpio-leds"; 38 linux,default-trigger = "heartbeat"; 39 default-state = "off"; [all …]
|
| D | tegra30-asus-nexus7-grouper-ti-pmic.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/interrupt-controller/arm-gic.h> 4 #include <dt-bindings/gpio/gpio.h> 13 #interrupt-cells = <2>; 14 interrupt-controller; 16 ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>; 17 ti,system-power-controller; 18 ti,sleep-keep-ck32k; 19 ti,sleep-enable; 21 #gpio-cells = <2>; [all …]
|
| D | stm32mp157c-odyssey-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 10 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15xxac-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/mfd/st,stpmic1.h> 17 model = "Seeed Studio Odyssey-STM32MP157C SOM"; 18 compatible = "seeed,stm32mp157c-odyssey-som", "st,stm32mp157"; 25 reserved-memory { [all …]
|
| D | ste-ux500-samsung-golden.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "ste-db8500.dtsi" 5 #include "ste-ab8505.dtsi" 6 #include "ste-dbx5x0-pinctrl.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 13 * You need an intermediate, device-tree compatible bootloader 16 * There is a port of (mainline) U-Boot, see [all …]
|
| D | stm32mp157c-ed1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 6 /dts-v1/; 10 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15xxaa-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/mfd/st,stpmic1.h> 17 compatible = "st,stm32mp157c-ed1", "st,stm32mp157"; 20 stdout-path = "serial0:115200n8"; 28 reserved-memory { [all …]
|
| D | stm32mp15xx-dhcom-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de> 6 #include "stm32mp15-pinctrl.dtsi" 7 #include "stm32mp15xxaa-pinctrl.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/mfd/st,stpmic1.h> 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; 27 compatible = "shared-dma-pool"; [all …]
|
| /kernel/linux/linux-5.10/include/linux/regulator/ |
| D | machine.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * machine.h -- SoC Regulator support, machine/board driver API. 9 * Regulator Machine/Board Interface. 15 #include <linux/regulator/consumer.h> 18 struct regulator; 21 * Regulator operation constraint flags. These flags are used to enable 22 * certain regulator operations and can be OR'ed together. 24 * VOLTAGE: Regulator output voltage can be changed by software on this 26 * CURRENT: Regulator output current can be changed by software on this 28 * MODE: Regulator operating mode can be changed by software on this [all …]
|
| /kernel/linux/linux-4.19/include/linux/regulator/ |
| D | machine.h | 2 * machine.h -- SoC Regulator support, machine/board driver API. 12 * Regulator Machine/Board Interface. 18 #include <linux/regulator/consumer.h> 21 struct regulator; 24 * Regulator operation constraint flags. These flags are used to enable 25 * certain regulator operations and can be OR'ed together. 27 * VOLTAGE: Regulator output voltage can be changed by software on this 29 * CURRENT: Regulator output current can be changed by software on this 31 * MODE: Regulator operating mode can be changed by software on this 33 * STATUS: Regulator can be enabled and disabled. [all …]
|
| D | driver.h | 2 * driver.h -- SoC Regulator driver support. 12 * Regulator Driver Interface. 22 #include <linux/regulator/consumer.h> 40 /* The regulator is enabled but not regulating */ 47 * struct regulator_linear_range - specify linear voltage ranges 74 * struct regulator_ops - regulator operations. 76 * @enable: Configure the regulator as enabled. 77 * @disable: Configure the regulator as disabled. 78 * @is_enabled: Return 1 if the regulator is enabled, 0 if not. 81 * @set_voltage: Set the voltage for the regulator within the range specified. [all …]
|
| /kernel/linux/linux-5.10/include/linux/mfd/arizona/ |
| D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <dt-bindings/mfd/arizona.h> 12 #include <linux/regulator/arizona-ldo1.h> 13 #include <linux/regulator/arizona-micsupp.h> 36 #define ARIZONA_GPN_FN_MASK 0x007F /* GPN_FN - [6:0] */ 37 #define ARIZONA_GPN_FN_SHIFT 0 /* GPN_FN - [6:0] */ 38 #define ARIZONA_GPN_FN_WIDTH 7 /* GPN_FN - [6:0] */ 61 unsigned int discharge:1; /** Actively discharge */ member 80 /** Regulator configuration for MICVDD */ 83 /** Regulator configuration for LDO1 */ [all …]
|
| /kernel/linux/linux-4.19/include/linux/mfd/arizona/ |
| D | pdata.h | 14 #include <dt-bindings/mfd/arizona.h> 15 #include <linux/regulator/arizona-ldo1.h> 16 #include <linux/regulator/arizona-micsupp.h> 39 #define ARIZONA_GPN_FN_MASK 0x007F /* GPN_FN - [6:0] */ 40 #define ARIZONA_GPN_FN_SHIFT 0 /* GPN_FN - [6:0] */ 41 #define ARIZONA_GPN_FN_WIDTH 7 /* GPN_FN - [6:0] */ 64 unsigned int discharge:1; /** Actively discharge */ member 83 /** Regulator configuration for MICVDD */ 86 /** Regulator configuration for LDO1 */ 92 /** Mode for primary IRQ (defaults to active low) */
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| 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@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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/ |
| D | tegra210-p3450-0000.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/mfd/max77620.h> 12 compatible = "nvidia,p3450-0000", "nvidia,tegra210"; 22 stdout-path = "serial0:115200n8"; 33 avdd-pll-uerefe-supply = <&vdd_pex_1v05>; 34 hvddio-pex-supply = <&vdd_1v8>; 35 dvddio-pex-supply = <&vdd_pex_1v05>; [all …]
|