Home
last modified time | relevance | path

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

/Linux-v6.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-v6.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>
21 #include <asm-generic/unaligned.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()
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dqcom-pmx55.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-v6.1/arch/arm64/boot/dts/qcom/
Dpm6150l.dtsi1 // 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/spmi/spmi.h>
10 compatible = "qcom,pm6150l", "qcom,spmi-pmic";
12 #address-cells = <1>;
13 #size-cells = <0>;
16 compatible = "qcom,spmi-adc5";
19 #address-cells = <1>;
20 #size-cells = <0>;
[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>;
14 polling-delay = <0>;
16 thermal-sensors = <&pmm8155au_2_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>;
15 polling-delay = <0>;
17 thermal-sensors = <&pm8150l_temp>;
[all …]
Dpm6150.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
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 pm6150_thermal: pm6150-thermal {
13 polling-delay-passive = <100>;
14 polling-delay = <0>;
[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>;
15 polling-delay = <0>;
17 thermal-sensors = <&pm8150b_temp>;
[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>;
15 polling-delay = <0>;
17 thermal-sensors = <&pmm8155au_1_temp>;
[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>;
16 polling-delay = <0>;
[all …]
Dpm7250b.dtsi1 // 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 pm7250b-thermal {
12 polling-delay-passive = <100>;
13 polling-delay = <0>;
15 thermal-sensors = <&pm7250b_temp>;
42 compatible = "qcom,pm7250b", "qcom,spmi-pmic";
44 #address-cells = <1>;
[all …]
/Linux-v6.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_AD7091R5) += ad7091r5.o ad7091r-base.o
10 obj-$(CONFIG_AD7124) += ad7124.o
11 obj-$(CONFIG_AD7192) += ad7192.o
12 obj-$(CONFIG_AD7266) += ad7266.o
13 obj-$(CONFIG_AD7280) += ad7280a.o
14 obj-$(CONFIG_AD7291) += ad7291.o
15 obj-$(CONFIG_AD7292) += ad7292.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
29 Say yes here to build support for Analog Devices AD7091R-5 ADC.
32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
111 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD and TI"
137 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
148 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
159 Say yes here to build support for Analog Devices AD7766, AD7766-1,
160 AD7766-2, AD7767, AD7767-1, AD7767-2 SPI analog to digital converters.
[all …]
/Linux-v6.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>
14 - qcom,spmi-adc-tm5
15 - qcom,spmi-adc-tm5-gen2
23 "#thermal-sensor-cells":
29 "#address-cells":
[all …]
/Linux-v6.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 …]