Home
last modified time | relevance | path

Searched +full:spmi +full:- +full:vadc (Results 1 – 25 of 26) sorted by relevance

12

/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/iio/adc/
Dqcom-spmi-vadc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved.
10 #include <linux/iio/adc/qcom-vadc-common.h>
23 #include <dt-bindings/iio/qcom,spmi-vadc.h>
25 /* VADC register and bit definitions */
76 * struct vadc_channel_prop - VADC channel property.
99 * struct vadc_priv - VADC private structure.
103 * @nchannels: number of VADC channels.
104 * @chan_props: array of VADC channel properties.
108 * @complete: VADC result notification after interrupt is received.
[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 …]
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>
75 * samples and measurements queued across different VADC peripherals.
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()
[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-tm-hc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm-hc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm's SPMI PMIC ADC HC Thermal Monitoring
9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
13 const: qcom,spmi-adc-tm-hc
21 "#thermal-sensor-cells":
27 "#address-cells":
30 "#size-cells":
[all …]
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/arch/arm/boot/dts/
Dqcom-pma8084.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
3 #include <dt-bindings/interrupt-controller/irq.h>
4 #include <dt-bindings/spmi/spmi.h>
9 compatible = "qcom,pma8084", "qcom,spmi-pmic";
11 #address-cells = <1>;
12 #size-cells = <0>;
15 compatible = "qcom,pm8941-rtc";
18 reg-names = "rtc", "alarm";
23 compatible = "qcom,pm8941-pwrkey";
[all …]
Dqcom-pm8226.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
2 #include <dt-bindings/interrupt-controller/irq.h>
3 #include <dt-bindings/spmi/spmi.h>
4 #include <dt-bindings/iio/qcom,spmi-vadc.h>
8 compatible = "qcom,pm8226", "qcom,spmi-pmic";
10 #address-cells = <1>;
11 #size-cells = <0>;
14 compatible = "qcom,pm8941-pwrkey";
18 bias-pull-up;
22 compatible = "qcom,pm8226-charger";
[all …]
Dqcom-pm8941.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
3 #include <dt-bindings/interrupt-controller/irq.h>
4 #include <dt-bindings/spmi/spmi.h>
9 compatible = "qcom,pm8941", "qcom,spmi-pmic";
11 #address-cells = <1>;
12 #size-cells = <0>;
15 compatible = "qcom,pm8941-rtc";
18 reg-names = "rtc", "alarm";
23 compatible = "qcom,pm8941-pwrkey";
[all …]
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/
Dpm8953.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/input/linux-event-codes.h>
7 #include <dt-bindings/spmi/spmi.h>
11 compatible = "qcom,pm8953", "qcom,spmi-pmic";
13 #address-cells = <1>;
14 #size-cells = <0>;
17 compatible = "qcom,pm8916-pon";
19 mode-bootloader = <0x2>;
[all …]
Dpm8994.dtsi1 // 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>;
11 polling-delay = <1000>;
13 thermal-sensors = <&pm8994_temp>;
[all …]
Dpm8916.dtsi1 // 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>
10 compatible = "qcom,pm8916", "qcom,spmi-pmic";
12 #address-cells = <1>;
13 #size-cells = <0>;
16 compatible = "qcom,pm8916-pon";
18 mode-bootloader = <0x2>;
[all …]
Dpm660l.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 {
15 polling-delay-passive = <250>;
16 polling-delay = <1000>;
18 thermal-sensors = <&pm660l_temp>;
[all …]
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 …]
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 …]
Dpm8998.dtsi1 // 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>;
14 polling-delay = <1000>;
[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 …]
Dpms405.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/spmi/spmi.h>
5 #include <dt-bindings/input/linux-event-codes.h>
6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
7 #include <dt-bindings/thermal/thermal.h>
10 thermal-zones {
11 pms405-thermal {
12 polling-delay-passive = <250>;
13 polling-delay = <1000>;
15 thermal-sensors = <&pms405_temp>;
[all …]
Dpm660.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 {
15 polling-delay-passive = <250>;
16 polling-delay = <1000>;
18 thermal-sensors = <&pm660_temp>;
[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 …]

12