Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

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>

authored by

Luca Weiss and committed by
Jonathan Cameron
ef513aa7 ac9a7868

+1 -1
+1 -1
Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
··· 101 101 oneOf: 102 102 - items: 103 103 - const: 1 104 - - enum: [ 1, 3, 4, 6, 20, 8, 10 ] 104 + - enum: [ 1, 3, 4, 6, 20, 8, 10, 16 ] 105 105 - items: 106 106 - const: 10 107 107 - const: 81