Searched refs:iadc (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/iio/adc/ |
D | qcom-spmi-iadc.c | 118 static int iadc_read(struct iadc_chip *iadc, u16 offset, u8 *data) in iadc_read() argument 123 ret = regmap_read(iadc->regmap, iadc->base + offset, &val); in iadc_read() 131 static int iadc_write(struct iadc_chip *iadc, u16 offset, u8 data) in iadc_write() argument 133 return regmap_write(iadc->regmap, iadc->base + offset, data); in iadc_write() 136 static int iadc_reset(struct iadc_chip *iadc) in iadc_reset() argument 141 ret = iadc_write(iadc, IADC_SEC_ACCESS, IADC_SEC_ACCESS_DATA); in iadc_reset() 145 ret = iadc_read(iadc, IADC_PERH_RESET_CTL3, &data); in iadc_reset() 149 ret = iadc_write(iadc, IADC_SEC_ACCESS, IADC_SEC_ACCESS_DATA); in iadc_reset() 155 return iadc_write(iadc, IADC_PERH_RESET_CTL3, data); in iadc_reset() 158 static int iadc_set_state(struct iadc_chip *iadc, bool state) in iadc_set_state() argument [all …]
|
D | Makefile | 81 obj-$(CONFIG_QCOM_SPMI_IADC) += qcom-spmi-iadc.o
|
D | Kconfig | 865 be called qcom-spmi-iadc.
|
/linux-6.1.9/Documentation/devicetree/bindings/iio/adc/ |
D | qcom,spmi-iadc.yaml | 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-iadc.yaml# 21 const: qcom,spmi-iadc 53 compatible = "qcom,spmi-iadc";
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | qcom-pm8941.dtsi | 127 pm8941_iadc: iadc@3600 { 128 compatible = "qcom,pm8941-iadc", "qcom,spmi-iadc";
|