summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/adc/qcom,spmi-vadc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/iio/adc/qcom,spmi-vadc.txt')
-rw-r--r--dts/Bindings/iio/adc/qcom,spmi-vadc.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/dts/Bindings/iio/adc/qcom,spmi-vadc.txt b/dts/Bindings/iio/adc/qcom,spmi-vadc.txt
index b3c86f4ac7..c81993f8d8 100644
--- a/dts/Bindings/iio/adc/qcom,spmi-vadc.txt
+++ b/dts/Bindings/iio/adc/qcom,spmi-vadc.txt
@@ -140,6 +140,10 @@ VADC_GND_REF and VADC_VDD_VADC.
Example:
+#include <dt-bindings/iio/qcom,spmi-vadc.h>
+#include <linux/irq.h>
+/* ... */
+
/* VADC node */
pmic_vadc: vadc@3100 {
compatible = "qcom,spmi-vadc";
@@ -151,7 +155,7 @@ Example:
io-channel-ranges;
/* Channel node */
- usb_id_nopull {
+ adc-chan@VADC_LR_MUX10_USB_ID {
reg = <VADC_LR_MUX10_USB_ID>;
qcom,decimation = <512>;
qcom,ratiometric;