linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/3] arm64: dts: imx8qxp: dtb aliases fix/update
@ 2020-06-23  6:49 peng.fan
  2020-06-23  6:49 ` [PATCH V2 1/3] arm64: dts: imx8qxp: add alias for lsio MU peng.fan
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: peng.fan @ 2020-06-23  6:49 UTC (permalink / raw)
  To: shawnguo, fabio.estevam, kernel, aisheng.dong
  Cc: linux-arm-kernel, linux-kernel, linux-imx, leonard.crestez,
	daniel.baluta, l.stach, devicetree, Peng Fan

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

V2:
 Fix order in patch 2/3, no other changes

Minor patchset to fix and update alias for i.MX8QXP

Peng Fan (3):
  arm64: dts: imx8qxp: add alias for lsio MU
  arm64: dts: imx8qxp: add i2c aliases
  arm64: dts: imx8qxp: Add ethernet alias

 arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
2.16.4


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

* [PATCH V2 1/3] arm64: dts: imx8qxp: add alias for lsio MU
  2020-06-23  6:49 [PATCH V2 0/3] arm64: dts: imx8qxp: dtb aliases fix/update peng.fan
@ 2020-06-23  6:49 ` peng.fan
  2020-06-23  6:49 ` [PATCH V2 2/3] arm64: dts: imx8qxp: add i2c aliases peng.fan
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: peng.fan @ 2020-06-23  6:49 UTC (permalink / raw)
  To: shawnguo, fabio.estevam, kernel, aisheng.dong
  Cc: linux-arm-kernel, linux-kernel, linux-imx, leonard.crestez,
	daniel.baluta, l.stach, devicetree, Peng Fan

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

Add lsio mu alias for all lsio MUs that could communicate with SCU,
imx_scu_enable_general_irq_channel will parse the alias to get
the mu resource id, if using other MU, not MU1, the `mu_resource_id`
is not what we expect, so add alias to fix this issue.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index d1c3c98e4b39..33363c127478 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -30,7 +30,11 @@
 		mmc0 = &usdhc1;
 		mmc1 = &usdhc2;
 		mmc2 = &usdhc3;
+		mu0 = &lsio_mu0;
 		mu1 = &lsio_mu1;
+		mu2 = &lsio_mu2;
+		mu3 = &lsio_mu3;
+		mu4 = &lsio_mu4;
 		serial0 = &adma_lpuart0;
 		serial1 = &adma_lpuart1;
 		serial2 = &adma_lpuart2;
-- 
2.16.4


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

* [PATCH V2 2/3] arm64: dts: imx8qxp: add i2c aliases
  2020-06-23  6:49 [PATCH V2 0/3] arm64: dts: imx8qxp: dtb aliases fix/update peng.fan
  2020-06-23  6:49 ` [PATCH V2 1/3] arm64: dts: imx8qxp: add alias for lsio MU peng.fan
@ 2020-06-23  6:49 ` peng.fan
  2020-06-23  6:49 ` [PATCH V2 3/3] arm64: dts: imx8qxp: Add ethernet alias peng.fan
  2020-06-23 11:07 ` [PATCH V2 0/3] arm64: dts: imx8qxp: dtb aliases fix/update Shawn Guo
  3 siblings, 0 replies; 5+ messages in thread
From: peng.fan @ 2020-06-23  6:49 UTC (permalink / raw)
  To: shawnguo, fabio.estevam, kernel, aisheng.dong
  Cc: linux-arm-kernel, linux-kernel, linux-imx, leonard.crestez,
	daniel.baluta, l.stach, devicetree, Peng Fan

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

The devices could be enumerated properly with aliases.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index 33363c127478..3b2fada99c09 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -27,6 +27,10 @@
 		gpio5 = &lsio_gpio5;
 		gpio6 = &lsio_gpio6;
 		gpio7 = &lsio_gpio7;
+		i2c0 = &adma_i2c0;
+		i2c1 = &adma_i2c1;
+		i2c2 = &adma_i2c2;
+		i2c3 = &adma_i2c3;
 		mmc0 = &usdhc1;
 		mmc1 = &usdhc2;
 		mmc2 = &usdhc3;
-- 
2.16.4


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

* [PATCH V2 3/3] arm64: dts: imx8qxp: Add ethernet alias
  2020-06-23  6:49 [PATCH V2 0/3] arm64: dts: imx8qxp: dtb aliases fix/update peng.fan
  2020-06-23  6:49 ` [PATCH V2 1/3] arm64: dts: imx8qxp: add alias for lsio MU peng.fan
  2020-06-23  6:49 ` [PATCH V2 2/3] arm64: dts: imx8qxp: add i2c aliases peng.fan
@ 2020-06-23  6:49 ` peng.fan
  2020-06-23 11:07 ` [PATCH V2 0/3] arm64: dts: imx8qxp: dtb aliases fix/update Shawn Guo
  3 siblings, 0 replies; 5+ messages in thread
From: peng.fan @ 2020-06-23  6:49 UTC (permalink / raw)
  To: shawnguo, fabio.estevam, kernel, aisheng.dong
  Cc: linux-arm-kernel, linux-kernel, linux-imx, leonard.crestez,
	daniel.baluta, l.stach, devicetree, Peng Fan

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

Add ethernet alias, so bootloader code can use this to find the
primary ethernet device, and set the MAC address.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
index 3b2fada99c09..e46faac1fe71 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
@@ -19,6 +19,8 @@
 	#size-cells = <2>;
 
 	aliases {
+		ethernet0 = &fec1;
+		ethernet1 = &fec2;
 		gpio0 = &lsio_gpio0;
 		gpio1 = &lsio_gpio1;
 		gpio2 = &lsio_gpio2;
-- 
2.16.4


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

* Re: [PATCH V2 0/3] arm64: dts: imx8qxp: dtb aliases fix/update
  2020-06-23  6:49 [PATCH V2 0/3] arm64: dts: imx8qxp: dtb aliases fix/update peng.fan
                   ` (2 preceding siblings ...)
  2020-06-23  6:49 ` [PATCH V2 3/3] arm64: dts: imx8qxp: Add ethernet alias peng.fan
@ 2020-06-23 11:07 ` Shawn Guo
  3 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2020-06-23 11:07 UTC (permalink / raw)
  To: peng.fan
  Cc: fabio.estevam, kernel, aisheng.dong, linux-arm-kernel,
	linux-kernel, linux-imx, leonard.crestez, daniel.baluta, l.stach,
	devicetree

On Tue, Jun 23, 2020 at 02:49:51PM +0800, peng.fan@nxp.com wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> V2:
>  Fix order in patch 2/3, no other changes
> 
> Minor patchset to fix and update alias for i.MX8QXP
> 
> Peng Fan (3):
>   arm64: dts: imx8qxp: add alias for lsio MU
>   arm64: dts: imx8qxp: add i2c aliases
>   arm64: dts: imx8qxp: Add ethernet alias

Applied, thanks.

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

end of thread, other threads:[~2020-06-23 11:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-23  6:49 [PATCH V2 0/3] arm64: dts: imx8qxp: dtb aliases fix/update peng.fan
2020-06-23  6:49 ` [PATCH V2 1/3] arm64: dts: imx8qxp: add alias for lsio MU peng.fan
2020-06-23  6:49 ` [PATCH V2 2/3] arm64: dts: imx8qxp: add i2c aliases peng.fan
2020-06-23  6:49 ` [PATCH V2 3/3] arm64: dts: imx8qxp: Add ethernet alias peng.fan
2020-06-23 11:07 ` [PATCH V2 0/3] arm64: dts: imx8qxp: dtb aliases fix/update 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).