/openbmc/linux/Documentation/devicetree/bindings/spmi/ |
H A D | hisilicon,hisi-spmi-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spmi/hisilicon,hisi-spmi-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: HiSilicon SPMI controller 10 - Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 13 The HiSilicon SPMI BUS controller is found on some Kirin-based designs. 14 It is a MIPI System Power Management (SPMI) controller. 16 The PMIC part is provided by 17 Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml. [all …]
|
H A D | qcom,spmi-pmic-arb.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/spmi/qcom,spmi-pmic-arb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SPMI Controller (PMIC Arbiter) 10 - Stephen Boyd <sboyd@kernel.org> 13 The SPMI PMIC Arbiter is found on Snapdragon chipsets. It is an SPMI 14 controller with wrapping arbitration logic to allow for multiple on-chip 15 devices to control a single SPMI master. 17 The PMIC Arbiter can also act as an interrupt controller, providing interrupts [all …]
|
/openbmc/linux/drivers/spmi/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # SPMI driver configuration 5 menuconfig SPMI config 6 tristate "SPMI support" 8 SPMI (System Power Management Interface) is a two-wire 10 and Power Management Integrated Circuits (PMIC). 12 if SPMI 15 tristate "Hisilicon 3670 SPMI Controller" 20 built-in SPMI PMIC Arbiter interface on Hisilicon 3670 24 tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)" [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
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 | 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 | 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>; 15 compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; 17 gpio-controller; 18 gpio-ranges = <&pm8005_gpios 0 0 4>; [all …]
|
H A D | pm6150.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/thermal/thermal.h> 13 thermal-zones { 14 pm6150_thermal: pm6150-thermal { 15 polling-delay-passive = <100>; 17 thermal-sensors = <&pm6150_temp>; [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"; 22 compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; 24 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 …]
|
H A D | pmi8950.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/iio/qcom,spmi-vadc.h> 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include <dt-bindings/spmi/spmi.h> 9 pmic@2 { 10 compatible = "qcom,pmi8950", "qcom,spmi-pmic"; 12 #address-cells = <1>; 13 #size-cells = <0>; 16 compatible = "qcom,spmi-vadc"; 19 #address-cells = <1>; [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>; 14 compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio"; 16 gpio-controller; 17 gpio-ranges = <&pmi8994_gpios 0 0 10>; [all …]
|
H A D | pm8150l.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/iio/qcom,spmi-vadc.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 12 thermal-zones { 13 pm8150l-thermal { 14 polling-delay-passive = <100>; 15 polling-delay = <0>; 17 thermal-sensors = <&pm8150l_temp>; [all …]
|
H A D | pm6150l.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 11 thermal-zones { 12 pm6150l-thermal { 13 thermal-sensors = <&pm6150l_temp>; 39 pm6150l_lsid4: pmic@4 { 40 compatible = "qcom,pm6150l", "qcom,spmi-pmic"; 42 #address-cells = <1>; [all …]
|
H A D | pm8004.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/interrupt-controller/irq.h> 3 #include <dt-bindings/spmi/spmi.h> 7 pm8004_lsid4: pmic@4 { 8 compatible = "qcom,pm8004", "qcom,spmi-pmic"; 10 #address-cells = <1>; 11 #size-cells = <0>; 14 pm8004_lsid5: pmic@5 { 15 compatible = "qcom,pm8004", "qcom,spmi-pmic"; 17 #address-cells = <1>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
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 11 to the chip via the SPMI (System Power Management Interface) bus. 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. 16 The Qualcomm SPMI series includes the PM8941, PM8841, PMA8084, PM8998 and other 17 PMICs. These PMICs use a "QPNP" scheme through SPMI interface. [all …]
|
H A D | hisilicon,hi6421-spmi-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/hisilicon,hi6421-spmi-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: HiSilicon 6421v600 SPMI PMIC 10 - Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 14 (SPMI) bus. It provides interrupts and power supply. 16 The GPIO and interrupt settings are represented as part of the top-level PMIC 19 The SPMI controller part is provided by 20 Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | qcom-spmi-pmic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/spmi.h> 15 #include <soc/qcom/qcom-spmi-pmic.h> 30 struct qcom_spmi_pmic pmic; member 67 { .compatible = "qcom,spmi-pmic", .data = N_USIDS(1) }, 72 * A PMIC can be represented by multiple SPMI devices, but 73 * only the base PMIC device will contain a reference to 76 * This function takes a pointer to a pmic device and 77 * returns a pointer to the base PMIC device. 92 if (sdev->usid % ctx->num_usids == 0) { in qcom_pmic_get_base_usid() [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/pmic/ |
H A D | pm8916.txt | 1 Qualcomm pm8916 PMIC 3 This PMIC is connected using SPMI bus so should be child of SPMI bus controller. 6 - compatible: "qcom,spmi-pmic"; 7 - reg: SPMI Slave ID, size (ignored) 8 - #address-cells: 0x1 (peripheral ID) 9 - #size-cells: 0x1 (size of peripheral register space) 14 compatible = "qcom,spmi-pmic"; 16 #address-cells = <0x1>; 17 #size-cells = <0x1>;
|
/openbmc/u-boot/doc/device-tree-bindings/spmi/ |
H A D | spmi-msm.txt | 1 Qualcomm SPMI arbiter/bus driver 3 This is bus driver for Qualcomm chips that use SPMI to communicate with PMICs. 6 - compatible: "qcom,spmi-pmic-arb" 7 - reg: Register block adresses and sizes for various parts of device: 8 1) PMIC arbiter channel mapping base (PMIC_ARB_REG_CHNLn) 9 2) SPMI write command (master) registers (PMIC_ARB_CORE_SW_DEC_CHANNELS) 10 3) SPMI read command (observer) registers (PMIC_ARB_CORE_REGISTERS_OBS) 13 - #address-cells: 0x1 - childs slave ID address 14 - #size-cells: 0x1 21 spmi@200f000 { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | qcom,spmi-vadc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm's SPMI PMIC ADC 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 14 SPMI PMIC voltage ADC (VADC) provides interface to clients to read 15 voltage. The VADC is a 15-bit sigma-delta ADC. 16 SPMI PMIC5/PMIC7 voltage ADC (ADC) provides interface to clients to read [all …]
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | pmx55.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 8 #include <dt-bindings/iio/qcom,spmi-vadc.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/spmi/spmi.h> 13 pmic@8 { 14 compatible = "qcom,pmx55", "qcom,spmi-pmic"; 16 #address-cells = <1>; 17 #size-cells = <0>; 20 compatible = "qcom,pm8916-pon"; [all …]
|
/openbmc/u-boot/test/dm/ |
H A D | spmi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <power/pmic.h> 14 #include <spmi/spmi.h> 21 const char *name = "spmi@0"; in dm_test_spmi_probe() 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() [all …]
|