linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/22] dt-bindings: gpio: fsl-imx-gpio: Add i.MX 8 compatibles
@ 2020-08-23 16:15 Krzysztof Kozlowski
  2020-08-23 16:15 ` [PATCH 02/22] dt-bindings: gpio: fsl-imx-gpio: Add gpio-ranges property Krzysztof Kozlowski
                   ` (21 more replies)
  0 siblings, 22 replies; 35+ messages in thread
From: Krzysztof Kozlowski @ 2020-08-23 16:15 UTC (permalink / raw)
  To: Rob Herring, Linus Walleij, Bartosz Golaszewski, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, devicetree, linux-kernel, linux-gpio,
	linux-arm-kernel, linux-mmc, linux-mtd, linux-pwm, linux-serial,
	linux-pm, linux-watchdog
  Cc: Thierry Reding, Anson Huang, Krzysztof Kozlowski

DTSes with new i.MX 8 SoCs introduce their own compatibles so add them
to fix dtbs_check warnings like:

  arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@30200000:
    compatible:0: 'fsl,imx8mm-gpio' is not one of ['fsl,imx1-gpio', 'fsl,imx21-gpio', 'fsl,imx31-gpio', 'fsl,imx35-gpio', 'fsl,imx7d-gpio']
    From schema: Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml

  arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@30200000:
    compatible: ['fsl,imx8mm-gpio', 'fsl,imx35-gpio'] is too long

  arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@30200000:
    compatible: Additional items are not allowed ('fsl,imx35-gpio' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 .../bindings/gpio/fsl-imx-gpio.yaml           | 21 +++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
index 0b223abe8cfb..454db20c2d1a 100644
--- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
@@ -11,12 +11,21 @@ maintainers:
 
 properties:
   compatible:
-    enum:
-      - fsl,imx1-gpio
-      - fsl,imx21-gpio
-      - fsl,imx31-gpio
-      - fsl,imx35-gpio
-      - fsl,imx7d-gpio
+    oneOf:
+      - enum:
+          - fsl,imx1-gpio
+          - fsl,imx21-gpio
+          - fsl,imx31-gpio
+          - fsl,imx35-gpio
+          - fsl,imx7d-gpio
+      - items:
+          - enum:
+              - fsl,imx8mm-gpio
+              - fsl,imx8mn-gpio
+              - fsl,imx8mp-gpio
+              - fsl,imx8mq-gpio
+              - fsl,imx8qxp-gpio
+          - const: fsl,imx35-gpio
 
   reg:
     maxItems: 1
-- 
2.17.1


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

end of thread, other threads:[~2020-08-28  9:42 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-23 16:15 [PATCH 01/22] dt-bindings: gpio: fsl-imx-gpio: Add i.MX 8 compatibles Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 02/22] dt-bindings: gpio: fsl-imx-gpio: Add gpio-ranges property Krzysztof Kozlowski
2020-08-24  5:24   ` Sascha Hauer
2020-08-24  6:38     ` Krzysztof Kozlowski
2020-08-24  6:58       ` Sascha Hauer
2020-08-24  7:07         ` Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 03/22] dt-bindings: gpio: fsl-imx-gpio: Add parsing of hogs Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 04/22] dt-bindings: gpio: fsl-imx-gpio: Add power-domains Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 05/22] dt-bindings: perf: fsl-imx-ddr: Add i.MX 8M compatibles Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 06/22] dt-bindings: pwm: imx-pwm: " Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 07/22] dt-bindings: serial: fsl-imx-uart: " Krzysztof Kozlowski
2020-08-24  5:46   ` Sascha Hauer
2020-08-24  6:39     ` Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 08/22] dt-bindings: watchdog: fsl-imx-wdt: " Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 09/22] dt-bindings: mtd: gpmi-nand: " Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 10/22] dt-bindings: reset: fsl,imx7-src: " Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 11/22] dt-bindings: thermal: imx8mm-thermal: Add i.MX 8M Nano compatible Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 12/22] dt-bindings: mmc: fsl-imx-esdhc: Fix i.MX 8M compatible matching Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 13/22] dt-bindings: nvmem: imx-ocotp: Update i.MX 8M compatibles Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 14/22] dt-bindings: arm: fsl: Fix Toradex Colibri i.MX 8 binding Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 15/22] dt-bindings: arm: fsl: Add ZII Ultra boards binding Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 16/22] dt-bindings: interrupt-controller: fsl,irqsteer: Fix compatible matching Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 17/22] arm64: dts: imx8mq-evk: Add hog suffix to wl-reg-on Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 18/22] arm64: dts: imx8mq-zii-ultra: Add hog suffixes to GPIO hogs Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 19/22] arm64: dts: imx8mm: Remove i.MX7 compatible from USDHC Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 20/22] arm64: dts: imx8qxp: Remove i.MX7 compatible from UART Krzysztof Kozlowski
2020-08-23 16:15 ` [PATCH 21/22] arm64: dts: imx8qxp: Remove i.MX7 compatible from USDHC Krzysztof Kozlowski
2020-08-24  9:00   ` Aisheng Dong
2020-08-24  9:11     ` Krzysztof Kozlowski
2020-08-24  9:45       ` Dong Aisheng
2020-08-24 10:31         ` Bough Chen
2020-08-24 10:32           ` Krzysztof Kozlowski
2020-08-24 10:30             ` Dong Aisheng
2020-08-23 16:15 ` [PATCH 22/22] arm64: dts: imx8mp: Remove i.MX7 compatible from DDR PMU Krzysztof Kozlowski
2020-08-28  9:42 ` [PATCH 01/22] dt-bindings: gpio: fsl-imx-gpio: Add i.MX 8 compatibles Linus Walleij

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