[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230416123142.299533-1-krzysztof.kozlowski@linaro.org>
Date: Sun, 16 Apr 2023 14:31:42 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Siddartha Mohanadoss <smohanad@...eaurora.org>,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: [PATCH] dt-bindings: iio: adc: qcom,spmi-vadc: add 16 ratio of pre-scaling
Document value of 16 for pre-scaling, already used in DTS and supported
by the Linux driver since long time:
sm7225-fairphone-fp4.dtb: adc@...0: channel@8:qcom,pre-scaling: 'oneOf' conditional failed, one must be fixed:
10 was expected
16 is not one of [1, 3, 4, 6, 20, 8, 10]
81 was expected
Fixes: e13d757279bb ("iio: adc: Add QCOM SPMI PMIC5 ADC driver")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
---
Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
index f30114424b92..42077ca65747 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, 8, 10, 16, 20 ]
- items:
- const: 10
- const: 81
--
2.34.1
Powered by blists - more mailing lists