diff mbox series

[5/8] dt-bindings: iio: adc: qcom,spmi-vadc: Allow 1/16 for pre-scaling

Message ID 20230414-pmi632-v1-5-fe94dc414832@z3ntu.xyz
State Accepted
Commit ef513aa7aa5038d2f53e9f2932af5006f37ed0b6
Headers show
Series Add PMI632 PMIC and RGB LED on sdm632-fairphone-fp3 | expand

Commit Message

Luca Weiss April 13, 2023, 11:17 p.m. UTC
The channel ADC5_USB_IN_V_16 is using 1/16 pre-scaling on at least
pm7250b and pmi632. Allow that in the schema.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
index bd6e0d6f6e0c..365aa3528a87 100644
--- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
@@ -101,7 +101,7 @@  patternProperties:
         oneOf:
           - items:
               - const: 1
-              - enum: [ 1, 3, 4, 6, 20, 8, 10 ]
+              - enum: [ 1, 3, 4, 6, 20, 8, 10, 16 ]
           - items:
               - const: 10
               - const: 81