/linux/drivers/mfd/ |
H A D | rohm-bd96801.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 * regulator safety limits (like limits for the over/under -voltages, over 25 * which implements some of the safety limit configurations - but leaves the 40 #include <linux/mfd/rohm-bd96801.h> 41 #include <linux/mfd/rohm-generic.h> 44 DEFINE_RES_IRQ_NAMED(BD96801_OTP_ERR_STAT, "bd96801-otp-err"), 45 DEFINE_RES_IRQ_NAMED(BD96801_DBIST_ERR_STAT, "bd96801-dbist-err"), 46 DEFINE_RES_IRQ_NAMED(BD96801_EEP_ERR_STAT, "bd96801-eep-err"), 47 DEFINE_RES_IRQ_NAMED(BD96801_ABIST_ERR_STAT, "bd96801-abist-err"), 48 DEFINE_RES_IRQ_NAMED(BD96801_PRSTB_ERR_STAT, "bd96801-prstb-err"), [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | palmas-pmic.txt | 11 - compatible : Should be from the list 12 ti,twl6035-pmic 13 ti,twl6036-pmic 14 ti,twl6037-pmic 15 ti,tps65913-pmic 16 ti,tps65914-pmic 17 ti,tps65917-pmic 18 ti,tps659038-pmic 20 ti,palmas-pmic 21 - interrupts : The interrupt number and the type which can be looked up here: [all …]
|
H A D | rohm,bd71847-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71847-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 15 Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml 21 regulator-boot-on at least for BUCK5. LDO6 is supplied by it and it must 23 voltage monitoring for LDO5/LDO6 can cause PMIC to reset. 27 # LDO1, LDO2, LDO3, LDO4, LDO5, LDO6 30 "^LDO[1-6]$": [all …]
|
H A D | rohm,bd71837-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/rohm,bd71837-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 15 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml 21 regulator-boot-on at least for BUCK6 and BUCK7 so that those are not 22 disabled by driver at startup. LDO5 and LDO6 are supplied by those and 23 if they are disabled at startup the voltage monitoring for LDO5/LDO6 will 28 # LDO1, LDO2, LDO3, LDO4, LDO5, LDO6, LDO7 [all …]
|
H A D | regulator-max77620.txt | 3 Device has multiple DCDC(sd[0-3] and LDOs(ldo[0-8]). The input supply 6 sub-node "regulators" which is child node of device node. 14 ------------------- 18 in-sd0-supply: Input supply for SD0, INA-SD0 or INB-SD0 pins. 19 in-sd1-supply: Input supply for SD1. 20 in-sd2-supply: Input supply for SD2. 21 in-sd3-supply: Input supply for SD3. 22 in-ldo0-1-supply: Input supply for LDO0 and LDO1. 23 in-ldo2-supply: Input supply for LDO2. 24 in-ldo3-5-supply: Input supply for LDO3 and LDO5 [all …]
|
H A D | maxim,max77686.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chanwoo Choi <cw00.choi@samsung.com> 11 - Krzysztof Kozlowski <krzk@kernel.org> 17 The Maxim MAX77686 provides high-efficiency Buck and 26 Low-DropOut (LDO) 25 "^LDO([1-9]|1[0-9]|2[3-6])$": 32 LDO2, LDO6-8, LDO10-12, LDO14-16 35 - regulator-name 37 # LDO20-LDO22 with maxim,ena-gpios [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | tps65910.txt | 4 - compatible: "ti,tps65910" or "ti,tps65911" 5 - reg: I2C slave address 6 - interrupts: the interrupt outputs of the controller 7 - #gpio-cells: number of cells to describe a GPIO, this should be 2. 10 - gpio-controller: mark the device as a GPIO controller 11 - #interrupt-cells: the number of cells to describe an IRQ, this should be 2. 14 Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 15 - regulators: This is the list of child nodes that specify the regulator 20 The regulator is matched with the regulator-compatible. 22 The valid regulator-compatible values are: [all …]
|
H A D | rohm,bd71847-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is 18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica… 19 …//www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applic… 24 - rohm,bd71847 25 - rohm,bd71850 [all …]
|
H A D | maxim,max8998.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> 15 sub-blocks. It is interfaced using an I2C interface. Each sub-block is 21 - maxim,max8998 22 - national,lp3974 23 - ti,lp3974 31 - description: Main interrupt 32 - description: Power-on/-off interrupt [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mq-pico-pi.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 9 /dts-v1/; 12 #include <dt-bindings/interrupt-controller/irq.h> 15 model = "TechNexion PICO-PI-8M"; 16 compatible = "technexion,pico-pi-imx8m", "fsl,imx8mq"; 19 stdout-path = &uart1; 22 pmic_osc: clock-pmic { 23 compatible = "fixed-clock"; 24 #clock-cells = <0>; 25 clock-frequency = <32768>; [all …]
|
H A D | imx8mm-ucm-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 /dts-v1/; 8 #include <dt-bindings/leds/common.h> 18 stdout-path = &uart3; 22 compatible = "pwm-backlight"; 24 brightness-levels = <0 255>; 25 num-interpolated-steps = <255>; 26 default-brightness-level = <222>; 31 compatible = "gpio-leds"; 32 pinctrl-names = "default"; [all …]
|
H A D | imx8mq-phanbell.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright 2017-2019 NXP 6 /dts-v1/; 9 #include <dt-bindings/interrupt-controller/irq.h> 13 compatible = "google,imx8mq-phanbell", "fsl,imx8mq"; 16 stdout-path = &uart1; 24 pmic_osc: clock-pmic { 25 compatible = "fixed-clock"; 26 #clock-cells = <0>; 27 clock-frequency = <32768>; [all …]
|
H A D | imx8mn-beacon-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include "imx8mn-overdrive.dtsi" 16 compatible = "mmc-pwrseq-simple"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_usdhc1_gpio>; 19 reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 21 clock-names = "ext_clock"; 22 post-power-on-delay-ms = <80>; 32 cpu-supply = <&buck2_reg>; 36 cpu-supply = <&buck2_reg>; [all …]
|
/linux/drivers/regulator/ |
H A D | max77620-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved. 21 #define max77620_rails(_name) "max77620-"#_name 102 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_get_fps_src() 106 ret = regmap_read(pmic->rmap, rinfo->fps_addr, &val); in max77620_regulator_get_fps_src() 108 dev_err(pmic->dev, "Reg 0x%02x read failed %d\n", in max77620_regulator_get_fps_src() 109 rinfo->fps_addr, ret); in max77620_regulator_get_fps_src() 119 struct max77620_regulator_info *rinfo = pmic->rinfo[id]; in max77620_regulator_set_fps_src() 134 ret = regmap_read(pmic->rmap, rinfo->fps_addr, &val); in max77620_regulator_set_fps_src() 136 dev_err(pmic->dev, "Reg 0x%02x read failed %d\n", in max77620_regulator_set_fps_src() [all …]
|
H A D | stpmic1_regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <dt-bindings/mfd/st,stpmic1.h> 18 * struct stpmic1_regulator_cfg - this structure is used as driver data 48 STPMIC1_LDO5 = 8, 103 REGULATOR_LINEAR_RANGE(1700000, 8, 24, 100000), 109 REGULATOR_LINEAR_RANGE(1700000, 8, 24, 100000), 115 REGULATOR_LINEAR_RANGE(1700000, 8, 24, 100000), 123 REGULATOR_LINEAR_RANGE(1700000, 8, 30, 100000), 422 .desc = REG_LDO(LDO6, ldo6), 467 regmap_read(regmap, rdev->desc->enable_reg, &value); in stpmic1_get_mode() [all …]
|
H A D | da9052-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // da9052-regulator.c: Regulator driver for DA9052 45 #define DA9052_ID_LDO5 8 53 {700000, 800000, 1000000, 1200000}, /* DA9052-BC BUCKs */ 54 {1600000, 2000000, 2400000, 3000000}, /* DA9053-AA/Bx BUCK-CORE */ 55 {800000, 1000000, 1200000, 1500000}, /* DA9053-AA/Bx BUCK-PRO, 56 * BUCK-MEM and BUCK-PERI 77 if (min_uV > info->max_uV || max_uV < info->min_uV) in verify_range() 78 return -EINVAL; in verify_range() 89 ret = da9052_reg_read(regulator->da9052, DA9052_BUCKA_REG + offset/2); in da9052_dcdc_get_current_limit() [all …]
|
H A D | bd718x7-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // bd71837-regulator.c ROHM BD71837MWV/BD71847MWV regulator driver 10 #include <linux/mfd/rohm-bd718x7.h> 51 * controlled by software - or by PMIC internal HW state machine. Whether 52 * regulator should be under SW or HW control can be defined from device-tree. 93 * 11: 1.25mV/usec 10mV 8uS 103 * Note for next hacker - these PMICs have a register where the HW state can be 104 * read. If assuming RUN appears to be false in your use-case - you can 123 ret = regmap_read(rdev->regmap, rdev->desc->enable_reg, &val); in bd71837_get_buck34_enable_hwctrl() 138 * guarantee minimum of 1ms sleep - it shouldn't matter if we in voltage_change_done() [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8195-demo.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/pinctrl/mt8195-pinfunc.h> 14 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> 18 compatible = "mediatek,mt8195-demo", "mediatek,mt8195"; 25 stdout-path = "serial0:921600n8"; 30 compatible = "linaro,optee-tz"; 35 gpio-keys { [all …]
|
/linux/arch/arm/boot/dts/actions/ |
H A D | owl-s500-roseapplepi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright (C) 2020-2021 Cristian Ciocaltea <cristian.ciocaltea@gmail.com> 8 /dts-v1/; 10 #include "owl-s500.dtsi" 22 stdout-path = "serial2:115200n8"; 30 syspwr: regulator-5v0 { 31 compatible = "regulator-fixed"; 32 regulator-name = "SYSPWR"; 33 regulator-min-microvolt = <5000000>; 34 regulator-max-microvolt = <5000000>; [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A 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 …]
|
H A 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 …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap5-board-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 stdout-path = &uart3; 18 vmain: fixedregulator-vmain { 19 compatible = "regulator-fixed"; 20 regulator-name = "vmain"; 21 regulator-min-microvolt = <5000000>; 22 regulator-max-microvolt = <5000000>; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | e70k02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 * found in ebook-readers like the Kobo Clara HD (with i.MX6SLL) and 14 #include <dt-bindings/input/input.h> 23 stdout-path = &uart1; 26 gpio_keys: gpio-keys { 27 compatible = "gpio-keys"; 29 key-power { 33 wakeup-source; 36 key-cover { 40 linux,input-type = <EV_SW>; [all …]
|
H A D | e60k02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 * found in ebook-readers like the Kobo Clara HD (with i.MX6SLL) and 14 #include <dt-bindings/input/input.h> 23 stdout-path = &uart1; 26 gpio_keys: gpio-keys { 27 compatible = "gpio-keys"; 29 key-power { 31 gpios = <&gpio5 8 GPIO_ACTIVE_LOW>; 33 wakeup-source; 36 key-cover { [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm8250-xiaomi-pipa.dts | 1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 6 /dts-v1/; 8 #include <dt-bindings/arm/qcom,ids.h> 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 21 /delete-node/ &adsp_mem; 22 /delete-node/ &cdsp_secure_heap; 23 /delete-node/ &slpi_mem; 24 /delete-node/ &spss_mem; 25 /delete-node/ &xbl_aop_mem; [all …]
|