Message ID | 20230414-pmi632-v1-5-fe94dc414832@z3ntu.xyz |
---|---|
State | New |
Headers | show |
Series | Add PMI632 PMIC and RGB LED on sdm632-fairphone-fp3 | expand |
On 14/04/2023 01:17, Luca Weiss wrote: > 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(-) > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Fri, 14 Apr 2023 09:56:07 +0200 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > On 14/04/2023 01:17, Luca Weiss wrote: > > 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(-) > > > > > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > Best regards, > Krzysztof > Applied this patch to the IIO togreg branch initially pushed out as testing for 0-day to poke at it. I'm doubtful this one will make the upcoming merge window but seems unlikely the rest will all make it either so that shouldn't be a problem. Jonathan
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
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(-)