From 71acdea200ecacc44f06f57ee10fddc73691b00e Mon Sep 17 00:00:00 2001 From: Anjelique Melendez Date: Tue, 14 Dec 2021 11:04:19 -0800 Subject: [PATCH] dt-bindings: adc: qcom,spmi-vadc: Add support for qcom,debug-base Currently, the debug base address is defined under the reg property. This would be confusing if multiple addresses are specified under reg property to support more ADC channels. Separate debug base into its own property. Change-Id: Iadd6a86581434713f94703bba594b998ea856bf9 --- bindings/iio/adc/qcom,spmi-vadc.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bindings/iio/adc/qcom,spmi-vadc.txt b/bindings/iio/adc/qcom,spmi-vadc.txt index b242cb77..9e004653 100644 --- a/bindings/iio/adc/qcom,spmi-vadc.txt +++ b/bindings/iio/adc/qcom,spmi-vadc.txt @@ -22,8 +22,13 @@ VADC node: Usage: required Value type: Definition: VADC base address in the SPMI PMIC register map. - Debug ADC peripheral base address in the SPMI PMIC - register map. Debug peripheral address is optional. + +- qcom,debug-base: + Usage: optional + Value type: + Definition: Debug ADC peripheral base address in the SPMI PMIC + register map. Only applicable for devices with compatible + property "qcom,spmi-adc5-gen3". - #address-cells: Usage: required