/openbmc/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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | ricoh,rn5t618.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andreas Kemnade <andreas@kemnade.info> 14 integrates 3 to 5 step-down DCDC converters, 7 to 10 low-dropout regulators, 16 The RN5T618/RC5T619 provides additionally a Li-ion battery charger, 21 - if: 30 "^(DCDC[1-4]|LDO[1-5]|LDORTC[12])$": 33 - if: 42 "^(DCDC[1-3]|LDO[1-5]|LDORTC[12])$": [all …]
|
/openbmc/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 …]
|
/openbmc/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> 19 stdout-path = &uart1; 22 gpio_keys: gpio-keys { 23 compatible = "gpio-keys"; 25 key-power { 29 wakeup-source; 32 key-cover { 34 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 | imx6sl-tolino-shine2hd.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Name on mainboard is: 37NB-E60QF0+4A2 or 37NB-E60QF0+4A3 11 /dts-v1/; 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/gpio/gpio.h> 19 compatible = "kobo,tolino-shine2hd", "fsl,imx6sl"; 22 compatible = "pwm-backlight"; 24 power-supply = <&backlight_regulator>; 27 backlight_regulator: regulator-backlight { 28 compatible = "regulator-fixed"; [all …]
|
H A D | imx6q-ba16.dtsi | 2 * Support for imx6 based Advantech DMS-BA16 Qseven module 7 * This file is dual-licensed: you can use it either under the terms 46 #include <dt-bindings/gpio/gpio.h> 55 compatible = "pwm-backlight"; 56 pinctrl-names = "default"; 57 pinctrl-0 = <&pinctrl_display>; 59 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 60 10 11 12 13 14 15 16 17 18 19 85 default-brightness-level = <255>; 86 enable-gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | exynos5250-smdk5250.dts | 12 /dts-v1/; 14 #include <dt-bindings/interrupt-controller/irq.h> 21 i2c0 = "/i2c@12C60000"; 22 i2c1 = "/i2c@12C70000"; 23 i2c2 = "/i2c@12C80000"; 24 i2c3 = "/i2c@12C90000"; 25 i2c4 = "/i2c@12CA0000"; 26 i2c5 = "/i2c@12CB0000"; 27 i2c6 = "/i2c@12CC0000"; 28 i2c7 = "/i2c@12CD0000"; [all …]
|
H A D | exynos5422-odroidxu3.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 9 /dts-v1/; 17 serial0 = "/serial@12C00000"; 18 console = "/serial@12C20000"; 33 adc@12D10000 { 34 u-boot,dm-pre-reloc; 35 vdd-supply = <&ldo4_reg>; 39 i2c@12CA0000 { 41 compatible = "samsung,s2mps11-pmic"; 43 voltage-regulators { [all …]
|
H A D | exynos5250-snow.dts | 12 /dts-v1/; 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/interrupt-controller/irq.h> 15 #include <dt-bindings/input/input.h> 23 i2c0 = "/i2c@12C60000"; 24 i2c1 = "/i2c@12C70000"; 25 i2c2 = "/i2c@12C80000"; 26 i2c3 = "/i2c@12C90000"; 27 i2c4 = "/i2c@12CA0000"; 29 i2c5 = "/i2c@12CB0000"; [all …]
|
H A D | tegra124-cei-tk1-som.dts | 1 /dts-v1/; 6 model = "Colorado Engineering TK1-SOM"; 7 compatible = "nvidia,cei-tk1-som", "nvidia,tegra124"; 10 stdout-path = &uartd; 32 pcie-controller@01003000 { 35 avddio-pex-supply = <&vdd_1v05_run>; 36 dvddio-pex-supply = <&vdd_1v05_run>; 37 avdd-pex-pll-supply = <&vdd_1v05_run>; 38 hvdd-pex-supply = <&vdd_3v3_lp0>; 39 hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>; [all …]
|
H A D | tegra124-jetson-tk1.dts | 1 /dts-v1/; 7 compatible = "nvidia,jetson-tk1", "nvidia,tegra124"; 10 stdout-path = &uartd; 32 pcie-controller@01003000 { 35 avddio-pex-supply = <&vdd_1v05_run>; 36 dvddio-pex-supply = <&vdd_1v05_run>; 37 avdd-pex-pll-supply = <&vdd_1v05_run>; 38 hvdd-pex-supply = <&vdd_3v3_lp0>; 39 hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>; 40 vddio-pex-ctl-supply = <&vdd_3v3_lp0>; [all …]
|
H A D | exynos5250-spring.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/input/input.h> 20 i2c0 = "/i2c@12C60000"; 21 i2c1 = "/i2c@12C70000"; 22 i2c2 = "/i2c@12C80000"; 23 i2c3 = "/i2c@12C90000"; 24 i2c4 = "/i2c@12CA0000"; [all …]
|
/openbmc/u-boot/board/samsung/trats2/ |
H A D | trats2.c | 1 // SPDX-License-Identifier: GPL-2.0+ 26 static unsigned int board_rev = -1; 33 char str[12]; in check_hw_revision() 38 * Don't set as pull-none for these N/C pin. in check_hw_revision() 40 * and pull-none is only for output function. in check_hw_revision() 81 * some pins which in alive block are connected with external pull-up in board_external_gpio_init() 82 * but it's default setting is pull-down. in board_external_gpio_init() 119 * To indicate correct boot chain - those two in exynos_init() 122 writel(0, &pwr->inform4); in exynos_init() 123 writel(0, &pwr->inform5); in exynos_init() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/board/samsung/universal_c210/ |
H A D | universal.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 #include <asm/mach-types.h> 54 writel(channel & 0xF, &adc->adcmux); in get_adc_value() 55 writel((1 << 14) | (49 << 6), &adc->adccon); in get_adc_value() 56 writel(1000 & 0xffff, &adc->adcdly); in get_adc_value() 57 writel(readl(&adc->adccon) | (1 << 16), &adc->adccon); /* 12 bit */ in get_adc_value() 59 writel(readl(&adc->adccon) | (1 << 0), &adc->adccon); /* Enable */ in get_adc_value() 64 reg = readl(&adc->adccon); in get_adc_value() 67 ret = readl(&adc->adcdat0) & 0xFFF; in get_adc_value() 78 ret = pmic_get("max8998-pmic", &dev); in adc_power_control() [all …]
|
/openbmc/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
|
/openbmc/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 */
|