From 6a2078911cee8587ee1ffa93ef0b8ffce3b12820 Mon Sep 17 00:00:00 2001 From: Anjelique Melendez Date: Thu, 30 Nov 2023 16:34:17 -0800 Subject: [PATCH] dt-bindings: iio: adc: qcom,spmi-vadc: Add qcom,adc5-gen4 property Add new "qcom,adc5-gen4" property to flag ADC5 GEN4 channels. Change-Id: I271b6e74d36721f6c38bd1f3d68e47bc5393b04d Signed-off-by: Anjelique Melendez --- bindings/iio/adc/qcom,spmi-vadc.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bindings/iio/adc/qcom,spmi-vadc.yaml b/bindings/iio/adc/qcom,spmi-vadc.yaml index 8df7061d..f4ca2f83 100644 --- a/bindings/iio/adc/qcom,spmi-vadc.yaml +++ b/bindings/iio/adc/qcom,spmi-vadc.yaml @@ -217,6 +217,12 @@ patternProperties: non-thermal ADC_TM client. const: 0 + qcom,adc5-gen4: + description: | + Flag indicating that the channel is an ADC5 GEN4 channel. Defined for compatible + "qcom,spmi-adc5-gen3". + type: boolean + required: - reg @@ -253,6 +259,7 @@ allOf: qcom,no-cal: false qcom,adc-tm-type: false qcom,rscale-type: false + qcom,adc5-gen4: false - if: properties: @@ -286,6 +293,7 @@ allOf: qcom,no-cal: false qcom,adc-tm-type: false qcom,rscale-type: false + qcom,adc5-gen4: false - if: properties: @@ -319,6 +327,7 @@ allOf: qcom,no-cal: false qcom,adc-tm-type: false qcom,rscale-type: false + qcom,adc5-gen4: false - if: properties: @@ -389,6 +398,7 @@ allOf: qcom,no-cal: false qcom,adc-tm-type: false qcom,rscale-type: false + qcom,adc5-gen4: false - if: properties: @@ -422,6 +432,7 @@ allOf: qcom,no-cal: false qcom,adc-tm-type: false qcom,rscale-type: false + qcom,adc5-gen4: false - if: properties: @@ -454,6 +465,7 @@ allOf: qcom,adc-tm-type: false qcom,rscale-type: false + qcom,adc5-gen4: false not: required: