dt-bindings: iio: adc: qcom,spmi-vadc: Allow 1/16 for pre-scaling
authorLuca Weiss <luca@z3ntu.xyz>
Thu, 13 Apr 2023 23:17:49 +0000 (01:17 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 13 May 2023 16:56:03 +0000 (17:56 +0100)
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>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230414-pmi632-v1-5-fe94dc414832@z3ntu.xyz
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml

index bd6e0d6f6e0ce8a3114a4d75d363c691c1484a42..365aa3528a874beaf47899f6a63ac45d4e2552e2 100644 (file)
@@ -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