| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | qcom-spmi-vadc.c | 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. 137 static int vadc_read(struct vadc_priv *vadc, u16 offset, u8 *data) in vadc_read() argument 139 return regmap_bulk_read(vadc->regmap, vadc->base + offset, data, 1); in vadc_read() [all …]
|
| D | Makefile | 78 obj-$(CONFIG_QCOM_VADC_COMMON) += qcom-vadc-common.o 79 obj-$(CONFIG_QCOM_SPMI_VADC) += qcom-spmi-vadc.o
|
| D | qcom-spmi-adc5.c | 21 #include <dt-bindings/iio/qcom,spmi-vadc.h> 22 #include "qcom-vadc-common.h" 74 * samples and measurements queued across different VADC peripherals.
|
| /kernel/linux/linux-4.19/drivers/iio/adc/ |
| D | qcom-spmi-vadc.c | 29 #include <dt-bindings/iio/qcom,spmi-vadc.h> 31 #include "qcom-vadc-common.h" 33 /* VADC register and bit definitions */ 84 * struct vadc_channel_prop - VADC channel property. 107 * struct vadc_priv - VADC private structure. 111 * @nchannels: number of VADC channels. 112 * @chan_props: array of VADC channel properties. 116 * @complete: VADC result notification after interrupt is received. 145 static int vadc_read(struct vadc_priv *vadc, u16 offset, u8 *data) in vadc_read() argument 147 return regmap_bulk_read(vadc->regmap, vadc->base + offset, data, 1); in vadc_read() [all …]
|
| D | Makefile | 57 obj-$(CONFIG_QCOM_VADC_COMMON) += qcom-vadc-common.o 58 obj-$(CONFIG_QCOM_SPMI_VADC) += qcom-spmi-vadc.o
|
| D | Kconfig | 590 This is the IIO Voltage ADC driver for Qualcomm QPNP VADC Chip. 592 The driver supports multiple channels read. The VADC is a 15-bit 597 be called qcom-spmi-vadc.
|
| D | qcom-vadc-common.c | 10 #include "qcom-vadc-common.h"
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/adc/ |
| D | qcom,spmi-vadc.txt | 3 SPMI PMIC voltage ADC (VADC) provides interface to clients to read 4 voltage. The VADC is a 15-bit sigma-delta ADC. 6 VADC node: 11 Definition: Should contain "qcom,spmi-vadc". 16 Definition: VADC base address and length in the SPMI PMIC register map. 46 See include/dt-bindings/iio/qcom,spmi-vadc.h 60 fed to VADC. The configuration for this node is to know the 70 VADC will use the VDD reference (1.8V) and GND for channel 104 /* VADC node */ 105 pmic_vadc: vadc@3100 { [all …]
|
| D | qcom,pm8xxx-xoadc.txt | 85 VADC will use a special voltage references for channel
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | qcom,spmi-vadc.yaml | 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml# 14 SPMI PMIC voltage ADC (VADC) provides interface to clients to read 15 voltage. The VADC is a 15-bit sigma-delta ADC. 17 voltage. The VADC is a 16-bit sigma-delta ADC. 28 - qcom,spmi-vadc 34 description: VADC base address in the SPMI PMIC register map 65 For compatible property "qcom,spmi-vadc" following channels, also known as 75 See include/dt-bindings/iio/qcom,spmi-vadc.h 96 fed to VADC. The configuration for this node is to know the 114 - For compatible property "qcom,spmi-vadc", if this property is [all …]
|
| D | qcom,pm8xxx-xoadc.txt | 85 VADC will use a special voltage references for channel
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | qcom-pma8084.dtsi | 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 64 pma8084_vadc: vadc@3100 { 65 compatible = "qcom,spmi-vadc";
|
| D | qcom-pm8941.dtsi | 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 101 pm8941_vadc: vadc@3100 { 102 compatible = "qcom,spmi-vadc";
|
| D | imx6sx.dtsi | 1287 vadc: vadc@2228000 { label 1289 reg-names = "vadc-vafe", "vadc-vdec"; 1292 clock-names = "vadc", "csi";
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | qcom-pma8084.dtsi | 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 83 pma8084_vadc: vadc@3100 { 84 compatible = "qcom,spmi-vadc";
|
| D | qcom-pm8941.dtsi | 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 134 pm8941_vadc: vadc@3100 { 135 compatible = "qcom,spmi-vadc";
|
| D | imx6sx.dtsi | 1234 vadc: vadc@2228000 { label 1236 reg-names = "vadc-vafe", "vadc-vdec"; 1239 clock-names = "vadc", "csi";
|
| /kernel/linux/linux-4.19/arch/arm64/boot/dts/qcom/ |
| D | pm8916.dtsi | 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 60 pm8916_vadc: vadc@3100 { 61 compatible = "qcom,spmi-vadc";
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
| D | pm8916.dtsi | 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 54 compatible = "qcom,spmi-vadc";
|
| D | pm6150.dtsi | 4 #include <dt-bindings/iio/qcom,spmi-vadc.h>
|
| D | pm8150l.dtsi | 7 #include <dt-bindings/iio/qcom,spmi-vadc.h>
|
| D | pm8150b.dtsi | 7 #include <dt-bindings/iio/qcom,spmi-vadc.h>
|
| D | pm8150.dtsi | 10 #include <dt-bindings/iio/qcom,spmi-vadc.h>
|
| D | pm8998.dtsi | 4 #include <dt-bindings/iio/qcom,spmi-vadc.h>
|
| D | pms405.dtsi | 6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
|