/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 …]
|
/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/iio/qcom,spmi-adc7-pm8350.h> 7 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 8 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/spmi/spmi.h> 14 thermal-zones { 15 pm8280_1_thermal: pm8280-1-thermal { 16 polling-delay-passive = <100>; [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>; 14 thermal-sensors = <&pm8550vs_c_temp_alarm>; 31 pm8550vs-d-thermal { 32 polling-delay-passive = <100>; 34 thermal-sensors = <&pm8550vs_d_temp_alarm>; [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>; 14 thermal-sensors = <&pmm8654au_0_temp_alarm>; 31 pmm8654au_1_thermal: pm8775-1-thermal { 32 polling-delay-passive = <100>; 34 thermal-sensors = <&pmm8654au_1_temp_alarm>; [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 | 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 | 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 | pm8010.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 pm8010-m-thermal { 12 polling-delay-passive = <100>; 14 thermal-sensors = <&pm8010_m_temp_alarm>; 31 pm8010-n-thermal { 32 polling-delay-passive = <100>; 34 thermal-sensors = <&pm8010_n_temp_alarm>; [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>; 16 thermal-sensors = <&pm8150l_temp>; 42 pmic@4 { [all …]
|
H A D | pm8998.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 #include <dt-bindings/iio/qcom,spmi-vadc.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/spmi/spmi.h> 8 #include <dt-bindings/thermal/thermal.h> 11 thermal-zones { 12 pm8998-thermal { 13 polling-delay-passive = <250>; 15 thermal-sensors = <&pm8998_temp>; [all …]
|
H A D | pmm8155au_1.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> 9 #include <dt-bindings/iio/qcom,spmi-vadc.h> 12 thermal-zones { 13 pmm8155au-1-thermal { 14 polling-delay-passive = <100>; 16 thermal-sensors = <&pmm8155au_1_temp>; 42 pmic@0 { [all …]
|
H A D | pmm8155au_2.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 pmm8155au-2-thermal { 13 polling-delay-passive = <100>; 15 thermal-sensors = <&pmm8155au_2_temp>; 41 pmic@4 { 42 compatible = "qcom,pmm8155au", "qcom,spmi-pmic"; [all …]
|
H A D | pm8953.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 4 #include <dt-bindings/iio/qcom,spmi-vadc.h> 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/spmi/spmi.h> 10 thermal-zones { 11 pm8953-thermal { 12 thermal-sensors = <&pm8953_temp>; 38 pmic@0 { 39 compatible = "qcom,pm8953", "qcom,spmi-pmic"; [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 …]
|
H A D | pm8994.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/input/linux-event-codes.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/spmi/spmi.h> 8 thermal-zones { 9 pm8994-thermal { 10 polling-delay-passive = <250>; 12 thermal-sensors = <&pm8994_temp>; 15 pm8994_alert0: pm8994-alert0 { [all …]
|
H A D | pm6350.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 pm6350-thermal { 12 polling-delay-passive = <100>; 14 thermal-sensors = <&pm6350_temp>; 40 pmic@0 { 41 compatible = "qcom,pm6350", "qcom,spmi-pmic"; 43 #address-cells = <1>; [all …]
|
H A D | pm8950.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/iio/qcom,spmi-vadc.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 12 #include <dt-bindings/spmi/spmi.h> 15 pmic@0 { 16 compatible = "qcom,pm8950", "qcom,spmi-pmic"; 18 #address-cells = <1>; 19 #size-cells = <0>; [all …]
|
/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/spmi/hisilicon,hisi-spmi-controller.yaml [all …]
|
/linux/drivers/mfd/ |
H A D | qcom-spmi-pmic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/spmi.h> 17 #include <soc/qcom/qcom-spmi-pmic.h> 32 struct qcom_spmi_pmic pmic; member 70 { .compatible = "qcom,spmi-pmic", .data = N_USIDS(1) }, 75 * A PMIC can be represented by multiple SPMI devices, but 76 * only the base PMIC device will contain a reference to 79 * This function takes a pointer to a pmic device and 80 * returns a pointer to the base PMIC device. 94 if (sdev->usid % ctx->num_usids == 0) { in qcom_pmic_get_base_usid() [all …]
|
/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 …]
|
/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 …]
|