Linux-Watchdog Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v2 01/19] dt-bindings: gpio: fsl-imx-gpio: Add i.MX 8 compatibles
@ 2020-08-24 16:26 Krzysztof Kozlowski
  2020-08-24 16:26 ` [PATCH v2 02/19] dt-bindings: gpio: fsl-imx-gpio: Add gpio-ranges property Krzysztof Kozlowski
                   ` (18 more replies)
  0 siblings, 19 replies; 42+ messages in thread
From: Krzysztof Kozlowski @ 2020-08-24 16:26 UTC (permalink / raw)
  To: Rob Herring, Linus Walleij, Bartosz Golaszewski, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Ulf Hansson, Miquel Raynal, Srinivas Kandagatla,
	Will Deacon, Mark Rutland, Thierry Reding, Uwe Kleine-König,
	Philipp Zabel, Guenter Roeck, Li Yang, Han Xu, Frank Li,
	Fugang Duan, devicetree, linux-kernel, linux-gpio,
	linux-arm-kernel, linux-mmc, linux-mtd, linux-pwm, linux-serial,
	linux-pm, linux-watchdog
  Cc: 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	[flat|nested] 42+ messages in thread

end of thread, back to index

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-24 16:26 [PATCH v2 01/19] dt-bindings: gpio: fsl-imx-gpio: Add i.MX 8 compatibles Krzysztof Kozlowski
2020-08-24 16:26 ` [PATCH v2 02/19] dt-bindings: gpio: fsl-imx-gpio: Add gpio-ranges property Krzysztof Kozlowski
2020-08-25  2:32   ` Rob Herring
2020-08-24 16:26 ` [PATCH v2 03/19] dt-bindings: gpio: fsl-imx-gpio: Add parsing of hogs Krzysztof Kozlowski
2020-08-25  2:33   ` Rob Herring
2020-08-25  2:41     ` Rob Herring
2020-08-24 16:26 ` [PATCH v2 04/19] dt-bindings: gpio: fsl-imx-gpio: Add power-domains Krzysztof Kozlowski
2020-08-25  2:33   ` Rob Herring
2020-08-24 16:26 ` [PATCH v2 05/19] dt-bindings: perf: fsl-imx-ddr: Add i.MX 8M compatibles Krzysztof Kozlowski
2020-08-25  2:33   ` Rob Herring
2020-08-24 16:26 ` [PATCH v2 06/19] dt-bindings: pwm: imx-pwm: " Krzysztof Kozlowski
2020-08-25  2:34   ` Rob Herring
2020-08-24 16:26 ` [PATCH v2 07/19] dt-bindings: serial: fsl-imx-uart: " Krzysztof Kozlowski
2020-08-25  2:34   ` Rob Herring
2020-08-24 16:26 ` [PATCH v2 08/19] dt-bindings: watchdog: fsl-imx-wdt: " Krzysztof Kozlowski
2020-08-25  2:35   ` Rob Herring
2020-08-24 16:26 ` [PATCH v2 09/19] dt-bindings: mtd: gpmi-nand: " Krzysztof Kozlowski
2020-08-25  2:35   ` Rob Herring
2020-08-24 16:26 ` [PATCH v2 10/19] dt-bindings: reset: fsl,imx7-src: " Krzysztof Kozlowski
2020-08-25  2:36   ` [PATCH v2 10/19] dt-bindings: reset: fsl, imx7-src: " Rob Herring
2020-08-24 16:26 ` [PATCH v2 11/19] dt-bindings: thermal: imx8mm-thermal: Add i.MX 8M Nano compatible Krzysztof Kozlowski
2020-08-25  2:36   ` Rob Herring
2020-08-24 16:26 ` [PATCH v2 12/19] dt-bindings: mmc: fsl-imx-esdhc: Fix i.MX 8 compatible matching Krzysztof Kozlowski
2020-08-25  2:38   ` Rob Herring
2020-08-25  7:08     ` Krzysztof Kozlowski
2020-08-24 16:26 ` [PATCH v2 13/19] dt-bindings: nvmem: imx-ocotp: Update i.MX 8M compatibles Krzysztof Kozlowski
2020-08-25  2:39   ` Rob Herring
2020-08-25  7:19     ` Krzysztof Kozlowski
2020-08-25  4:46   ` Sascha Hauer
2020-08-25  7:17     ` Krzysztof Kozlowski
2020-08-24 16:26 ` [PATCH v2 14/19] dt-bindings: arm: fsl: Fix Toradex Colibri i.MX 8 binding Krzysztof Kozlowski
2020-08-25  2:39   ` Rob Herring
2020-08-24 16:26 ` [PATCH v2 15/19] dt-bindings: arm: fsl: Add ZII Ultra boards binding Krzysztof Kozlowski
2020-08-25  2:40   ` Rob Herring
2020-08-24 16:26 ` [PATCH v2 16/19] dt-bindings: interrupt-controller: fsl,irqsteer: Fix compatible matching Krzysztof Kozlowski
2020-08-25  2:40   ` [PATCH v2 16/19] dt-bindings: interrupt-controller: fsl, irqsteer: " Rob Herring
2020-08-24 16:26 ` [PATCH v2 17/19] dt-bindings: serial: fsl-lpuart: " Krzysztof Kozlowski
2020-08-25  2:42   ` Rob Herring
2020-08-25  7:55     ` Krzysztof Kozlowski
2020-08-24 16:26 ` [PATCH v2 18/19] arm64: dts: imx8mq-evk: Add hog suffix to wl-reg-on Krzysztof Kozlowski
2020-08-24 16:26 ` [PATCH v2 19/19] arm64: dts: imx8mq-zii-ultra: Add hog suffixes to GPIO hogs Krzysztof Kozlowski
2020-08-25  2:31 ` [PATCH v2 01/19] dt-bindings: gpio: fsl-imx-gpio: Add i.MX 8 compatibles Rob Herring

Linux-Watchdog Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-watchdog/0 linux-watchdog/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-watchdog linux-watchdog/ https://lore.kernel.org/linux-watchdog \
		linux-watchdog@vger.kernel.org
	public-inbox-index linux-watchdog

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-watchdog


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git