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

The channel ADC5_USB_IN_V_16 is using 1/16 pre-scaling on at least
pm7250b and pmi632. Allow that in the schema.

Change-Id: I4c673338fd9c3ed1544863fc073abfd91ec721b3
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>
Git-commit: ef513aa7aa5038d2f53e9f2932af5006f37ed0b6
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
This commit is contained in:
Luca Weiss
2023-04-14 01:17:49 +02:00
committed by Anjelique Melendez
parent 649110f779
commit c0b391daf9

View 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