devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: power: fsl,imx-gpc: document fsl,imx6ul-gpc compatible
@ 2023-01-20  7:17 Krzysztof Kozlowski
  2023-01-20  7:17 ` [PATCH 2/3] dt-bindings: power: fsl,imx-gpc: correct compatibles Krzysztof Kozlowski
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2023-01-20  7:17 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Philipp Zabel, devicetree, linux-arm-kernel, linux-kernel
  Cc: Krzysztof Kozlowski

Document existing fsl,imx6ul-gpc compatible used with fsl,imx6q-gpc
fallback:

  imx6sl-evk.dtb: gpc@20dc000: compatible: ['fsl,imx6sl-gpc', 'fsl,imx6q-gpc'] is too long

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/power/fsl,imx-gpc.yaml    | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/power/fsl,imx-gpc.yaml b/Documentation/devicetree/bindings/power/fsl,imx-gpc.yaml
index 777e1d852ddd..85658da3672f 100644
--- a/Documentation/devicetree/bindings/power/fsl,imx-gpc.yaml
+++ b/Documentation/devicetree/bindings/power/fsl,imx-gpc.yaml
@@ -23,11 +23,16 @@ description: |
 
 properties:
   compatible:
-    enum:
-      - fsl,imx6q-gpc
-      - fsl,imx6qp-gpc
-      - fsl,imx6sl-gpc
-      - fsl,imx6sx-gpc
+    oneOf:
+      - enum:
+          - fsl,imx6q-gpc
+          - fsl,imx6qp-gpc
+          - fsl,imx6sl-gpc
+          - fsl,imx6sx-gpc
+      - items:
+          - enum:
+              - fsl,imx6ul-gpc
+          - const: fsl,imx6q-gpc
 
   reg:
     maxItems: 1
-- 
2.34.1


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

end of thread, other threads:[~2023-01-26  8:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-20  7:17 [PATCH 1/3] dt-bindings: power: fsl,imx-gpc: document fsl,imx6ul-gpc compatible Krzysztof Kozlowski
2023-01-20  7:17 ` [PATCH 2/3] dt-bindings: power: fsl,imx-gpc: correct compatibles Krzysztof Kozlowski
2023-01-23 21:58   ` Rob Herring
2023-01-20  7:17 ` [PATCH 3/3] dt-bindings: power: fsl,imx-gpc: document interrupt-controller Krzysztof Kozlowski
2023-01-23 21:58   ` Rob Herring
2023-01-23 21:56 ` [PATCH 1/3] dt-bindings: power: fsl,imx-gpc: document fsl,imx6ul-gpc compatible Rob Herring
2023-01-26  8:42 ` Shawn Guo

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).