Skip to contentSkip to conversation

arm64: dts: add LX2160AQDS board support

PATCH New Pankaj Bansal 3 participants 9 messages Sep 21, 2018 – Oct 31, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: add LX2160AQDS board support

The LX2160A QorIQ Development System (QDS) is a test, evaluation, and development platform, supporting QorIQ LX2160A processor.

---

Notes:

    This patch is dependent on [1] and [2]
     [1] https://lore.kernel.org/patchwork/patch/985935/
     [2] https://lore.kernel.org/patchwork/patch/985938/
 arch/arm64/boot/dts/freescale/Makefile       |  1 +
 .../boot/dts/freescale/fsl-lx2160a-qds.dts   | 88 ++++++++++++++++++
 2 files changed, 89 insertions(+)
arch/arm64/boot/dts/freescale/Makefile +1 -0
index 445b72bd5a36..ae80fc5c45f7 100644
@@ -14,3 +14,4 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-qds.dtb
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +88 -0

88 lines not on this page · raw message

Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 arm64: dts: add LX2160AQDS board support

Quoted 11 lines · Pankaj Bansal

The LX2160A QorIQ Development System (QDS) is a test, evaluation, and development platform, supporting QorIQ LX2160A processor.

---

Notes:

    This patch is dependent on [1] and [2]
     [1] https://lore.kernel.org/patchwork/patch/985935/
     [2] https://lore.kernel.org/patchwork/patch/985938/

I did not receive these.

Quoted 10 lines
 arch/arm64/boot/dts/freescale/Makefile       |  1 +
 .../boot/dts/freescale/fsl-lx2160a-qds.dts   | 88 ++++++++++++++++++
 2 files changed, 89 insertions(+)
arch/arm64/boot/dts/freescale/Makefile +0 -0
index 445b72bd5a36..ae80fc5c45f7 100644

arch/arm64/boot/dts/freescale/Makefile dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb · line 17

Quoted 4 lines
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -14,3 +14,4 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-qds.dtb

Please keep them in alphabetic order.

Quoted 24 lines
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +18 -0
new file mode 100644
index 000000000000..5cf2fe279f73
@@ -0,0 +1,88 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+//
+// Device Tree file for LX2160AQDS
+//
+// Copyright 2018 NXP
+
+/dts-v1/;
+
+#include "fsl-lx2160a.dtsi"
+
+/ {
+	model = "NXP Layerscape LX2160AQDS";
+	compatible = "fsl,lx2160a-qds", "fsl,lx2160a";
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+};

arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts line 28

Quoted 10 lines
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +10 -0
+
+&uart0 {
+	status = "okay";
+};
+
+&uart1 {
+	status = "okay";
+};
+
+&i2c0 {

Sort these labeled nodes alphabetically, so that new additions can find their place easier.

arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts line 29

Quoted 1 line
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +1 -0
+	status = "okay";

Have a newline between property list and child node.

Shawn

Quoted 67 lines
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +59 -0
+	i2c-mux at 77 {
+		compatible = "nxp,pca9547";
+		reg = <0x77>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		i2c at 2 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x2>;
+
+			power-monitor at 40 {
+				compatible = "ti,ina220";
+				reg = <0x40>;
+				shunt-resistor = <500>;
+			};
+
+			power-monitor at 41 {
+				compatible = "ti,ina220";
+				reg = <0x41>;
+				shunt-resistor = <1000>;
+			};
+		};
+
+		i2c at 3 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x3>;
+
+			temperature-sensor at 4c {
+				compatible = "nxp,sa56004";
+				reg = <0x4c>;
+			};
+
+			temperature-sensor at 4d {
+				compatible = "nxp,sa56004";
+				reg = <0x4d>;
+			};
+
+			rtc at 51 {
+				compatible = "nxp,pcf2129";
+				reg = <0x51>;
+			};
+		};
+	};
+};
+
+&usb0 {
+	status = "okay";
+};
+
+&usb1 {
+	status = "okay";
+};
+
+&crypto {
+	status = "okay";
+};
+
Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#2 lore raw

PATCH 1/1 arm64: dts: add LX2160AQDS board support

Quoted 9 lines · Shawn Guo
Quoted 7 lines · Pankaj Bansal

The LX2160A QorIQ Development System (QDS) is a test, evaluation, and development platform, supporting QorIQ LX2160A processor.

---

Quoted 6 lines
Quoted 4 lines

Notes:

    This patch is dependent on [1] and [2]
     [1] https://lore.kernel.org/patchwork/patch/985935/
     [2] https://lore.kernel.org/patchwork/patch/985938/

I did not receive these.

Please add the Shawn Guo and me in "to" recipients when you send next version of these patches. And, btw, I find there is a v3 now, but your link is still pointing to the v2.

Quoted 129 lines
Quoted 11 lines

 arch/arm64/boot/dts/freescale/Makefile       |  1 +
 .../boot/dts/freescale/fsl-lx2160a-qds.dts   | 88 ++++++++++++++++++
 2 files changed, 89 insertions(+)
arch/arm64/boot/dts/freescale/Makefile +0 -0
index 445b72bd5a36..ae80fc5c45f7 100644

arch/arm64/boot/dts/freescale/Makefile dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb · line 17

Quoted 4 lines
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -14,3 +14,4 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-qds.dtb

Please keep them in alphabetic order.

Quoted 24 lines
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +18 -0
new file mode 100644
index 000000000000..5cf2fe279f73
@@ -0,0 +1,88 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+//
+// Device Tree file for LX2160AQDS
+//
+// Copyright 2018 NXP
+
+/dts-v1/;
+
+#include "fsl-lx2160a.dtsi"
+
+/ {
+     model = "NXP Layerscape LX2160AQDS";
+     compatible = "fsl,lx2160a-qds", "fsl,lx2160a";
+
+     chosen {
+             stdout-path = "serial0:115200n8";
+     };
+};

arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts line 28

Quoted 10 lines
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +10 -0
+
+&uart0 {
+     status = "okay";
+};
+
+&uart1 {
+     status = "okay";
+};
+
+&i2c0 {

Sort these labeled nodes alphabetically, so that new additions can find their place easier.

arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts line 29

Quoted 1 line
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +1 -0
+     status = "okay";

Have a newline between property list and child node.

Shawn

Quoted 67 lines
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +59 -1
+     i2c-mux at 77 {
+             compatible = "nxp,pca9547";
+             reg = <0x77>;
+             #address-cells = <1>;
+             #size-cells = <0>;
+
+             i2c at 2 {
+                     #address-cells = <1>;
+                     #size-cells = <0>;
+                     reg = <0x2>;
+
+                     power-monitor at 40 {
+                             compatible = "ti,ina220";
+                             reg = <0x40>;
+                             shunt-resistor = <500>;
+                     };
+
+                     power-monitor at 41 {
+                             compatible = "ti,ina220";
+                             reg = <0x41>;
+                             shunt-resistor = <1000>;
+                     };
+             };
+
+             i2c at 3 {
+                     #address-cells = <1>;
+                     #size-cells = <0>;
+                     reg = <0x3>;
+
+                     temperature-sensor at 4c {
+                             compatible = "nxp,sa56004";
+                             reg = <0x4c>;
+                     };
+
+                     temperature-sensor at 4d {
+                             compatible = "nxp,sa56004";
+                             reg = <0x4d>;
+                     };
+
+                     rtc at 51 {
+                             compatible = "nxp,pcf2129";
+                             reg = <0x51>;
+                     };
+             };
+     };
+};
+
+&usb0 {
+     status = "okay";
+};
+
+&usb1 {
+     status = "okay";
+};
+
+&crypto {
+     status = "okay";
+};
+
--

2.17.1

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw

PATCH 1/1 arm64: dts: add LX2160AQDS board support

Hi Leo,

Quoted 46 lines

-----Original Message-----
From: Li Yang [mailto:leoyang.li at nxp.com]
Sent: Saturday, September 29, 2018 12:51 AM
To: Shawn Guo <[email protected]>
Cc: Pankaj Bansal <[email protected]>; moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE <linux-arm- kernel at lists.infradead.org>; Mark Rutland <[email protected]>; open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS <[email protected]>; Yogesh Narayan Gaur <[email protected]>; Rob Herring <[email protected]>; Vabhav Sharma <[email protected]>; Sriram Dash <[email protected]>
Subject: Re: [PATCH] arm64: dts: add LX2160AQDS board support

Quoted 5 lines · Shawn Guo
Quoted 3 lines · Pankaj Bansal

The LX2160A QorIQ Development System (QDS) is a test, evaluation, and development platform, supporting QorIQ LX2160A processor.

Quoted 7 lines
Quoted 7 lines

---

Notes:
This patch is dependent on [1] and [2]
[1]

https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flo
re.kernel.org%2Fpatchwork%2Fpatch%2F985935%2F&amp;data=02%7C01 %7Cpankaj.bansal%40nxp.com%7C9463713031ba421c0b7808d625778d4d %7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6367375927397 12471&amp;sdata=n8dSYL1yq2zsaVHy4LnnpglK%2Fjn0f4sED0LX3XQma5Y %3D&amp;reserved=0

Quoted 2 lines
Quoted 2 lines
     [2]

https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fl

Quoted 1 line
Quoted 1 line

ore.kernel.org%2Fpatchwork%2Fpatch%2F985938%2F&amp;data=02%7C0 1%7Cpa

Quoted 1 line
Quoted 1 line

nkaj.bansal%40nxp.com%7C9463713031ba421c0b7808d625778d4d%7C6 86ea1d3b

Quoted 1 line
Quoted 1 line

c2b4c6fa92cd99c5c301635%7C0%7C0%7C636737592739712471&amp;sd ata=SWxih

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

D1cQTvjnUslr2%2BfBndYvmsCJveIGboc4i5fssU%3D&amp;reserved=0

I did not receive these.

Please add the Shawn Guo and me in "to" recipients when you send next version of these patches. And, btw, I find there is a v3 now, but your link is still pointing to the v2.

Vabhav Sharma sent the patches for LX2160A SOC support. I will ask him to include you and Shawn Guo to add in to list. I have sent only this patch for LX2160AQDS board, which depends on LX2160A SOC support.

When I sent this patch V2 of SOC patches was the latest version.
I will update the links to V3 SOC support patches, when I send V2 of this patch.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines


 arch/arm64/boot/dts/freescale/Makefile       |  1 +
 .../boot/dts/freescale/fsl-lx2160a-qds.dts   | 88 ++++++++++++++++++
 2 files changed, 89 insertions(+)
Quoted 13 lines
Quoted 5 lines
Quoted 5 lines
arch/arm64/boot/dts/freescale/Makefile +0 -0
index 445b72bd5a36..ae80fc5c45f7 100644
Quoted 8 lines
Quoted 6 lines
arch/arm64/boot/dts/freescale/Makefile +0 -0
@@ -14,3 +14,4 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) +=

fsl-ls2080a-simu.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-qds.dtb

Please keep them in alphabetic order.

Ok.

Quoted 28 lines
Quoted 28 lines
Quoted 28 lines
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +20 -0
new file mode 100644
index 000000000000..5cf2fe279f73
@@ -0,0 +1,88 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT) // // Device Tree file
+for LX2160AQDS // // Copyright 2018 NXP
+
+/dts-v1/;
+
+#include "fsl-lx2160a.dtsi"
+
+/ {
+     model = "NXP Layerscape LX2160AQDS";
+     compatible = "fsl,lx2160a-qds", "fsl,lx2160a";
+
+     chosen {
+             stdout-path = "serial0:115200n8";
+     };
+};
+
+&uart0 {
+     status = "okay";
+};
+
Quoted 8 lines
Quoted 8 lines

arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts line 28

Quoted 5 lines
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +5 -0
+&uart1 {
+     status = "okay";
+};
+
+&i2c0 {

Sort these labeled nodes alphabetically, so that new additions can find their place easier.

Ok.

Quoted 4 lines
Quoted 4 lines

arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts line 26

Quoted 2 lines
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +1 -0
+     status = "okay";

Have a newline between property list and child node.

Ok.

Quoted 83 lines
Quoted 66 lines

Shawn

Quoted 63 lines
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +59 -1
+     i2c-mux at 77 {
+             compatible = "nxp,pca9547";
+             reg = <0x77>;
+             #address-cells = <1>;
+             #size-cells = <0>;
+
+             i2c at 2 {
+                     #address-cells = <1>;
+                     #size-cells = <0>;
+                     reg = <0x2>;
+
+                     power-monitor at 40 {
+                             compatible = "ti,ina220";
+                             reg = <0x40>;
+                             shunt-resistor = <500>;
+                     };
+
+                     power-monitor at 41 {
+                             compatible = "ti,ina220";
+                             reg = <0x41>;
+                             shunt-resistor = <1000>;
+                     };
+             };
+
+             i2c at 3 {
+                     #address-cells = <1>;
+                     #size-cells = <0>;
+                     reg = <0x3>;
+
+                     temperature-sensor at 4c {
+                             compatible = "nxp,sa56004";
+                             reg = <0x4c>;
+                     };
+
+                     temperature-sensor at 4d {
+                             compatible = "nxp,sa56004";
+                             reg = <0x4d>;
+                     };
+
+                     rtc at 51 {
+                             compatible = "nxp,pcf2129";
+                             reg = <0x51>;
+                     };
+             };
+     };
+};
+
+&usb0 {
+     status = "okay";
+};
+
+&usb1 {
+     status = "okay";
+};
+
+&crypto {
+     status = "okay";
+};
+
--

2.17.1

Quoted 4 lines
Quoted 4 lines

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org

https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fli

Quoted 1 line
Quoted 1 line

sts.infradead.org%2Fmailman%2Flistinfo%2Flinux-arm-

kernel&amp;data=0

Quoted 1 line
Quoted 1 line

2%7C01%7Cpankaj.bansal%40nxp.com%7C9463713031ba421c0b7808d62 5778d4d%

Quoted 1 line
Quoted 1 line

7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63673759273971 2471&amp;

Quoted 1 line
Quoted 1 line

sdata=zjGNGbbV8ODaRnL%2F762TTTtRdBC12rbEwD2Gcq3LI0c%3D&amp;r eserved=

Quoted 1 line
Quoted 1 line

0

#4 lore raw

PATCH v2 1/1 arm64: dts: add LX2160AQDS board support

In reply to Pankaj Bansal

The LX2160A QorIQ Development System (QDS) is a test, evaluation, and development platform, supporting QorIQ LX2160A processor.

---

Notes:
V2:
- Sorted the nodes alphabetically
- Sorted the files' in Makefile alphabetically
- Added newline between property list and sub nodes
- Added and defined vcc-supply property to temperature sensor node in device tree

This patch is dependent on below patches
[1] https://lore.kernel.org/patchwork/patch/995430/
[2] https://lore.kernel.org/patchwork/patch/995433/
[3] https://lore.kernel.org/patchwork/patch/995434/

 arch/arm64/boot/dts/freescale/Makefile       |   1 +
 .../boot/dts/freescale/fsl-lx2160a-qds.dts   | 100 +++++++++++++++++
 2 files changed, 101 insertions(+)
arch/arm64/boot/dts/freescale/Makefile +1 -0
index 445b72bd5a36..46b1479b7a6b 100644
@@ -13,4 +13,5 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +100 -0

100 lines not on this page · raw message

Signature · 1 line
2.17.1
#5 lore raw

PATCH v3 1/1 arm64: dts: add LX2160AQDS board support

The LX2160A QorIQ Development System (QDS) is a test, evaluation, and development platform, supporting QorIQ LX2160A processor.

---

Notes:
V3:
- Updated temperature sensor regulator name in board device tree
- Added esdhc controller nodes in board device tree
- Added aliases for uart/crypto nodes
V2:
- Sorted the nodes alphabetically
- Sorted the files' in Makefile alphabetically
- Added newline between property list and sub nodes
- Added and defined vcc-supply property to temperature sensor node in device tree

This patch is dependent on below patches
[1] https://lore.kernel.org/patchwork/project/lkml/list/?series=369563

 arch/arm64/boot/dts/freescale/Makefile       |   1 +
 .../boot/dts/freescale/fsl-lx2160a-qds.dts   | 112 +++++++++++++++++
 2 files changed, 113 insertions(+)
arch/arm64/boot/dts/freescale/Makefile +1 -0
index 445b72bd5a36..46b1479b7a6b 100644
@@ -13,4 +13,5 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts new file +112 -0

112 lines not on this page · raw message

Signature · 1 line
2.17.1
#7 lore raw

PATCH v3 1/1 arm64: dts: add LX2160AQDS board support

Quoted 9 lines · Shawn Guo
Quoted 5 lines · Pankaj Bansal

The LX2160A QorIQ Development System (QDS) is a test, evaluation, and development platform, supporting QorIQ LX2160A processor.

Looks good to me. @Leo, are you okay with it?

Yes. But be aware that the dependency patches of this patch are not applied yet.

Quoted 2 lines

Shawn