Home
last modified time | relevance | path

Searched +full:spmi +full:- +full:adc5 (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Dqcom,spmi-vadc.yaml1 # 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-6.12.1/arch/arm64/boot/dts/qcom/
Dsc8180x-pmics.dtsi1 // 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 …]
Dpmm8155au_2.dtsi1 // 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>;
42 compatible = "qcom,pmm8155au", "qcom,spmi-pmic";
44 #address-cells = <1>;
[all …]
Dpm6150l.dtsi1 // 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>;
40 compatible = "qcom,pm6150l", "qcom,spmi-pmic";
42 #address-cells = <1>;
43 #size-cells = <0>;
[all …]
Dpmm8155au_1.dtsi1 // 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>;
43 compatible = "qcom,pmm8155au", "qcom,spmi-pmic";
[all …]
Dpm8150l.dtsi1 // 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>;
43 compatible = "qcom,pm8150l", "qcom,spmi-pmic";
[all …]
Dpm8150.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
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 pm8150-thermal {
15 polling-delay-passive = <100>;
17 thermal-sensors = <&pm8150_temp>;
[all …]
Dpm6125.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 #include <dt-bindings/iio/qcom,spmi-vadc.h>
4 #include <dt-bindings/input/input.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>
10 thermal-zones {
11 pm6125-thermal {
12 polling-delay-passive = <100>;
14 thermal-sensors = <&pm6125_temp>;
[all …]
Dpmi632.dtsi1 // 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 pmi632-thermal {
13 polling-delay-passive = <100>;
15 thermal-sensors = <&pmi632_temp>;
42 compatible = "qcom,pmi632", "qcom,spmi-pmic";
44 #address-cells = <1>;
[all …]
Dpm6150.dtsi1 // 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 …]
Dpm8150b.dtsi1 // 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 pm8150b-thermal {
14 polling-delay-passive = <100>;
16 thermal-sensors = <&pm8150b_temp>;
43 compatible = "qcom,pm8150b", "qcom,spmi-pmic";
[all …]
Dpm7250b.dtsi1 // 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 pm7250b-thermal {
13 polling-delay-passive = <100>;
15 thermal-sensors = <&pm7250b_temp>;
42 compatible = "qcom,pm7250b", "qcom,spmi-pmic";
44 #address-cells = <1>;
[all …]
/linux-6.12.1/drivers/thermal/qcom/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
14 tristate "Qualcomm SPMI PMIC Thermal Monitor ADC5"
15 depends on OF && SPMI && IIO
25 tristate "Qualcomm SPMI PMIC Temperature Alarm"
26 depends on OF && SPMI && IIO
29 This enables a thermal sysfs driver for Qualcomm plug-and-play (QPNP)
40 hardware(LMh). LMh allows for hardware-enforced mitigation for cpus based on
Dqcom-spmi-adc-tm5.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
12 #include <linux/iio/adc/qcom-vadc-common.h>
178 * struct adc_tm5_channel - ADC Thermal Monitoring channel data.
212 * struct adc_tm5_chip - ADC Thermal Monitoring properties
213 * @regmap: SPMI ADC5 Thermal Monitoring peripheral register map field.
214 * @dev: SPMI ADC5 device.
243 return regmap_bulk_read(adc_tm->regmap, adc_tm->base + offset, data, len); in adc_tm5_read()
248 return regmap_bulk_write(adc_tm->regmap, adc_tm->base + offset, data, len); in adc_tm5_write()
253 return regmap_write_bits(adc_tm->regmap, adc_tm->base + offset, mask, val); in adc_tm5_reg_update()
[all …]
/linux-6.12.1/arch/arm/boot/dts/qcom/
Dpmx55.dtsi1 // 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>
14 compatible = "qcom,pmx55", "qcom,spmi-pmic";
16 #address-cells = <1>;
17 #size-cells = <0>;
20 compatible = "qcom,pm8916-pon";
26 pmx55_temp: temp-alarm@2400 {
[all …]
/linux-6.12.1/drivers/iio/adc/
Dqcom-spmi-adc5.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/iio/adc/qcom-vadc-common.h>
23 #include <dt-bindings/iio/qcom,spmi-vadc.h>
104 * struct adc5_channel_prop - ADC channel property.
133 * struct adc5_chip - ADC private structure.
134 * @regmap: SPMI ADC5 peripheral register map field.
135 * @dev: SPMI ADC5 device.
160 return regmap_bulk_read(adc->regmap, adc->base + offset, data, len); in adc5_read()
165 return regmap_bulk_write(adc->regmap, adc->base + offset, data, len); in adc5_write()
170 return regmap_update_bits(adc->regmap, adc->base + offset, mask, val); in adc5_masked_write()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
7 obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o
8 obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
9 obj-$(CONFIG_AD4000) += ad4000.o
10 obj-$(CONFIG_AD4130) += ad4130.o
11 obj-$(CONFIG_AD4695) += ad4695.o
12 obj-$(CONFIG_AD7091R) += ad7091r-base.o
13 obj-$(CONFIG_AD7091R5) += ad7091r5.o
14 obj-$(CONFIG_AD7091R8) += ad7091r8.o
15 obj-$(CONFIG_AD7124) += ad7124.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
45 Say yes here to build support for Analog Devices AD4130-8 SPI analog
73 Say yes here to build support for Analog Devices AD7091R-5 ADC.
81 Say yes here to build support for Analog Devices AD7091R-2, AD7091R-4,
82 and AD7091R-8 ADC.
88 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
92 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
107 - AD7172-2
108 - AD7173-8
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/thermal/
Dqcom-spmi-adc-tm5.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm5.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm's SPMI PMIC ADC Thermal Monitoring
9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
11 $ref: thermal-sensor.yaml#
16 - qcom,spmi-adc-tm5
17 - qcom,spmi-adc-tm5-gen2
18 - qcom,adc-tm7 # Incomplete / subject to change
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dqcom,spmi-pmic.yaml1 # 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 …]