Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/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-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 …]
/Linux-v5.10/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.
21 #include <dt-bindings/iio/qcom,spmi-vadc.h>
23 #include "qcom-vadc-common.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_AD7291) += ad7291.o
14 obj-$(CONFIG_AD7292) += ad7292.o
15 obj-$(CONFIG_AD7298) += ad7298.o
[all …]
Dqcom-spmi-adc5.c1 // SPDX-License-Identifier: GPL-2.0
21 #include <dt-bindings/iio/qcom,spmi-vadc.h>
22 #include "qcom-vadc-common.h"
74 * samples and measurements queued across different VADC peripherals.
103 * struct adc5_channel_prop - ADC channel property.
132 * struct adc5_chip - ADC private structure.
133 * @regmap: SPMI ADC5 peripheral register map field.
134 * @dev: SPMI ADC5 device.
171 return regmap_bulk_read(adc->regmap, adc->base + offset, data, len); in adc5_read()
176 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
100 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD an TI"
126 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
137 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
148 Say yes here to build support for Analog Devices AD7766, AD7766-1,
149 AD7766-2, AD7767, AD7767-1, AD7767-2 SPI analog to digital converters.
[all …]
/Linux-v5.10/arch/arm64/boot/dts/qcom/
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 …]
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>
12 compatible = "qcom,pm6150", "qcom,spmi-pmic";
14 #address-cells = <1>;
15 #size-cells = <0>;
18 compatible = "qcom,pm8998-pon";
[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 {
14 polling-delay-passive = <100>;
15 polling-delay = <0>;
17 thermal-sensors = <&pm8150l_temp>;
44 compatible = "qcom,pm8150l", "qcom,spmi-pmic";
[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 {
14 polling-delay-passive = <100>;
15 polling-delay = <0>;
17 thermal-sensors = <&pm8150b_temp>;
44 compatible = "qcom,pm8150b", "qcom,spmi-pmic";
[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 {
13 polling-delay-passive = <250>;
14 polling-delay = <1000>;
16 thermal-sensors = <&pm8998_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 {
15 polling-delay-passive = <100>;
16 polling-delay = <0>;
18 thermal-sensors = <&pm8150_temp>;
[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 {
12 polling-delay-passive = <250>;
13 polling-delay = <1000>;
15 thermal-sensors = <&pms405_temp>;
18 pms405_alert0: pms405-alert0 {
[all …]