devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: iio: adc: qcom,spmi-vadc: simplify compatible enum
@ 2022-10-27 14:34 Krzysztof Kozlowski
  2022-10-27 14:34 ` [PATCH 2/2] dt-bindings: iio: adc: qcom,spmi-vadc: extend example Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-27 14:34 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Andy Gross, Bjorn Andersson, linux-iio,
	devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

The second compatible item in oneOf is just an enum, not a list.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml  | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
index 8bac0c4120dd..a848df37db06 100644
--- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
@@ -22,13 +22,11 @@ properties:
       - items:
           - const: qcom,pms405-adc
           - const: qcom,spmi-adc-rev2
-
-      - items:
-          - enum:
-              - qcom,spmi-vadc
-              - qcom,spmi-adc5
-              - qcom,spmi-adc-rev2
-              - qcom,spmi-adc7
+      - enum:
+          - qcom,spmi-vadc
+          - qcom,spmi-adc5
+          - qcom,spmi-adc-rev2
+          - qcom,spmi-adc7
 
   reg:
     description: VADC base address in the SPMI PMIC register map
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-06 18:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-27 14:34 [PATCH 1/2] dt-bindings: iio: adc: qcom,spmi-vadc: simplify compatible enum Krzysztof Kozlowski
2022-10-27 14:34 ` [PATCH 2/2] dt-bindings: iio: adc: qcom,spmi-vadc: extend example Krzysztof Kozlowski
2022-10-31 16:36   ` Rob Herring
2022-12-06 18:19   ` (subset) " Bjorn Andersson
2022-10-31 16:33 ` [PATCH 1/2] dt-bindings: iio: adc: qcom,spmi-vadc: simplify compatible enum Rob Herring
2022-11-06 11:58   ` Jonathan Cameron
2022-12-06 18:19 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).