Skip to contentSkip to conversation

powerpc: dts: p1010: add i2c node

PATCH New Biwen Li 3 participants 4 messages Apr 12, 2020 – May 6, 2020 PowerPC

lore
Share & tools
lore

Biwen Li

author
#0 lore raw

PATCH 1/1 powerpc: dts: p1010: add i2c node

From: Biwen Li <[email protected]>

Add i2c node of p1010

---
 arch/powerpc/dts/p1010rdb-pb.dts     |  1 +
 arch/powerpc/dts/p1010rdb-pb_36b.dts |  1 +
 arch/powerpc/dts/p1010rdb.dtsi       | 14 ++++++++++++++
 arch/powerpc/dts/p1010si-post.dtsi   |  2 ++
 4 files changed, 18 insertions(+)
 create mode 100644 arch/powerpc/dts/p1010rdb.dtsi
arch/powerpc/dts/p1010rdb-pb.dts +1 -0
index 2675d5d92b..9ca562534f 100644
@@ -15,3 +15,4 @@
 };
 
 /include/ "p1010si-post.dtsi"
+/include/ "p1010rdb.dtsi"
arch/powerpc/dts/p1010rdb-pb_36b.dts +1 -0
index 45ccf91c41..eeff2a8704 100644
@@ -15,3 +15,4 @@
 };
 
 /include/ "p1010si-post.dtsi"
+/include/ "p1010rdb.dtsi"
arch/powerpc/dts/p1010rdb.dtsi new file +14 -0
new file mode 100644
index 0000000000..4f58ee2446
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+ OR X11
+/*
+ * P1010RDB Device Tree Source
+ *
+ * Copyright 2020 NXP
+ */
+&soc {
+	i2c at 3000 {
+		rtc at 68 {
+			compatible = "pericom,pt7c4338";
+			reg = <0x68>;
+		};
+	};
+};
arch/powerpc/dts/p1010si-post.dtsi +2 -0
index e24b5e4063..0289441381 100644
@@ -23,6 +23,8 @@
 		single-cpu-affinity;
 		last-interrupt-source = <255>;
 	};
+/include/ "pq3-i2c-0.dtsi"
+/include/ "pq3-i2c-1.dtsi"
 };
 
 /* controller at 0x9000 */
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 powerpc: dts: p1010: add i2c node

Hi Priyanka,

The patch depend on dts patch of zhiqiang.

Best Regards,
Biwen Li

Quoted 83 lines

-----Original Message-----
From: Biwen Li <[email protected]>
Sent: 2020?4?12? 17:05
To: Jagdish Gediya <[email protected]>; Priyanka Jain <[email protected]>; hs at denx.de; jagan at amarulasolutions.com; aford173 at gmail.com; Alison Wang <[email protected]>; jh80.chung at samsung.com; Pramod Kumar <[email protected]>; Rajesh Bhagat <[email protected]>; Ruchika Gupta <[email protected]>; olteanv at gmail.com
Cc: Xiaobo Xie <[email protected]>; Jiafei Pan <[email protected]>; u-boot at lists.denx.de; Z.q. Hou <[email protected]>; Biwen Li <[email protected]>
Subject: [PATCH] powerpc: dts: p1010: add i2c node

From: Biwen Li <[email protected]>

Add i2c node of p1010

---
 arch/powerpc/dts/p1010rdb-pb.dts     |  1 +
 arch/powerpc/dts/p1010rdb-pb_36b.dts |  1 +
 arch/powerpc/dts/p1010rdb.dtsi       | 14 ++++++++++++++
 arch/powerpc/dts/p1010si-post.dtsi   |  2 ++
 4 files changed, 18 insertions(+)
 create mode 100644 arch/powerpc/dts/p1010rdb.dtsi
arch/powerpc/dts/p1010rdb-pb.dts +1 -0
index 2675d5d92b..9ca562534f 100644
@@ -15,3 +15,4 @@
 };
 
 /include/ "p1010si-post.dtsi"
+/include/ "p1010rdb.dtsi"
arch/powerpc/dts/p1010rdb-pb_36b.dts +1 -0
index 45ccf91c41..eeff2a8704 100644
@@ -15,3 +15,4 @@
 };
 
 /include/ "p1010si-post.dtsi"
+/include/ "p1010rdb.dtsi"
(quoted diff) +0 -0

b/arch/powerpc/dts/p1010rdb.dtsi new file mode 100644 index 0000000000..4f58ee2446

arch/powerpc/dts/p1010rdb.dtsi new file +14 -0
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+ OR X11
+/*
+ * P1010RDB Device Tree Source
+ *
+ * Copyright 2020 NXP
+ */
+&soc {
+	i2c at 3000 {
+		rtc at 68 {
+			compatible = "pericom,pt7c4338";
+			reg = <0x68>;
+		};
+	};
+};
arch/powerpc/dts/p1010si-post.dtsi +2 -1
index e24b5e4063..0289441381 100644
@@ -23,6 +23,8 @@
 		single-cpu-affinity;
 		last-interrupt-source = <255>;
 	};
+/include/ "pq3-i2c-0.dtsi"
+/include/ "pq3-i2c-1.dtsi"
 };
 
 /* controller at 0x9000 */
--

2.17.1

#2 lore raw

PATCH 1/1 powerpc: dts: p1010: add i2c node

Quoted 4 lines

Hi Priyanka,

The patch depend on dts patch of zhiqiang.

The patch depend on dts patch(powerpc: Enable device tree support for P1010RDB) of zhiqiang as follows,
https://patchwork.ozlabs.org/project/uboot/patch/20200414093022.24132-2-Zhiqiang.Hou at nxp.com

Quoted 88 lines

Best Regards,
Biwen Li

Quoted 7 lines

-----Original Message-----
From: Biwen Li <[email protected]>
Sent: 2020?4?12? 17:05
To: Jagdish Gediya <[email protected]>; Priyanka Jain <[email protected]>; hs at denx.de; jagan at amarulasolutions.com; aford173 at gmail.com; Alison Wang <[email protected]>; jh80.chung at samsung.com; Pramod Kumar <[email protected]>;

Rajesh

Quoted 1 line

Bhagat <[email protected]>; Ruchika Gupta

<[email protected]>;

Quoted 75 lines

olteanv at gmail.com
Cc: Xiaobo Xie <[email protected]>; Jiafei Pan <[email protected]>; u-boot at lists.denx.de; Z.q. Hou <[email protected]>; Biwen Li <[email protected]>
Subject: [PATCH] powerpc: dts: p1010: add i2c node

From: Biwen Li <[email protected]>

Add i2c node of p1010

---
 arch/powerpc/dts/p1010rdb-pb.dts     |  1 +
 arch/powerpc/dts/p1010rdb-pb_36b.dts |  1 +
 arch/powerpc/dts/p1010rdb.dtsi       | 14 ++++++++++++++
 arch/powerpc/dts/p1010si-post.dtsi   |  2 ++
 4 files changed, 18 insertions(+)
 create mode 100644 arch/powerpc/dts/p1010rdb.dtsi
arch/powerpc/dts/p1010rdb-pb.dts +1 -0
index 2675d5d92b..9ca562534f 100644
@@ -15,3 +15,4 @@
 };
 
 /include/ "p1010si-post.dtsi"
+/include/ "p1010rdb.dtsi"
arch/powerpc/dts/p1010rdb-pb_36b.dts +1 -0
index 45ccf91c41..eeff2a8704 100644
@@ -15,3 +15,4 @@
 };
 
 /include/ "p1010si-post.dtsi"
+/include/ "p1010rdb.dtsi"
(quoted diff) +0 -0

b/arch/powerpc/dts/p1010rdb.dtsi new file mode 100644 index 0000000000..4f58ee2446

arch/powerpc/dts/p1010rdb.dtsi new file +14 -0
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+ OR X11
+/*
+ * P1010RDB Device Tree Source
+ *
+ * Copyright 2020 NXP
+ */
+&soc {
+	i2c at 3000 {
+		rtc at 68 {
+			compatible = "pericom,pt7c4338";
+			reg = <0x68>;
+		};
+	};
+};
arch/powerpc/dts/p1010si-post.dtsi +2 -1
index e24b5e4063..0289441381 100644
@@ -23,6 +23,8 @@
 		single-cpu-affinity;
 		last-interrupt-source = <255>;
 	};
+/include/ "pq3-i2c-0.dtsi"
+/include/ "pq3-i2c-1.dtsi"
 };
 
 /* controller at 0x9000 */
--

2.17.1

#3 lore raw

PATCH 1/1 powerpc: dts: p1010: add i2c node

In reply to Biwen Li
Quoted 14 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Biwen Li
Sent: Sunday, April 12, 2020 2:35 PM
To: Jagdish Gediya <[email protected]>; Priyanka Jain <[email protected]>; hs at denx.de; jagan at amarulasolutions.com; aford173 at gmail.com; Alison Wang <[email protected]>; jh80.chung at samsung.com; Pramod Kumar <[email protected]>; Rajesh Bhagat <[email protected]>; Ruchika Gupta <[email protected]>; olteanv at gmail.com
Cc: Xiaobo Xie <[email protected]>; Jiafei Pan <[email protected]>; u- boot at lists.denx.de; Z.q. Hou <[email protected]>; Biwen Li <[email protected]>
Subject: [PATCH] powerpc: dts: p1010: add i2c node

Quoted 6 lines

From: Biwen Li <[email protected]>

Add i2c node of p1010

---

Patch applied on u-boot-mpc85xx.

Thanks
Priyanka