/linux/Documentation/devicetree/bindings/regulator/ |
H A 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> 22 # 25 LDOs, without LDO10-12 23 "^LDO([1-9]|1[3-9]|2[0-5])$": 31 - regulator-name 33 "^LDO(1[0-2])$": 41 samsung,ext-control-gpios: 44 LDO10, LDO11 and LDO12 can be configured to external control over [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/drivers/regulator/ |
H A D | da9052-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // da9052-regulator.c: Regulator driver for DA9052 49 #define DA9052_ID_LDO9 12 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 | 88pm8607.c | 1 // SPDX-License-Identifier: GPL-2.0-only 210 if (info->slope_double) in pm8607_list_voltage() 260 .vsel_mask = ARRAY_SIZE(vreg##_table) - 1, \ 283 .vsel_mask = (ARRAY_SIZE(LDO##_id##_table) - 1) << (shift), \ 305 PM8607_LDO(10, LDO10, 0, SUPPLIES_EN12, 4), 306 PM8607_LDO(12, LDO12, 0, SUPPLIES_EN12, 5), 317 struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent); in pm8607_regulator_probe() 319 struct regulator_init_data *pdata = dev_get_platdata(&pdev->dev); in pm8607_regulator_probe() 330 if (info->desc.vsel_reg == res->start) in pm8607_regulator_probe() 334 dev_err(&pdev->dev, "Failed to find regulator %llu\n", in pm8607_regulator_probe() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
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 { 33 wakeup-source; 36 key-cover { 38 gpios = <&gpio5 12 GPIO_ACTIVE_LOW>; [all …]
|
H A D | imx6sl-kobo-aura2.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Name on mainboard is: 37NB-E60QL0+4B1 11 /dts-v1/; 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 28 stdout-path = &uart1; 31 gpio_keys: gpio-keys { 32 compatible = "gpio-keys"; 33 pinctrl-names = "default"; [all …]
|
H A D | imx53-ppd.dts | 4 * This file is dual-licensed: you can use it either under the terms 42 /dts-v1/; 45 #include <dt-bindings/input/input.h> 49 compatible = "ge,imx53-cpuvo", "fsl,imx53"; 58 stdout-path = "serial0:115200n8"; 67 cko2_11M: sgtl-clock-cko2 { 68 compatible = "fixed-clock"; 69 #clock-cells = <0>; 70 clock-frequency = <11289600>; 73 achc_24M: achc-clock { [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | pxa910-dkb.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 12 compatible = "mrvl,pxa910-dkb", "mrvl,pxa910"; 34 interrupt-parent = <&intc>; 35 interrupt-controller; 36 #interrupt-cells = <1>; 38 marvell,88pm860x-irq-read-clr; 39 marvell,88pm860x-slave-addr = <0x11>; 43 regulator-min-microvolt = <1000000>; 44 regulator-max-microvolt = <1500000>; [all …]
|
/linux/arch/arm64/boot/dts/hisilicon/ |
H A D | hi6220-hikey.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "hikey-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 16 compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220"; 26 stdout-path = "serial3:115200n8"; 32 * 0x05e0,0000 - 0x05ef,ffff: MCU firmware runtime using 33 * 0x05f0,1000 - 0x05f0,1fff: Reboot reason 34 * 0x06df,f000 - 0x06df,ffff: Mailbox message data 35 * 0x0740,f000 - 0x0740,ffff: MCU firmware section [all …]
|
/linux/include/linux/mfd/wm831x/ |
H A D | regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * linux/mfd/wm831x/regulator.h -- Regulator definitons for wm831x 14 * R16462 (0x404E) - Current Sink 1 26 #define WM831X_CS1_SLPENA_SHIFT 12 /* CS1_SLPENA */ 28 #define WM831X_CS1_OFF_RAMP_MASK 0x0C00 /* CS1_OFF_RAMP - [11:10] */ 29 #define WM831X_CS1_OFF_RAMP_SHIFT 10 /* CS1_OFF_RAMP - [11:10] */ 30 #define WM831X_CS1_OFF_RAMP_WIDTH 2 /* CS1_OFF_RAMP - [11:10] */ 31 #define WM831X_CS1_ON_RAMP_MASK 0x0300 /* CS1_ON_RAMP - [9:8] */ 32 #define WM831X_CS1_ON_RAMP_SHIFT 8 /* CS1_ON_RAMP - [9:8] */ 33 #define WM831X_CS1_ON_RAMP_WIDTH 2 /* CS1_ON_RAMP - [9:8] */ [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
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/drivers/mfd/ |
H A D | max8925-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Marvell International Ltd. 28 .name = "max8925-backlight", 31 .id = -1, 37 .name = "max8925-tsc", 46 .name = "max8925-touch", 49 .id = -1, 55 .name = "max8925-power", 64 .name = "max8925-power", 67 .id = -1, [all …]
|
H A D | 88pm860x-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include <linux/power/charger-manager.h> 136 /* Hook-switch press or release */ 141 {PM8607_IRQ_AUDIO_SHORT, PM8607_IRQ_AUDIO_SHORT, "audio-short", 170 .name = "88pm860x-backlight", 175 .name = "88pm860x-backlight", 180 .name = "88pm860x-backlight", 189 .name = "88pm860x-led", 194 .name = "88pm860x-led", 199 .name = "88pm860x-led", [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm8350-microsoft-surface-duo2.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 19 compatible = "microsoft,surface-duo2", "qcom,sm8350"; 20 chassis-type = "handset"; 27 stdout-path = "serial0:115200n8"; 30 vph_pwr: vph-pwr-regulator { 31 compatible = "regulator-fixed"; 32 regulator-name = "vph_pwr"; 33 regulator-min-microvolt = <3700000>; [all …]
|
H A D | sdm670-google-sargo.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device tree for Google Pixel 3a, adapted from google-blueline device tree, 4 * xiaomi-lavender device tree, and oneplus-common device tree. 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 14 #include <dt-bindings/power/qcom-rpmpd.h> 19 /delete-node/ &mpss_region; 20 /delete-node/ &venus_mem; [all …]
|
H A D | sdm845-sony-xperia-tama.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 15 qcom,msm-id = <321 0x20001>; /* SDM845 v2.1 */ 16 qcom,board-id = <8 0>; 24 stdout-path = "serial0:115200n8"; 27 gpio-keys { 28 compatible = "gpio-keys"; 30 pinctrl-0 = <&focus_n &snapshot_n &vol_down_n &vol_up_n>; [all …]
|
H A D | x1e80100-qcp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include "x1e80100-pmics.dtsi" 16 compatible = "qcom,x1e80100-qcp", "qcom,x1e80100"; 22 wcd938x: audio-codec { 23 compatible = "qcom,wcd9385-codec"; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&wcd_default>; [all …]
|
H A D | sm8550-sony-xperia-yodo-pdx234.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/firmware/qcom,scm.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include <dt-bindings/sound/cs35l45.h> 23 /delete-node/ &hwfence_shbuf; 24 /delete-node/ &mpss_mem; 25 /delete-node/ &rmtfs_mem; [all …]
|
H A D | sdm845-xiaomi-polaris.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include <dt-bindings/input/linux-event-codes.h> 13 #include <dt-bindings/sound/qcom,q6afe.h> 14 #include <dt-bindings/sound/qcom,q6asm.h> 16 #include "sdm845-wcd9340.dtsi" 25 /delete-node/ &rmtfs_mem; [all …]
|
H A D | sc7180-trogdor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include <dt-bindings/sound/sc7180-lpass.h> 16 #include "sc7180-firmware-tfa.dtsi" 22 thermal-zones { 23 charger_thermal: charger-thermal { [all …]
|
/linux/include/linux/mfd/ |
H A D | 88pm860x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 304 #define PM8607_STATUS_VBUS (1 << 12) 452 struct regulator_init_data *ldo10; member
|
/linux/include/linux/mfd/da9052/ |
H A D | reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 36 #define DA9052_IRQ_MASK_C_REG 12 368 /* SEQ CONTROL REGISTER BITS FOR ID 12 AND 13 */ 483 /* LDO10 REGISTER BITS */ 688 /* TSI X CO-ORDINATE MSB RESULT REGISTER BITS */ 691 /* TSI Y CO-ORDINATE MSB RESULT REGISTER BITS */ 694 /* TSI CO-ORDINATE LSB RESULT REGISTER BITS */
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5422-samsung-k3g.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung Galaxy S5 (SM-G900H) device-tree source 8 /dts-v1/; 9 #include <dt-bindings/clock/samsung,s2mps11.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 13 #include "exynos5422-cpus.dtsi" 16 model = "Samsung Galaxy S5 (SM-G900H)"; 20 chassis-type = "handset"; 31 fixed-rate-clocks { [all …]
|
/linux/arch/arm/mach-s3c/ |
H A D | mach-crag6410.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/input-event-codes.h> 33 #include <linux/platform_data/s3c-hsotg.h> 43 #include <asm/mach-types.h> 47 #include "regs-gpio.h" 48 #include "gpio-samsung.h" 53 #include "gpio-cfg.h" 54 #include <linux/platform_data/spi-s3c64xx.h> 59 #include <linux/platform_data/i2c-s3c2410.h> 64 #include "regs-gpio-memport-s3c64xx.h" [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8974pro-samsung-klte-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 #include <dt-bindings/leds/common.h> 9 chassis-type = "handset"; 18 stdout-path = "serial0:115200n8"; 21 gpio-keys { 22 compatible = "gpio-keys"; 24 pinctrl-names = "default"; [all …]
|