linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP
@ 2021-11-20 11:34 Peng Fan (OSS)
  2021-11-20 11:34 ` [PATCH V5 1/8] dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string Peng Fan (OSS)
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-20 11:34 UTC (permalink / raw)
  To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
	linux, wim, linux
  Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
	linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
	linux-serial, linux-spi, linux-watchdog, Peng Fan

From: Peng Fan <peng.fan@nxp.com>


V5:
 only fix patch 8/8 "arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board"
  - Correct bus-width to 8 for eMMC
  - Drop pinctrl enet which no user
 Drop patch 1/9 in V4, since in merged in linux-next
 Add A-b/R-b tag

V4:
 https://lists.infradead.org/pipermail/linux-arm-kernel/2021-November/696020.html

I just pick-up Jacky's work, rebase and send out V4 based on
Jacky's V3 patchset.

If you prefer to split the patchset and send single patches, I could
resend one by one.

Note: the V3 has a gpio bindings patch, it has been separated and
sent to gpio list in a single one per Linus requested.

This patchset is to add i.MX8ULP in dt-bindings, introduce
basic i.MX8ULP dtsi and basic evk board support.

The detailed version changes are in each patch.

There is checkpatch error in patch 8, but that is for device tree macro
and we could use use "(xx)".

In V4, the changes are in patch 8, 9 when rebasing to linux-next/master
,fix build errors after the clk driver in tree and drop a few nodes
that not have bindings.

Tested with CONFIG_CLK_IMX8ULP and CONFIG_PINCTRL_IMX8ULP enabled.

V3:
 https://lore.kernel.org/linux-arm-kernel/20210625011355.3468586-6-ping.bai@nxp.com/T/

Jacky Bai (8):
  dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string
  dt-bindings: serial: fsl-lpuart: Add imx8ulp compatible string
  dt-bindings: spi: fsl-lpspi: Add imx8ulp compatible string
  dt-bindings: timer: tpm-timer: Add imx8ulp compatible string
  dt-bindings: watchdog: imx7ulp-wdt: Add imx8ulp compatible string
  dt-bindings: arm: fsl: Add binding for imx8ulp evk
  arm64: dts: imx8ulp: Add the basic dtsi file for imx8ulp
  arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board

 .../devicetree/bindings/arm/fsl.yaml          |   6 +
 .../bindings/i2c/i2c-imx-lpi2c.yaml           |   4 +-
 .../bindings/serial/fsl-lpuart.yaml           |   4 +-
 .../bindings/spi/spi-fsl-lpspi.yaml           |  11 +-
 .../bindings/timer/nxp,tpm-timer.yaml         |   6 +-
 .../bindings/watchdog/fsl-imx7ulp-wdt.yaml    |   7 +-
 arch/arm64/boot/dts/freescale/Makefile        |   1 +
 arch/arm64/boot/dts/freescale/imx8ulp-evk.dts |  64 ++
 .../boot/dts/freescale/imx8ulp-pinfunc.h      | 978 ++++++++++++++++++
 arch/arm64/boot/dts/freescale/imx8ulp.dtsi    | 396 +++++++
 10 files changed, 1468 insertions(+), 9 deletions(-)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8ulp-evk.dts
 create mode 100755 arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h
 create mode 100644 arch/arm64/boot/dts/freescale/imx8ulp.dtsi

-- 
2.25.1


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

* [PATCH V5 1/8] dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string
  2021-11-20 11:34 [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
@ 2021-11-20 11:34 ` Peng Fan (OSS)
  2021-11-20 11:34 ` [PATCH V5 2/8] dt-bindings: serial: fsl-lpuart: " Peng Fan (OSS)
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-20 11:34 UTC (permalink / raw)
  To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
	linux, wim, linux
  Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
	linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
	linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring,
	Peng Fan

From: Jacky Bai <ping.bai@nxp.com>

Add the compatible for i.MX8ULP.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---

 - v5 changes:
   no

 - v4 changes:
   no

 - v3 changes:
   no

 - v2 changes:
   no

 Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml
index 29b9447f3b84..0875753c7d15 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml
@@ -19,7 +19,9 @@ properties:
           - fsl,imx7ulp-lpi2c
           - fsl,imx8qm-lpi2c
       - items:
-          - const: fsl,imx8qxp-lpi2c
+          - enum:
+              - fsl,imx8qxp-lpi2c
+              - fsl,imx8ulp-lpi2c
           - const: fsl,imx7ulp-lpi2c
 
   reg:
-- 
2.25.1


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

* [PATCH V5 2/8] dt-bindings: serial: fsl-lpuart: Add imx8ulp compatible string
  2021-11-20 11:34 [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
  2021-11-20 11:34 ` [PATCH V5 1/8] dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string Peng Fan (OSS)
@ 2021-11-20 11:34 ` Peng Fan (OSS)
  2021-11-20 11:34 ` [PATCH V5 3/8] dt-bindings: spi: fsl-lpspi: " Peng Fan (OSS)
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-20 11:34 UTC (permalink / raw)
  To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
	linux, wim, linux
  Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
	linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
	linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring,
	Peng Fan

From: Jacky Bai <ping.bai@nxp.com>

The lpuart on i.MX8ULP is derived from i.MX7ULP, it uses two compatible
strings, so update the compatible string for i.MX8ULP.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---

 - v5 changes:
   no

 - v4 changes:
   no

 - v3 changes:
   no

 - v2 changes:
   refine the commit messages

 Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
index a90c971b4f1f..e7ac63dd1469 100644
--- a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
@@ -22,7 +22,9 @@ properties:
           - fsl,imx7ulp-lpuart
           - fsl,imx8qm-lpuart
       - items:
-          - const: fsl,imx8qxp-lpuart
+          - enum:
+              - fsl,imx8qxp-lpuart
+              - fsl,imx8ulp-lpuart
           - const: fsl,imx7ulp-lpuart
 
   reg:
-- 
2.25.1


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

* [PATCH V5 3/8] dt-bindings: spi: fsl-lpspi: Add imx8ulp compatible string
  2021-11-20 11:34 [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
  2021-11-20 11:34 ` [PATCH V5 1/8] dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string Peng Fan (OSS)
  2021-11-20 11:34 ` [PATCH V5 2/8] dt-bindings: serial: fsl-lpuart: " Peng Fan (OSS)
@ 2021-11-20 11:34 ` Peng Fan (OSS)
  2021-11-20 11:34 ` [PATCH V5 4/8] dt-bindings: timer: tpm-timer: " Peng Fan (OSS)
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-20 11:34 UTC (permalink / raw)
  To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
	linux, wim, linux
  Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
	linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
	linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring

From: Jacky Bai <ping.bai@nxp.com>

The lpspi on i.MX8ULP is derived from i.MX7ULP, it uses two
compatible strings, so update the comaptible string for i.MX8ULP.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
---

 - v5 changes:
   no

 - v4 changes:
   no

 - v3 changes:
   no

 - v2 changes:
   refine the commit messages

 .../devicetree/bindings/spi/spi-fsl-lpspi.yaml        | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
index 312d8fee9dbb..1d46877fe46a 100644
--- a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
@@ -14,10 +14,13 @@ allOf:
 
 properties:
   compatible:
-    enum:
-      - fsl,imx7ulp-spi
-      - fsl,imx8qxp-spi
-
+    oneOf:
+      - enum:
+          - fsl,imx7ulp-spi
+          - fsl,imx8qxp-spi
+      - items:
+          - const: fsl,imx8ulp-spi
+          - const: fsl,imx7ulp-spi
   reg:
     maxItems: 1
 
-- 
2.25.1


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

* [PATCH V5 4/8] dt-bindings: timer: tpm-timer: Add imx8ulp compatible string
  2021-11-20 11:34 [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
                   ` (2 preceding siblings ...)
  2021-11-20 11:34 ` [PATCH V5 3/8] dt-bindings: spi: fsl-lpspi: " Peng Fan (OSS)
@ 2021-11-20 11:34 ` Peng Fan (OSS)
  2021-11-20 11:34 ` [PATCH V5 5/8] dt-bindings: watchdog: imx7ulp-wdt: " Peng Fan (OSS)
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-20 11:34 UTC (permalink / raw)
  To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
	linux, wim, linux
  Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
	linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
	linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring,
	Peng Fan

From: Jacky Bai <ping.bai@nxp.com>

The tpm timer on i.MX8ULP is derived from i.MX7ULP, it use two
compatible strings, so update the compatible string for it.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 - v5 changes:
   no

 - v4 changes:
   no

 - v3 changes:
   no

 - v2 changes:
   refine the commit message

 Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml b/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml
index edd9585f6726..f69773a8e4b9 100644
--- a/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml
@@ -19,7 +19,11 @@ description: |
 
 properties:
   compatible:
-    const: fsl,imx7ulp-tpm
+    oneOf:
+      - const: fsl,imx7ulp-tpm
+      - items:
+          - const: fsl,imx8ulp-tpm
+          - const: fsl,imx7ulp-tpm
 
   reg:
     maxItems: 1
-- 
2.25.1


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

* [PATCH V5 5/8] dt-bindings: watchdog: imx7ulp-wdt: Add imx8ulp compatible string
  2021-11-20 11:34 [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
                   ` (3 preceding siblings ...)
  2021-11-20 11:34 ` [PATCH V5 4/8] dt-bindings: timer: tpm-timer: " Peng Fan (OSS)
@ 2021-11-20 11:34 ` Peng Fan (OSS)
  2021-11-20 11:34 ` [PATCH V5 6/8] dt-bindings: arm: fsl: Add binding for imx8ulp evk Peng Fan (OSS)
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-20 11:34 UTC (permalink / raw)
  To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
	linux, wim, linux
  Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
	linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
	linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring,
	Peng Fan

From: Jacky Bai <ping.bai@nxp.com>

The wdog on i.MX8ULP is derived from i.MX7ULP, it uses two compatible
strings, so update the compatible string for i.MX8ULP.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---

 - v5 changes:
   no

 - v4 changes:
   no

 - v3 changes:
   no

 - v2 changes:
   refine the commit message

 .../devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml      | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml
index 51d6d482bbc2..fb603a20e396 100644
--- a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml
@@ -14,8 +14,11 @@ allOf:
 
 properties:
   compatible:
-    enum:
-      - fsl,imx7ulp-wdt
+    oneOf:
+      - const: fsl,imx7ulp-wdt
+      - items:
+          - const: fsl,imx8ulp-wdt
+          - const: fsl,imx7ulp-wdt
 
   reg:
     maxItems: 1
-- 
2.25.1


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

* [PATCH V5 6/8] dt-bindings: arm: fsl: Add binding for imx8ulp evk
  2021-11-20 11:34 [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
                   ` (4 preceding siblings ...)
  2021-11-20 11:34 ` [PATCH V5 5/8] dt-bindings: watchdog: imx7ulp-wdt: " Peng Fan (OSS)
@ 2021-11-20 11:34 ` Peng Fan (OSS)
  2021-11-20 11:34 ` [PATCH V5 8/8] arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board Peng Fan (OSS)
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-20 11:34 UTC (permalink / raw)
  To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
	linux, wim, linux
  Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
	linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
	linux-serial, linux-spi, linux-watchdog, Jacky Bai, Rob Herring,
	Peng Fan

From: Jacky Bai <ping.bai@nxp.com>

Add the dt binding for i.MX8ULP EVK board.

i.MX 8ULP is part of the ULP family with emphasis on extreme
low-power techniques using the 28 nm fully depleted silicon on
insulator process. Like i.MX 7ULP, i.MX 8ULP continues to be
based on asymmetric architecture, however will add a third DSP
domain for advanced voice/audio capability and a Graphics domain
where it is possible to access graphics resources from the
application side or the realtime side.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 - v5 changes:
   no

 - v4 changes:
   no

 - v3 changes:
   no

 - v2 changes:
   no

 Documentation/devicetree/bindings/arm/fsl.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml
index 0b595b26061f..42b5dd546aee 100644
--- a/Documentation/devicetree/bindings/arm/fsl.yaml
+++ b/Documentation/devicetree/bindings/arm/fsl.yaml
@@ -834,6 +834,12 @@ properties:
           - const: toradex,colibri-imx8x
           - const: fsl,imx8qxp
 
+      - description: i.MX8ULP based Boards
+        items:
+          - enum:
+              - fsl,imx8ulp-evk           # i.MX8ULP EVK Board
+          - const: fsl,imx8ulp
+
       - description:
           Freescale Vybrid Platform Device Tree Bindings
 
-- 
2.25.1


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

* [PATCH V5 8/8] arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board
  2021-11-20 11:34 [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
                   ` (5 preceding siblings ...)
  2021-11-20 11:34 ` [PATCH V5 6/8] dt-bindings: arm: fsl: Add binding for imx8ulp evk Peng Fan (OSS)
@ 2021-11-20 11:34 ` Peng Fan (OSS)
  2021-11-23  0:00 ` (subset) [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP Mark Brown
  2021-11-25  9:11 ` Peng Fan
  8 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2021-11-20 11:34 UTC (permalink / raw)
  To: robh+dt, aisheng.dong, shawnguo, s.hauer, ulf.hansson, broonie,
	linux, wim, linux
  Cc: kernel, festevam, linux-imx, daniel.lezcano, devicetree,
	linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
	linux-serial, linux-spi, linux-watchdog, Jacky Bai, Peng Fan

From: Jacky Bai <ping.bai@nxp.com>

Add the basic dts file for i.MX8ULP EVK board.
Only the necessary devices for minimal system boot up are enabled:
enet, emmc, usb, console uart.

some of the devices' pin status may lost during low power mode,
so additional sleep pinctrl properties are included by default.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 - v5
  Fix eMMC bus width
  Drop pinctrl enet

 - v4
  Fix memory node
  Drop usb and fec nodes

 - v3 changes:
   no

 - v2 changes:
   add the memory node place holder
   update the license

 arch/arm64/boot/dts/freescale/Makefile        |  1 +
 arch/arm64/boot/dts/freescale/imx8ulp-evk.dts | 64 +++++++++++++++++++
 2 files changed, 65 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8ulp-evk.dts

diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index a14a6173b765..c64616192794 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -71,6 +71,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qm-mek.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8qxp-ai_ml.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8qxp-colibri-eval-v3.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb
 
 dtb-$(CONFIG_ARCH_S32) += s32g274a-evb.dtb
 dtb-$(CONFIG_ARCH_S32) += s32g274a-rdb2.dtb
diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts
new file mode 100644
index 000000000000..33e84c4e9ed8
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts
@@ -0,0 +1,64 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2021 NXP
+ */
+
+/dts-v1/;
+
+#include "imx8ulp.dtsi"
+
+/ {
+	model = "NXP i.MX8ULP EVK";
+	compatible = "fsl,imx8ulp-evk", "fsl,imx8ulp";
+
+	chosen {
+		stdout-path = &lpuart5;
+	};
+
+	memory@80000000 {
+		device_type = "memory";
+		reg = <0x0 0x80000000 0 0x80000000>;
+	};
+};
+
+&lpuart5 {
+	/* console */
+	pinctrl-names = "default", "sleep";
+	pinctrl-0 = <&pinctrl_lpuart5>;
+	pinctrl-1 = <&pinctrl_lpuart5>;
+	status = "okay";
+};
+
+&usdhc0 {
+	pinctrl-names = "default", "sleep";
+	pinctrl-0 = <&pinctrl_usdhc0>;
+	pinctrl-1 = <&pinctrl_usdhc0>;
+	non-removable;
+	bus-width = <8>;
+	status = "okay";
+};
+
+&iomuxc1 {
+	pinctrl_lpuart5: lpuart5grp {
+		fsl,pins = <
+			MX8ULP_PAD_PTF14__LPUART5_TX	0x3
+			MX8ULP_PAD_PTF15__LPUART5_RX	0x3
+		>;
+	};
+
+	pinctrl_usdhc0: usdhc0grp {
+		fsl,pins = <
+			MX8ULP_PAD_PTD1__SDHC0_CMD	0x43
+			MX8ULP_PAD_PTD2__SDHC0_CLK	0x10042
+			MX8ULP_PAD_PTD10__SDHC0_D0	0x43
+			MX8ULP_PAD_PTD9__SDHC0_D1	0x43
+			MX8ULP_PAD_PTD8__SDHC0_D2	0x43
+			MX8ULP_PAD_PTD7__SDHC0_D3	0x43
+			MX8ULP_PAD_PTD6__SDHC0_D4	0x43
+			MX8ULP_PAD_PTD5__SDHC0_D5	0x43
+			MX8ULP_PAD_PTD4__SDHC0_D6	0x43
+			MX8ULP_PAD_PTD3__SDHC0_D7	0x43
+			MX8ULP_PAD_PTD11__SDHC0_DQS	0x10042
+		>;
+	};
+};
-- 
2.25.1


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

* Re: (subset) [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP
  2021-11-20 11:34 [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
                   ` (6 preceding siblings ...)
  2021-11-20 11:34 ` [PATCH V5 8/8] arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board Peng Fan (OSS)
@ 2021-11-23  0:00 ` Mark Brown
  2021-11-25  9:11 ` Peng Fan
  8 siblings, 0 replies; 12+ messages in thread
From: Mark Brown @ 2021-11-23  0:00 UTC (permalink / raw)
  To: robh+dt, aisheng.dong, shawnguo, wim, s.hauer, Peng Fan (OSS),
	ulf.hansson, linux, linux
  Cc: kernel, linux-spi, linux-serial, linux-i2c, linux-watchdog,
	daniel.lezcano, linux-imx, devicetree, linux-mmc,
	linux-arm-kernel, festevam, Peng Fan, linux-kernel

On Sat, 20 Nov 2021 19:34:46 +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> 
> V5:
>  only fix patch 8/8 "arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board"
>   - Correct bus-width to 8 for eMMC
>   - Drop pinctrl enet which no user
>  Drop patch 1/9 in V4, since in merged in linux-next
>  Add A-b/R-b tag
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[3/8] dt-bindings: spi: fsl-lpspi: Add imx8ulp compatible string
      commit: 49cd1eb37b487036f51bd57b591f7b5760a10e02

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

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

* RE: [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP
  2021-11-20 11:34 [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
                   ` (7 preceding siblings ...)
  2021-11-23  0:00 ` (subset) [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP Mark Brown
@ 2021-11-25  9:11 ` Peng Fan
  2021-11-25  9:19   ` Peng Fan
  8 siblings, 1 reply; 12+ messages in thread
From: Peng Fan @ 2021-11-25  9:11 UTC (permalink / raw)
  To: Peng Fan (OSS),
	robh+dt, Aisheng Dong, shawnguo, s.hauer, ulf.hansson, broonie,
	linux, wim, linux
  Cc: kernel, festevam, dl-linux-imx, daniel.lezcano, devicetree,
	linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
	linux-serial, linux-spi, linux-watchdog

Hi Shawn,

> Subject: [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP
> 
> From: Peng Fan <peng.fan@nxp.com>
> 
> 
> V5:
>  only fix patch 8/8 "arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk
> board"
>   - Correct bus-width to 8 for eMMC
>   - Drop pinctrl enet which no user
>  Drop patch 1/9 in V4, since in merged in linux-next  Add A-b/R-b tag
> 
> V4:
> 
> https://lists.infradead.org/pipermail/linux-arm-kernel/2021-November/6960
> 20.html
> 
> I just pick-up Jacky's work, rebase and send out V4 based on Jacky's V3
> patchset.
> 
> If you prefer to split the patchset and send single patches, I could resend one
> by one.
> 
> Note: the V3 has a gpio bindings patch, it has been separated and sent to gpio
> list in a single one per Linus requested.
> 
> This patchset is to add i.MX8ULP in dt-bindings, introduce basic i.MX8ULP dtsi
> and basic evk board support.
> 
> The detailed version changes are in each patch.
> 
> There is checkpatch error in patch 8, but that is for device tree macro and we
> could use use "(xx)".
> 
> In V4, the changes are in patch 8, 9 when rebasing to linux-next/master ,fix
> build errors after the clk driver in tree and drop a few nodes that not have
> bindings.
> 
> Tested with CONFIG_CLK_IMX8ULP and CONFIG_PINCTRL_IMX8ULP
> enabled.
> 
> V3:
> 
> https://lore.kernel.org/linux-arm-kernel/20210625011355.3468586-6-ping.b
> ai@nxp.com/T/
> 
> Jacky Bai (8):
>   dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string
>   dt-bindings: serial: fsl-lpuart: Add imx8ulp compatible string
>   dt-bindings: spi: fsl-lpspi: Add imx8ulp compatible string
>   dt-bindings: timer: tpm-timer: Add imx8ulp compatible string
>   dt-bindings: watchdog: imx7ulp-wdt: Add imx8ulp compatible string
>   dt-bindings: arm: fsl: Add binding for imx8ulp evk
>   arm64: dts: imx8ulp: Add the basic dtsi file for imx8ulp
>   arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board

For the several dt-bindings, patch 3 has been taken by SPI maintainer, 

All patches have got R-b or A-b tag.

would you pick others bindings or they should go through subsystem
maintainer's tree?

Thanks,
Peng.

> 
>  .../devicetree/bindings/arm/fsl.yaml          |   6 +
>  .../bindings/i2c/i2c-imx-lpi2c.yaml           |   4 +-
>  .../bindings/serial/fsl-lpuart.yaml           |   4 +-
>  .../bindings/spi/spi-fsl-lpspi.yaml           |  11 +-
>  .../bindings/timer/nxp,tpm-timer.yaml         |   6 +-
>  .../bindings/watchdog/fsl-imx7ulp-wdt.yaml    |   7 +-
>  arch/arm64/boot/dts/freescale/Makefile        |   1 +
>  arch/arm64/boot/dts/freescale/imx8ulp-evk.dts |  64 ++
>  .../boot/dts/freescale/imx8ulp-pinfunc.h      | 978 ++++++++++++++++++
>  arch/arm64/boot/dts/freescale/imx8ulp.dtsi    | 396 +++++++
>  10 files changed, 1468 insertions(+), 9 deletions(-)  create mode 100644
> arch/arm64/boot/dts/freescale/imx8ulp-evk.dts
>  create mode 100755 arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h
>  create mode 100644 arch/arm64/boot/dts/freescale/imx8ulp.dtsi
> 
> --
> 2.25.1


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

* RE: [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP
  2021-11-25  9:11 ` Peng Fan
@ 2021-11-25  9:19   ` Peng Fan
  2021-11-25  9:32     ` Wolfram Sang
  0 siblings, 1 reply; 12+ messages in thread
From: Peng Fan @ 2021-11-25  9:19 UTC (permalink / raw)
  To: Peng Fan (OSS),
	robh+dt, Aisheng Dong, shawnguo, s.hauer, ulf.hansson, broonie,
	linux, wim, linux
  Cc: kernel, festevam, dl-linux-imx, daniel.lezcano, devicetree,
	linux-kernel, linux-i2c, linux-arm-kernel, linux-mmc,
	linux-serial, linux-spi, linux-watchdog

> Subject: RE: [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP

Seems there is conflict after Abel's patchset in next tree, I'll rebase.

Thanks,
Peng.

> 
> Hi Shawn,
> 
> > Subject: [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP
> >
> > From: Peng Fan <peng.fan@nxp.com>
> >
> >
> > V5:
> >  only fix patch 8/8 "arm64: dts: imx8ulp: Add the basic dts for
> > imx8ulp evk board"
> >   - Correct bus-width to 8 for eMMC
> >   - Drop pinctrl enet which no user
> >  Drop patch 1/9 in V4, since in merged in linux-next  Add A-b/R-b tag
> >
> > V4:
> >
> > https://lists.infradead.org/pipermail/linux-arm-kernel/2021-November/6
> > 960
> > 20.html
> >
> > I just pick-up Jacky's work, rebase and send out V4 based on Jacky's
> > V3 patchset.
> >
> > If you prefer to split the patchset and send single patches, I could
> > resend one by one.
> >
> > Note: the V3 has a gpio bindings patch, it has been separated and sent
> > to gpio list in a single one per Linus requested.
> >
> > This patchset is to add i.MX8ULP in dt-bindings, introduce basic
> > i.MX8ULP dtsi and basic evk board support.
> >
> > The detailed version changes are in each patch.
> >
> > There is checkpatch error in patch 8, but that is for device tree
> > macro and we could use use "(xx)".
> >
> > In V4, the changes are in patch 8, 9 when rebasing to
> > linux-next/master ,fix build errors after the clk driver in tree and
> > drop a few nodes that not have bindings.
> >
> > Tested with CONFIG_CLK_IMX8ULP and CONFIG_PINCTRL_IMX8ULP
> enabled.
> >
> > V3:
> >
> > https://lore.kernel.org/linux-arm-kernel/20210625011355.3468586-6-ping
> > .b
> > ai@nxp.com/T/
> >
> > Jacky Bai (8):
> >   dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string
> >   dt-bindings: serial: fsl-lpuart: Add imx8ulp compatible string
> >   dt-bindings: spi: fsl-lpspi: Add imx8ulp compatible string
> >   dt-bindings: timer: tpm-timer: Add imx8ulp compatible string
> >   dt-bindings: watchdog: imx7ulp-wdt: Add imx8ulp compatible string
> >   dt-bindings: arm: fsl: Add binding for imx8ulp evk
> >   arm64: dts: imx8ulp: Add the basic dtsi file for imx8ulp
> >   arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board
> 
> For the several dt-bindings, patch 3 has been taken by SPI maintainer,
> 
> All patches have got R-b or A-b tag.
> 
> would you pick others bindings or they should go through subsystem
> maintainer's tree?
> 
> Thanks,
> Peng.
> 
> >
> >  .../devicetree/bindings/arm/fsl.yaml          |   6 +
> >  .../bindings/i2c/i2c-imx-lpi2c.yaml           |   4 +-
> >  .../bindings/serial/fsl-lpuart.yaml           |   4 +-
> >  .../bindings/spi/spi-fsl-lpspi.yaml           |  11 +-
> >  .../bindings/timer/nxp,tpm-timer.yaml         |   6 +-
> >  .../bindings/watchdog/fsl-imx7ulp-wdt.yaml    |   7 +-
> >  arch/arm64/boot/dts/freescale/Makefile        |   1 +
> >  arch/arm64/boot/dts/freescale/imx8ulp-evk.dts |  64 ++
> >  .../boot/dts/freescale/imx8ulp-pinfunc.h      | 978
> ++++++++++++++++++
> >  arch/arm64/boot/dts/freescale/imx8ulp.dtsi    | 396 +++++++
> >  10 files changed, 1468 insertions(+), 9 deletions(-)  create mode
> > 100644 arch/arm64/boot/dts/freescale/imx8ulp-evk.dts
> >  create mode 100755 arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h
> >  create mode 100644 arch/arm64/boot/dts/freescale/imx8ulp.dtsi
> >
> > --
> > 2.25.1


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

* Re: [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP
  2021-11-25  9:19   ` Peng Fan
@ 2021-11-25  9:32     ` Wolfram Sang
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfram Sang @ 2021-11-25  9:32 UTC (permalink / raw)
  To: Peng Fan
  Cc: Peng Fan (OSS),
	robh+dt, Aisheng Dong, shawnguo, s.hauer, ulf.hansson, broonie,
	linux, wim, linux, kernel, festevam, dl-linux-imx,
	daniel.lezcano, devicetree, linux-kernel, linux-i2c,
	linux-arm-kernel, linux-mmc, linux-serial, linux-spi,
	linux-watchdog

[-- Attachment #1: Type: text/plain, Size: 132 bytes --]


> Seems there is conflict after Abel's patchset in next tree, I'll rebase.

True also for the I2C patch. A rebase would be great!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2021-11-25  9:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-20 11:34 [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP Peng Fan (OSS)
2021-11-20 11:34 ` [PATCH V5 1/8] dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string Peng Fan (OSS)
2021-11-20 11:34 ` [PATCH V5 2/8] dt-bindings: serial: fsl-lpuart: " Peng Fan (OSS)
2021-11-20 11:34 ` [PATCH V5 3/8] dt-bindings: spi: fsl-lpspi: " Peng Fan (OSS)
2021-11-20 11:34 ` [PATCH V5 4/8] dt-bindings: timer: tpm-timer: " Peng Fan (OSS)
2021-11-20 11:34 ` [PATCH V5 5/8] dt-bindings: watchdog: imx7ulp-wdt: " Peng Fan (OSS)
2021-11-20 11:34 ` [PATCH V5 6/8] dt-bindings: arm: fsl: Add binding for imx8ulp evk Peng Fan (OSS)
2021-11-20 11:34 ` [PATCH V5 8/8] arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board Peng Fan (OSS)
2021-11-23  0:00 ` (subset) [PATCH V5 0/8] dt-bindinds/dts: support i.MX8ULP Mark Brown
2021-11-25  9:11 ` Peng Fan
2021-11-25  9:19   ` Peng Fan
2021-11-25  9:32     ` Wolfram Sang

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