/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | samsung,s5m8767.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> 14 Management IC (PMIC). 17 and current regulators, RTC, clock outputs and other sub-blocks. 21 const: samsung,s5m8767-pmic 39 s5m8767,pmic-buck2-dvs-voltage: 40 $ref: /schemas/types.yaml#/definitions/uint32-array 44 A set of 8 voltage values in micro-volt (uV) units for buck2 when [all …]
|
H A D | max8998.txt | 1 * Maxim MAX8998, National/TI LP3974 multi-function device 3 The Maxim MAX8998 is a multi-function device which includes voltage/current 5 other sub-blocks. It is interfaced using an I2C interface. Each sub-block 8 PMIC sub-block 9 -------------- 11 The PMIC sub-block contains a number of voltage and current regulators, 17 - compatible: Should be one of the following: 18 - "maxim,max8998" for Maxim MAX8998 19 - "national,lp3974" or "ti,lp3974" for National/TI LP3974. 20 - reg: Specifies the i2c slave address of the pmic block. It should be 0x66. [all …]
|
H A D | rohm,bd9576-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd9576-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 powering the R-Car series processors. 21 - rohm,bd9576 22 - rohm,bd9573 32 rohm,vout1-en-low: 35 controlled by a GPIO. This is dictated by state of vout1-en pin during [all …]
|
H A D | ti,tps6594.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Julien Panis <jpanis@baylibre.com> 15 PFSM (Pre-configurable Finite State Machine) managing the state of the device. 16 TPS6594 is the super-set device while TPS6593 and LP8764 are derivatives. 21 - ti,lp8764-q1 22 - ti,tps6593-q1 23 - ti,tps6594-q1 29 ti,primary-pmic: [all …]
|
H A D | qcom,spmi-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SPMI PMICs multi-function device 13 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes 14 each. A function can consume one or more of these fixed-size register regions. 24 - Stephen Boyd <sboyd@kernel.org> 29 - pattern: '^pmic@.*$' 30 - pattern: '^pm(a|s)?[0-9]*@.*$' [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | maxim,max8997.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 motor driver, flash LED driver and Micro-USB Interface Controller. 22 const: maxim,max8997-pmic 24 charger-supply: 30 - description: irq1 interrupt 31 - description: alert interrupt 33 max8997,pmic-buck1-dvs-voltage: [all …]
|
H A D | da9211.txt | 5 - compatible: "dlg,da9211" or "dlg,da9212" or "dlg,da9213" or "dlg,da9223" 7 - reg: I2C slave address, usually 0x68. 8 - interrupts: the interrupt outputs of the controller 9 - regulators: A node that houses a sub-node for each regulator within the 10 device. Each sub-node is identified using the node's name, with valid 11 values listed below. The content of each sub-node is defined by the 16 - enable-gpios: platform gpio for control of BUCKA/BUCKB. 17 - Any optional property defined in regulator.txt 18 - regulator-initial-mode and regulator-allowed-modes may be specified using 19 mode values from dt-bindings/regulator/dlg,da9211-regulator.h [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | hi655x-pmic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device driver for MFD hi655x PMIC 16 #include <linux/mfd/hi655x-pmic.h> 18 #include <linux/gpio/consumer.h> 35 .name = "hi655x-pmic", 48 .max_register = HI655X_BUS_ADDR(0x400) - HI655X_STRIDE, 72 .name = "hi65xx-powerkey", 76 { .name = "hi655x-regulator", }, 77 { .name = "hi655x-clk", }, 94 struct hi655x_pmic *pmic; in hi655x_pmic_probe() local [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 necessary for using the board's GPIO and MFGPT functionality. 31 accessing the external gpio extender (LEDs & buttons) and 45 tristate "Active-semi ACT8945A" 50 Support for the ACT8945A PMIC from Active-semi. This device 51 features three step-down DC/DC converters and four low-dropout 67 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 70 called sun4i-gpadc. 79 Support for the AS3711 PMIC from AMS 101 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down [all …]
|
/openbmc/u-boot/drivers/power/pmic/ |
H A D | as3722_gpio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 #include <asm/gpio.h> 10 #include <power/pmic.h> 14 int as3722_gpio_configure(struct udevice *pmic, unsigned int gpio, in as3722_gpio_configure() argument 26 err = pmic_reg_write(pmic, AS3722_GPIO_CONTROL(gpio), value); in as3722_gpio_configure() 28 pr_err("failed to configure GPIO#%u: %d\n", gpio, err); in as3722_gpio_configure() 35 static int as3722_gpio_set_value(struct udevice *dev, unsigned int gpio, in as3722_gpio_set_value() argument 38 struct udevice *pmic = dev_get_parent(dev); in as3722_gpio_set_value() local 43 if (gpio >= NUM_GPIOS) in as3722_gpio_set_value() 44 return -EINVAL; in as3722_gpio_set_value() [all …]
|
/openbmc/u-boot/test/dm/ |
H A D | spmi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <power/pmic.h> 15 #include <asm/gpio.h> 27 ut_asserteq_str(name, bus->name); in dm_test_spmi_probe() 51 struct udevice *bus, *pmic; in dm_test_spmi_access() local 55 ut_assertok(device_get_child(bus, 0, &pmic)); in dm_test_spmi_access() 57 /* Sanity check if it's proper PMIC */ in dm_test_spmi_access() 58 ut_asserteq_str(pmic_name, pmic->name); in dm_test_spmi_access() 60 /* Read PMIC ID reg using SPMI bus - it assumes it has slaveID == 0*/ in dm_test_spmi_access() 64 /* Read ID reg via pmic interface */ in dm_test_spmi_access() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sa8540p-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 11 pmm8540a: pmic@0 { 12 compatible = "qcom,pm8150", "qcom,spmi-pmic"; 14 #address-cells = <1>; 15 #size-cells = <0>; 18 compatible = "qcom,pm8941-rtc"; 20 reg-names = "rtc", "alarm"; 22 wakeup-source; [all …]
|
H A D | sc8280xp-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 11 thermal-zones { 12 pm8280_1_thermal: pm8280-1-thermal { 13 polling-delay-passive = <100>; 14 polling-delay = <0>; 15 thermal-sensors = <&pm8280_1_temp_alarm>; 32 pm8280_2_thermal: pm8280-2-thermal { [all …]
|
H A D | pm8550vs.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/spmi/spmi.h> 10 thermal-zones { 11 pm8550vs-c-thermal { 12 polling-delay-passive = <100>; 13 polling-delay = <0>; 15 thermal-sensors = <&pm8550vs_c_temp_alarm>; 32 pm8550vs-d-thermal { 33 polling-delay-passive = <100>; [all …]
|
H A D | sc8180x-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2023, Linaro Limited 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/iio/qcom,spmi-vadc.h> 13 thermal-zones { 14 pmc8180-thermal { 15 polling-delay-passive = <100>; [all …]
|
H A D | sa8775p-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/spmi/spmi.h> 10 thermal-zones { 11 pmm8654au_0_thermal: pm8775-0-thermal { 12 polling-delay-passive = <100>; 13 polling-delay = <0>; 14 thermal-sensors = <&pmm8654au_0_temp_alarm>; 31 pmm8654au_1_thermal: pm8775-1-thermal { 32 polling-delay-passive = <100>; [all …]
|
H A D | pm8005.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 #include <dt-bindings/spmi/spmi.h> 5 #include <dt-bindings/interrupt-controller/irq.h> 8 pm8005_lsid0: pmic@4 { 9 compatible = "qcom,pm8005", "qcom,spmi-pmic"; 11 #address-cells = <1>; 12 #size-cells = <0>; 14 pm8005_gpios: gpio@c000 { 15 compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; 17 gpio-controller; [all …]
|
H A D | pm8009.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/spmi/spmi.h> 10 pmic@a { 11 compatible = "qcom,pm8009", "qcom,spmi-pmic"; 13 #address-cells = <1>; 14 #size-cells = <0>; 17 compatible = "qcom,pm8916-pon"; 21 pm8009_gpios: gpio@c000 { 22 compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; [all …]
|
H A D | pmi8994.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/interrupt-controller/irq.h> 3 #include <dt-bindings/spmi/spmi.h> 7 pmic@2 { 8 compatible = "qcom,pmi8994", "qcom,spmi-pmic"; 10 #address-cells = <1>; 11 #size-cells = <0>; 13 pmi8994_gpios: gpio@c000 { 14 compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio"; 16 gpio-controller; [all …]
|
H A D | pmr735d.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/spmi/spmi.h> 10 thermal-zones { 11 pmr735d-k-thermal { 12 polling-delay-passive = <100>; 13 polling-delay = <0>; 15 thermal-sensors = <&pmr735d_k_temp_alarm>; 32 pmr735d-l-thermal { 33 polling-delay-passive = <100>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | qcom,pmic-mpp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,pmic-mpp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PMIC Multi-Purpose Pin (MPP) block 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 14 PMIC's from Qualcomm. 19 - items: 20 - enum: 21 - qcom,pm8019-mpp [all …]
|
H A D | qcom,pmic-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,pmic-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PMIC GPIO block 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 13 This binding describes the GPIO block(s) found in the 8xxx series of 14 PMIC's from Qualcomm. 19 - enum: 20 - qcom,pm2250-gpio [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 35 bool "AMD GPIO pin control" 44 The driver for memory mapped GPIO functionality on AMD platforms 47 for GPIO use. 53 tristate "Apple SoC GPIO pin controller driver" 62 This is the driver for the GPIO controller found on Apple ARM SoCs, 66 will be called pinctrl-apple-gpio. 69 bool "Axis ARTPEC-6 pin controller driver" 74 This is the driver for the Axis ARTPEC-6 pin controller. This driver 77 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/gpio/ |
H A D | pm8916_gpio.txt | 1 Driver for part of pm8916 PMIC - gpio and power/reset keys 3 This device should be child of SPMI pmic. 5 1) GPIO driver 8 - compatible: "qcom,pm8916-gpio" 9 - reg: peripheral ID, size of register block 10 - gpio-controller 11 - gpio-count: number of GPIOs 12 - #gpio-cells: 2 15 - gpio-bank-name: name of bank (as default "pm8916" is used) 20 compatible = "qcom,pm8916-gpio"; [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 host USB ports. Many of 30-pin connectors including PDMI are 25 tristate "X-Power AXP288 EXTCON support" 30 and USB MUX switching by X-Power AXP288 PMIC. 45 tristate "GPIO extcon support" 48 Say Y here to enable GPIO based extcon support. Note that GPIO 62 tristate "Intel Cherrytrail Whiskey Cove PMIC extcon driver" 69 on the Intel Cherrytrail Whiskey Cove PMIC. 72 tristate "Intel Merrifield Basin Cove PMIC extcon driver" 76 on the Intel Merrifield Basin Cove PMIC. [all …]
|