All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND net-next 0/3] dts: hisi: fixes can't find eth for hip05-D02
@ 2015-12-05  7:56 ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan
  Cc: haifeng.wei, devicetree, linux-arm-kernel, linux-kernel, netdev,
	linuxarm

this patchset fixes the bug that eth can't initial successful on hip05-D02
because the dts files doesn't match the source code.

yankejian (3):
  dts: hisi: enables the ethX for D02 board
  dts: hisi: fixes no syscon error when init mdio
  arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board

 .../devicetree/bindings/arm/hisilicon/hisilicon.txt      | 16 ++++++++++++++++
 arch/arm64/boot/dts/hisilicon/hip05-d02.dts              | 16 ++++++++++++++++
 arch/arm64/boot/dts/hisilicon/hip05.dtsi                 |  4 ++++
 arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi             |  4 ++--
 4 files changed, 38 insertions(+), 2 deletions(-)

-- 
1.9.1


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

* [PATCH RESEND net-next 0/3] dts: hisi: fixes can't find eth for hip05-D02
@ 2015-12-05  7:56 ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan
  Cc: haifeng.wei, devicetree, linux-arm-kernel, linux-kernel, netdev,
	linuxarm

this patchset fixes the bug that eth can't initial successful on hip05-D02
because the dts files doesn't match the source code.

yankejian (3):
  dts: hisi: enables the ethX for D02 board
  dts: hisi: fixes no syscon error when init mdio
  arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board

 .../devicetree/bindings/arm/hisilicon/hisilicon.txt      | 16 ++++++++++++++++
 arch/arm64/boot/dts/hisilicon/hip05-d02.dts              | 16 ++++++++++++++++
 arch/arm64/boot/dts/hisilicon/hip05.dtsi                 |  4 ++++
 arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi             |  4 ++--
 4 files changed, 38 insertions(+), 2 deletions(-)

-- 
1.9.1

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

* [PATCH RESEND net-next 0/3] dts: hisi: fixes can't find eth for hip05-D02
@ 2015-12-05  7:56 ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: linux-arm-kernel

this patchset fixes the bug that eth can't initial successful on hip05-D02
because the dts files doesn't match the source code.

yankejian (3):
  dts: hisi: enables the ethX for D02 board
  dts: hisi: fixes no syscon error when init mdio
  arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board

 .../devicetree/bindings/arm/hisilicon/hisilicon.txt      | 16 ++++++++++++++++
 arch/arm64/boot/dts/hisilicon/hip05-d02.dts              | 16 ++++++++++++++++
 arch/arm64/boot/dts/hisilicon/hip05.dtsi                 |  4 ++++
 arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi             |  4 ++--
 4 files changed, 38 insertions(+), 2 deletions(-)

-- 
1.9.1

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

* [PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board
  2015-12-05  7:56 ` yankejian
  (?)
  (?)
@ 2015-12-05  7:56   ` yankejian
  -1 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan
  Cc: haifeng.wei, devicetree, linux-arm-kernel, linux-kernel, netdev,
	linuxarm

this patch enables the ethX for D02 board on hip05-d02.dts. otherwise it
cannot find hns ethX by ifconfig -a.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
index ae34e25..6aa5cb2 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
+++ b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
@@ -34,3 +34,19 @@
 &uart0 {
 	status = "ok";
 };
+
+&eth2 {
+	status = "okay";
+};
+
+&eth3 {
+	status = "okay";
+};
+
+&eth6 {
+	status = "okay";
+};
+
+&eth7 {
+	status = "okay";
+};
-- 
1.9.1


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

* [PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board
@ 2015-12-05  7:56   ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan
  Cc: devicetree, haifeng.wei, netdev, linuxarm, linux-kernel,
	linux-arm-kernel

this patch enables the ethX for D02 board on hip05-d02.dts. otherwise it
cannot find hns ethX by ifconfig -a.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
index ae34e25..6aa5cb2 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
+++ b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
@@ -34,3 +34,19 @@
 &uart0 {
 	status = "ok";
 };
+
+&eth2 {
+	status = "okay";
+};
+
+&eth3 {
+	status = "okay";
+};
+
+&eth6 {
+	status = "okay";
+};
+
+&eth7 {
+	status = "okay";
+};
-- 
1.9.1

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

* [PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board
@ 2015-12-05  7:56   ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan
  Cc: devicetree, haifeng.wei, netdev, linuxarm, linux-kernel,
	linux-arm-kernel

this patch enables the ethX for D02 board on hip05-d02.dts. otherwise it
cannot find hns ethX by ifconfig -a.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
index ae34e25..6aa5cb2 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
+++ b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
@@ -34,3 +34,19 @@
 &uart0 {
 	status = "ok";
 };
+
+&eth2 {
+	status = "okay";
+};
+
+&eth3 {
+	status = "okay";
+};
+
+&eth6 {
+	status = "okay";
+};
+
+&eth7 {
+	status = "okay";
+};
-- 
1.9.1

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

* [PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board
@ 2015-12-05  7:56   ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: linux-arm-kernel

this patch enables the ethX for D02 board on hip05-d02.dts. otherwise it
cannot find hns ethX by ifconfig -a.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
index ae34e25..6aa5cb2 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
+++ b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
@@ -34,3 +34,19 @@
 &uart0 {
 	status = "ok";
 };
+
+&eth2 {
+	status = "okay";
+};
+
+&eth3 {
+	status = "okay";
+};
+
+&eth6 {
+	status = "okay";
+};
+
+&eth7 {
+	status = "okay";
+};
-- 
1.9.1

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

* [PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio
  2015-12-05  7:56 ` yankejian
  (?)
@ 2015-12-05  7:56   ` yankejian
  -1 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan
  Cc: haifeng.wei, devicetree, linux-arm-kernel, linux-kernel, netdev,
	linuxarm

when linux start up, we get the log below:
"Hi-HNS_MDIO 803c0000.mdio: no syscon hisilicon,peri-c-subctrl
 mdio_bus mdio@803c0000: mdio sys ctl reg has not maped       "

the source code about the subctrl is dealled with syscon, but dts doesn't.
it cause such fault. so this patch adds the syscon info on dts files to
fixes it.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 arch/arm64/boot/dts/hisilicon/hip05.dtsi     | 4 ++++
 arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi b/arch/arm64/boot/dts/hisilicon/hip05.dtsi
index 4ff16d0..daaca63 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hip05.dtsi
@@ -246,6 +246,10 @@
 			clock-frequency = <200000000>;
 		};
 
+		peri_c_subctrl: sub_ctrl_c@80000000 {
+			compatible = "hisilicon,peri-c-subctrl", "syscon";
+			reg = < 0x0 0x80000000 0x0 0x10000>;
+		};
 		uart0: uart@80300000 {
 			compatible = "snps,dw-apb-uart";
 			reg = <0x0 0x80300000 0x0 0x10000>;
diff --git a/arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi b/arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi
index 606dd5a..4d4815e 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi
@@ -10,8 +10,8 @@ soc0: soc@000000000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "hisilicon,hns-mdio";
-		reg = <0x0 0x803c0000 0x0 0x10000
-		       0x0 0x80000000 0x0 0x10000>;
+		reg = <0x0 0x803c0000 0x0 0x10000>;
+		subctrl_vbase = <&peri_c_subctrl>;
 
 		soc0_phy0: ethernet-phy@0 {
 			reg = <0x0>;
-- 
1.9.1


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

* [PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio
@ 2015-12-05  7:56   ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan
  Cc: haifeng.wei, devicetree, linux-arm-kernel, linux-kernel, netdev,
	linuxarm

when linux start up, we get the log below:
"Hi-HNS_MDIO 803c0000.mdio: no syscon hisilicon,peri-c-subctrl
 mdio_bus mdio@803c0000: mdio sys ctl reg has not maped       "

the source code about the subctrl is dealled with syscon, but dts doesn't.
it cause such fault. so this patch adds the syscon info on dts files to
fixes it.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 arch/arm64/boot/dts/hisilicon/hip05.dtsi     | 4 ++++
 arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi b/arch/arm64/boot/dts/hisilicon/hip05.dtsi
index 4ff16d0..daaca63 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hip05.dtsi
@@ -246,6 +246,10 @@
 			clock-frequency = <200000000>;
 		};
 
+		peri_c_subctrl: sub_ctrl_c@80000000 {
+			compatible = "hisilicon,peri-c-subctrl", "syscon";
+			reg = < 0x0 0x80000000 0x0 0x10000>;
+		};
 		uart0: uart@80300000 {
 			compatible = "snps,dw-apb-uart";
 			reg = <0x0 0x80300000 0x0 0x10000>;
diff --git a/arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi b/arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi
index 606dd5a..4d4815e 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi
@@ -10,8 +10,8 @@ soc0: soc@000000000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "hisilicon,hns-mdio";
-		reg = <0x0 0x803c0000 0x0 0x10000
-		       0x0 0x80000000 0x0 0x10000>;
+		reg = <0x0 0x803c0000 0x0 0x10000>;
+		subctrl_vbase = <&peri_c_subctrl>;
 
 		soc0_phy0: ethernet-phy@0 {
 			reg = <0x0>;
-- 
1.9.1

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

* [PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio
@ 2015-12-05  7:56   ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: linux-arm-kernel

when linux start up, we get the log below:
"Hi-HNS_MDIO 803c0000.mdio: no syscon hisilicon,peri-c-subctrl
 mdio_bus mdio at 803c0000: mdio sys ctl reg has not maped       "

the source code about the subctrl is dealled with syscon, but dts doesn't.
it cause such fault. so this patch adds the syscon info on dts files to
fixes it.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 arch/arm64/boot/dts/hisilicon/hip05.dtsi     | 4 ++++
 arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi b/arch/arm64/boot/dts/hisilicon/hip05.dtsi
index 4ff16d0..daaca63 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hip05.dtsi
@@ -246,6 +246,10 @@
 			clock-frequency = <200000000>;
 		};
 
+		peri_c_subctrl: sub_ctrl_c at 80000000 {
+			compatible = "hisilicon,peri-c-subctrl", "syscon";
+			reg = < 0x0 0x80000000 0x0 0x10000>;
+		};
 		uart0: uart at 80300000 {
 			compatible = "snps,dw-apb-uart";
 			reg = <0x0 0x80300000 0x0 0x10000>;
diff --git a/arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi b/arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi
index 606dd5a..4d4815e 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi
@@ -10,8 +10,8 @@ soc0: soc at 000000000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "hisilicon,hns-mdio";
-		reg = <0x0 0x803c0000 0x0 0x10000
-		       0x0 0x80000000 0x0 0x10000>;
+		reg = <0x0 0x803c0000 0x0 0x10000>;
+		subctrl_vbase = <&peri_c_subctrl>;
 
 		soc0_phy0: ethernet-phy at 0 {
 			reg = <0x0>;
-- 
1.9.1

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

* [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board
  2015-12-05  7:56 ` yankejian
  (?)
  (?)
@ 2015-12-05  7:56   ` yankejian
  -1 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan
  Cc: haifeng.wei, devicetree, linux-arm-kernel, linux-kernel, netdev,
	linuxarm

This patch adds documentation for the devicetree bindings used by the
DT files of Hisilicon Hip05-D02 development board.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 .../devicetree/bindings/arm/hisilicon/hisilicon.txt      | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
index 6ac7c00..5318d78 100644
--- a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
+++ b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
@@ -187,6 +187,22 @@ Example:
 		reg = <0xb0000000 0x10000>;
 	};
 
+Hisilicon HiP05 PERISUB system controller
+
+Required properties:
+- compatible : "hisilicon,peri-c-subctrl", "syscon";
+- reg : Register address and size
+
+The HiP05 PERISUB system controller is shared by peripheral controllers in
+HiP05 Soc to implement some basic configurations. the peripheral
+ controllers include mdio, ddr, iic, uart, timer and so on.
+
+Example:
+	/* for HiP05 PCIe-SAS system */
+	pcie_sas: system_controller@0xb0000000 {
+		compatible = "hisilicon,pcie-sas-subctrl", "syscon";
+		reg = <0xb0000000 0x10000>;
+	};
 -----------------------------------------------------------------------
 Hisilicon CPU controller
 
-- 
1.9.1


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

* [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board
@ 2015-12-05  7:56   ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan
  Cc: devicetree, haifeng.wei, netdev, linuxarm, linux-kernel,
	linux-arm-kernel

This patch adds documentation for the devicetree bindings used by the
DT files of Hisilicon Hip05-D02 development board.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 .../devicetree/bindings/arm/hisilicon/hisilicon.txt      | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
index 6ac7c00..5318d78 100644
--- a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
+++ b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
@@ -187,6 +187,22 @@ Example:
 		reg = <0xb0000000 0x10000>;
 	};
 
+Hisilicon HiP05 PERISUB system controller
+
+Required properties:
+- compatible : "hisilicon,peri-c-subctrl", "syscon";
+- reg : Register address and size
+
+The HiP05 PERISUB system controller is shared by peripheral controllers in
+HiP05 Soc to implement some basic configurations. the peripheral
+ controllers include mdio, ddr, iic, uart, timer and so on.
+
+Example:
+	/* for HiP05 PCIe-SAS system */
+	pcie_sas: system_controller@0xb0000000 {
+		compatible = "hisilicon,pcie-sas-subctrl", "syscon";
+		reg = <0xb0000000 0x10000>;
+	};
 -----------------------------------------------------------------------
 Hisilicon CPU controller
 
-- 
1.9.1

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

* [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board
@ 2015-12-05  7:56   ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan
  Cc: devicetree, haifeng.wei, netdev, linuxarm, linux-kernel,
	linux-arm-kernel

This patch adds documentation for the devicetree bindings used by the
DT files of Hisilicon Hip05-D02 development board.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 .../devicetree/bindings/arm/hisilicon/hisilicon.txt      | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
index 6ac7c00..5318d78 100644
--- a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
+++ b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
@@ -187,6 +187,22 @@ Example:
 		reg = <0xb0000000 0x10000>;
 	};
 
+Hisilicon HiP05 PERISUB system controller
+
+Required properties:
+- compatible : "hisilicon,peri-c-subctrl", "syscon";
+- reg : Register address and size
+
+The HiP05 PERISUB system controller is shared by peripheral controllers in
+HiP05 Soc to implement some basic configurations. the peripheral
+ controllers include mdio, ddr, iic, uart, timer and so on.
+
+Example:
+	/* for HiP05 PCIe-SAS system */
+	pcie_sas: system_controller@0xb0000000 {
+		compatible = "hisilicon,pcie-sas-subctrl", "syscon";
+		reg = <0xb0000000 0x10000>;
+	};
 -----------------------------------------------------------------------
 Hisilicon CPU controller
 
-- 
1.9.1

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

* [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board
@ 2015-12-05  7:56   ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:56 UTC (permalink / raw)
  To: linux-arm-kernel

This patch adds documentation for the devicetree bindings used by the
DT files of Hisilicon Hip05-D02 development board.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 .../devicetree/bindings/arm/hisilicon/hisilicon.txt      | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
index 6ac7c00..5318d78 100644
--- a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
+++ b/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt
@@ -187,6 +187,22 @@ Example:
 		reg = <0xb0000000 0x10000>;
 	};
 
+Hisilicon HiP05 PERISUB system controller
+
+Required properties:
+- compatible : "hisilicon,peri-c-subctrl", "syscon";
+- reg : Register address and size
+
+The HiP05 PERISUB system controller is shared by peripheral controllers in
+HiP05 Soc to implement some basic configurations. the peripheral
+ controllers include mdio, ddr, iic, uart, timer and so on.
+
+Example:
+	/* for HiP05 PCIe-SAS system */
+	pcie_sas: system_controller at 0xb0000000 {
+		compatible = "hisilicon,pcie-sas-subctrl", "syscon";
+		reg = <0xb0000000 0x10000>;
+	};
 -----------------------------------------------------------------------
 Hisilicon CPU controller
 
-- 
1.9.1

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

* Re: [PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board
  2015-12-05  7:56   ` yankejian
@ 2015-12-05 12:53     ` kbuild test robot
  -1 siblings, 0 replies; 32+ messages in thread
From: kbuild test robot @ 2015-12-05 12:53 UTC (permalink / raw)
  To: yankejian
  Cc: kbuild-all, davem, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, xuwei5, catalin.marinas, will.deacon,
	wangkefeng.wang, dingtianhong, liguozhu, Yisen.Zhuang, sboyd,
	haojian.zhuang, wangzhou1, bintian.wang, long.wanglong, leo.yan,
	haifeng.wei, devicetree, linux-arm-kernel, linux-kernel, netdev,
	linuxarm

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

Hi yankejian,

[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/yankejian/dts-hisi-fixes-can-t-find-eth-for-hip05-D02/20151205-155412
config: arm64-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

>> Error: arch/arm64/boot/dts/hisilicon/hip05-d02.dts:38.1-6 Label or path eth2 not found
>> Error: arch/arm64/boot/dts/hisilicon/hip05-d02.dts:42.1-6 Label or path eth3 not found
>> Error: arch/arm64/boot/dts/hisilicon/hip05-d02.dts:46.1-6 Label or path eth6 not found
>> Error: arch/arm64/boot/dts/hisilicon/hip05-d02.dts:50.1-6 Label or path eth7 not found
   FATAL ERROR: Syntax error parsing input tree

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 46778 bytes --]

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

* [PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board
@ 2015-12-05 12:53     ` kbuild test robot
  0 siblings, 0 replies; 32+ messages in thread
From: kbuild test robot @ 2015-12-05 12:53 UTC (permalink / raw)
  To: linux-arm-kernel

Hi yankejian,

[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/yankejian/dts-hisi-fixes-can-t-find-eth-for-hip05-D02/20151205-155412
config: arm64-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

>> Error: arch/arm64/boot/dts/hisilicon/hip05-d02.dts:38.1-6 Label or path eth2 not found
>> Error: arch/arm64/boot/dts/hisilicon/hip05-d02.dts:42.1-6 Label or path eth3 not found
>> Error: arch/arm64/boot/dts/hisilicon/hip05-d02.dts:46.1-6 Label or path eth6 not found
>> Error: arch/arm64/boot/dts/hisilicon/hip05-d02.dts:50.1-6 Label or path eth7 not found
   FATAL ERROR: Syntax error parsing input tree

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 46778 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151205/05ddaa35/attachment-0001.obj>

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

* Re: [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board
@ 2015-12-05 22:13     ` Arnd Bergmann
  0 siblings, 0 replies; 32+ messages in thread
From: Arnd Bergmann @ 2015-12-05 22:13 UTC (permalink / raw)
  To: yankejian
  Cc: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan, haifeng.wei,
	devicetree, linux-arm-kernel, linux-kernel, netdev, linuxarm

On Saturday 05 December 2015 15:56:58 yankejian wrote:
> +Required properties:
> +- compatible : "hisilicon,peri-c-subctrl", "syscon";
> +- reg : Register address and size
> +
> +The HiP05 PERISUB system controller is shared by peripheral controllers in
> +HiP05 Soc to implement some basic configurations. the peripheral
> + controllers include mdio, ddr, iic, uart, timer and so on.
> +
> +Example:
> +       /* for HiP05 PCIe-SAS system */
> +       pcie_sas: system_controller@0xb0000000 {
> +               compatible = "hisilicon,pcie-sas-subctrl", "syscon";
> +               reg = <0xb0000000 0x10000>;
> +       };
> 

The compatible string in the example does not match the required properties.

	Arnd

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

* Re: [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board
@ 2015-12-05 22:13     ` Arnd Bergmann
  0 siblings, 0 replies; 32+ messages in thread
From: Arnd Bergmann @ 2015-12-05 22:13 UTC (permalink / raw)
  To: yankejian
  Cc: davem-fT/PcQaiUtIeIZ0/mPfg9Q, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	pawel.moll-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8,
	ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
	galak-sgV2jX0FEOL9JmXXK+q4OQ, xuwei5-C8/M+/jPZTeaMJb+Lgu22Q,
	catalin.marinas-5wv7dgnIgG8, will.deacon-5wv7dgnIgG8,
	wangkefeng.wang-hv44wF8Li93QT0dZR+AlfA,
	dingtianhong-hv44wF8Li93QT0dZR+AlfA,
	liguozhu-hv44wF8Li93QT0dZR+AlfA,
	Yisen.Zhuang-hv44wF8Li93QT0dZR+AlfA,
	sboyd-sgV2jX0FEOL9JmXXK+q4OQ,
	haojian.zhuang-QSEj5FYQhm4dnm+yROfE0A,
	wangzhou1-C8/M+/jPZTeaMJb+Lgu22Q,
	bintian.wang-hv44wF8Li93QT0dZR+AlfA,
	long.wanglong-hv44wF8Li93QT0dZR+AlfA,
	leo.yan-QSEj5FYQhm4dnm+yROfE0A,
	haifeng.wei-hv44wF8Li93QT0dZR+AlfA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	netdev-u79uwXL29TY76Z2rM5mHXA, linuxarm-hv44wF8Li93QT0dZR+AlfA

On Saturday 05 December 2015 15:56:58 yankejian wrote:
> +Required properties:
> +- compatible : "hisilicon,peri-c-subctrl", "syscon";
> +- reg : Register address and size
> +
> +The HiP05 PERISUB system controller is shared by peripheral controllers in
> +HiP05 Soc to implement some basic configurations. the peripheral
> + controllers include mdio, ddr, iic, uart, timer and so on.
> +
> +Example:
> +       /* for HiP05 PCIe-SAS system */
> +       pcie_sas: system_controller@0xb0000000 {
> +               compatible = "hisilicon,pcie-sas-subctrl", "syscon";
> +               reg = <0xb0000000 0x10000>;
> +       };
> 

The compatible string in the example does not match the required properties.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board
@ 2015-12-05 22:13     ` Arnd Bergmann
  0 siblings, 0 replies; 32+ messages in thread
From: Arnd Bergmann @ 2015-12-05 22:13 UTC (permalink / raw)
  To: linux-arm-kernel

On Saturday 05 December 2015 15:56:58 yankejian wrote:
> +Required properties:
> +- compatible : "hisilicon,peri-c-subctrl", "syscon";
> +- reg : Register address and size
> +
> +The HiP05 PERISUB system controller is shared by peripheral controllers in
> +HiP05 Soc to implement some basic configurations. the peripheral
> + controllers include mdio, ddr, iic, uart, timer and so on.
> +
> +Example:
> +       /* for HiP05 PCIe-SAS system */
> +       pcie_sas: system_controller at 0xb0000000 {
> +               compatible = "hisilicon,pcie-sas-subctrl", "syscon";
> +               reg = <0xb0000000 0x10000>;
> +       };
> 

The compatible string in the example does not match the required properties.

	Arnd

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

* Re: [PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio
@ 2015-12-05 22:15     ` Arnd Bergmann
  0 siblings, 0 replies; 32+ messages in thread
From: Arnd Bergmann @ 2015-12-05 22:15 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: yankejian, davem, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, xuwei5, catalin.marinas, will.deacon,
	wangkefeng.wang, dingtianhong, liguozhu, Yisen.Zhuang, sboyd,
	haojian.zhuang, wangzhou1, bintian.wang, long.wanglong, leo.yan,
	devicetree, haifeng.wei, netdev, linuxarm, linux-kernel

On Saturday 05 December 2015 15:56:57 yankejian wrote:
>                 #size-cells = <0>;
>                 compatible = "hisilicon,hns-mdio";
> -               reg = <0x0 0x803c0000 0x0 0x10000
> -                      0x0 0x80000000 0x0 0x10000>;
> +               reg = <0x0 0x803c0000 0x0 0x10000>;
> +               subctrl_vbase = <&peri_c_subctrl>;
>  
>                 soc0_phy0: ethernet-phy@0 {
>                         reg = <0x0>;

I don't see the subctrl_vbase property documented in the binding. Please
modify the binding as well.

Also, please use the normal naming conventions using '-' instead of '_'
inside of property names.

	Arnd

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

* Re: [PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio
@ 2015-12-05 22:15     ` Arnd Bergmann
  0 siblings, 0 replies; 32+ messages in thread
From: Arnd Bergmann @ 2015-12-05 22:15 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: yankejian, davem-fT/PcQaiUtIeIZ0/mPfg9Q,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8,
	mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
	galak-sgV2jX0FEOL9JmXXK+q4OQ, xuwei5-C8/M+/jPZTeaMJb+Lgu22Q,
	catalin.marinas-5wv7dgnIgG8, will.deacon-5wv7dgnIgG8,
	wangkefeng.wang-hv44wF8Li93QT0dZR+AlfA,
	dingtianhong-hv44wF8Li93QT0dZR+AlfA,
	liguozhu-hv44wF8Li93QT0dZR+AlfA,
	Yisen.Zhuang-hv44wF8Li93QT0dZR+AlfA,
	sboyd-sgV2jX0FEOL9JmXXK+q4OQ,
	haojian.zhuang-QSEj5FYQhm4dnm+yROfE0A,
	wangzhou1-C8/M+/jPZTeaMJb+Lgu22Q,
	bintian.wang-hv44wF8Li93QT0dZR+AlfA,
	long.wanglong-hv44wF8Li93QT0dZR+AlfA,
	leo.yan-QSEj5FYQhm4dnm+yROfE0A,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	haifeng.wei-hv44wF8Li93QT0dZR+AlfA,
	netdev-u79uwXL29TY76Z2rM5mHXA, linuxarm-hv44wF8Li93QT0dZR+AlfA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

On Saturday 05 December 2015 15:56:57 yankejian wrote:
>                 #size-cells = <0>;
>                 compatible = "hisilicon,hns-mdio";
> -               reg = <0x0 0x803c0000 0x0 0x10000
> -                      0x0 0x80000000 0x0 0x10000>;
> +               reg = <0x0 0x803c0000 0x0 0x10000>;
> +               subctrl_vbase = <&peri_c_subctrl>;
>  
>                 soc0_phy0: ethernet-phy@0 {
>                         reg = <0x0>;

I don't see the subctrl_vbase property documented in the binding. Please
modify the binding as well.

Also, please use the normal naming conventions using '-' instead of '_'
inside of property names.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio
@ 2015-12-05 22:15     ` Arnd Bergmann
  0 siblings, 0 replies; 32+ messages in thread
From: Arnd Bergmann @ 2015-12-05 22:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Saturday 05 December 2015 15:56:57 yankejian wrote:
>                 #size-cells = <0>;
>                 compatible = "hisilicon,hns-mdio";
> -               reg = <0x0 0x803c0000 0x0 0x10000
> -                      0x0 0x80000000 0x0 0x10000>;
> +               reg = <0x0 0x803c0000 0x0 0x10000>;
> +               subctrl_vbase = <&peri_c_subctrl>;
>  
>                 soc0_phy0: ethernet-phy at 0 {
>                         reg = <0x0>;

I don't see the subctrl_vbase property documented in the binding. Please
modify the binding as well.

Also, please use the normal naming conventions using '-' instead of '_'
inside of property names.

	Arnd

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

* Re: [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board
  2015-12-05 22:13     ` Arnd Bergmann
  (?)
@ 2015-12-07  1:29       ` Yankejian (Hackim Yim)
  -1 siblings, 0 replies; 32+ messages in thread
From: Yankejian (Hackim Yim) @ 2015-12-07  1:29 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan, haifeng.wei,
	devicetree, linux-arm-kernel, linux-kernel, netdev, linuxarm



On 2015/12/6 6:13, Arnd Bergmann wrote:
> On Saturday 05 December 2015 15:56:58 yankejian wrote:
>> +Required properties:
>> +- compatible : "hisilicon,peri-c-subctrl", "syscon";
>> +- reg : Register address and size
>> +
>> +The HiP05 PERISUB system controller is shared by peripheral controllers in
>> +HiP05 Soc to implement some basic configurations. the peripheral
>> + controllers include mdio, ddr, iic, uart, timer and so on.
>> +
>> +Example:
>> +       /* for HiP05 PCIe-SAS system */
>> +       pcie_sas: system_controller@0xb0000000 {
>> +               compatible = "hisilicon,pcie-sas-subctrl", "syscon";
>> +               reg = <0xb0000000 0x10000>;
>> +       };
>>
> The compatible string in the example does not match the required properties.
>
> 	Arnd
>
> .
Hi, Arnd
Thanks for your suggestions. i will fixes it later.




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

* Re: [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board
@ 2015-12-07  1:29       ` Yankejian (Hackim Yim)
  0 siblings, 0 replies; 32+ messages in thread
From: Yankejian (Hackim Yim) @ 2015-12-07  1:29 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan, haifeng.wei,
	devicetree, linux-arm-kernel, linux-kernel, netdev, linuxarm



On 2015/12/6 6:13, Arnd Bergmann wrote:
> On Saturday 05 December 2015 15:56:58 yankejian wrote:
>> +Required properties:
>> +- compatible : "hisilicon,peri-c-subctrl", "syscon";
>> +- reg : Register address and size
>> +
>> +The HiP05 PERISUB system controller is shared by peripheral controllers in
>> +HiP05 Soc to implement some basic configurations. the peripheral
>> + controllers include mdio, ddr, iic, uart, timer and so on.
>> +
>> +Example:
>> +       /* for HiP05 PCIe-SAS system */
>> +       pcie_sas: system_controller@0xb0000000 {
>> +               compatible = "hisilicon,pcie-sas-subctrl", "syscon";
>> +               reg = <0xb0000000 0x10000>;
>> +       };
>>
> The compatible string in the example does not match the required properties.
>
> 	Arnd
>
> .
Hi, Arnd
Thanks for your suggestions. i will fixes it later.

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

* [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board
@ 2015-12-07  1:29       ` Yankejian (Hackim Yim)
  0 siblings, 0 replies; 32+ messages in thread
From: Yankejian (Hackim Yim) @ 2015-12-07  1:29 UTC (permalink / raw)
  To: linux-arm-kernel



On 2015/12/6 6:13, Arnd Bergmann wrote:
> On Saturday 05 December 2015 15:56:58 yankejian wrote:
>> +Required properties:
>> +- compatible : "hisilicon,peri-c-subctrl", "syscon";
>> +- reg : Register address and size
>> +
>> +The HiP05 PERISUB system controller is shared by peripheral controllers in
>> +HiP05 Soc to implement some basic configurations. the peripheral
>> + controllers include mdio, ddr, iic, uart, timer and so on.
>> +
>> +Example:
>> +       /* for HiP05 PCIe-SAS system */
>> +       pcie_sas: system_controller at 0xb0000000 {
>> +               compatible = "hisilicon,pcie-sas-subctrl", "syscon";
>> +               reg = <0xb0000000 0x10000>;
>> +       };
>>
> The compatible string in the example does not match the required properties.
>
> 	Arnd
>
> .
Hi, Arnd
Thanks for your suggestions. i will fixes it later.

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

* Re: [PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio
  2015-12-05 22:15     ` Arnd Bergmann
  (?)
  (?)
@ 2015-12-07  1:30       ` Yankejian (Hackim Yim)
  -1 siblings, 0 replies; 32+ messages in thread
From: Yankejian (Hackim Yim) @ 2015-12-07  1:30 UTC (permalink / raw)
  To: Arnd Bergmann, linux-arm-kernel
  Cc: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan, devicetree,
	haifeng.wei, netdev, linuxarm, linux-kernel



On 2015/12/6 6:15, Arnd Bergmann wrote:
> On Saturday 05 December 2015 15:56:57 yankejian wrote:
>>                 #size-cells = <0>;
>>                 compatible = "hisilicon,hns-mdio";
>> -               reg = <0x0 0x803c0000 0x0 0x10000
>> -                      0x0 0x80000000 0x0 0x10000>;
>> +               reg = <0x0 0x803c0000 0x0 0x10000>;
>> +               subctrl_vbase = <&peri_c_subctrl>;
>>  
>>                 soc0_phy0: ethernet-phy@0 {
>>                         reg = <0x0>;
> I don't see the subctrl_vbase property documented in the binding. Please
> modify the binding as well.
>
> Also, please use the normal naming conventions using '-' instead of '_'
> inside of property names.
>
> 	Arnd
>
> .

Hi, Arnd
Thanks for your suggestions. i will fixes it later.



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

* Re: [PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio
@ 2015-12-07  1:30       ` Yankejian (Hackim Yim)
  0 siblings, 0 replies; 32+ messages in thread
From: Yankejian (Hackim Yim) @ 2015-12-07  1:30 UTC (permalink / raw)
  To: Arnd Bergmann, linux-arm-kernel
  Cc: mark.rutland, wangkefeng.wang, catalin.marinas, will.deacon,
	linuxarm, haojian.zhuang, haifeng.wei, xuwei5, galak,
	dingtianhong, Yisen.Zhuang, devicetree, bintian.wang, pawel.moll,
	ijc+devicetree, leo.yan, robh+dt, liguozhu, netdev, sboyd,
	linux-kernel, wangzhou1, long.wanglong, davem



On 2015/12/6 6:15, Arnd Bergmann wrote:
> On Saturday 05 December 2015 15:56:57 yankejian wrote:
>>                 #size-cells = <0>;
>>                 compatible = "hisilicon,hns-mdio";
>> -               reg = <0x0 0x803c0000 0x0 0x10000
>> -                      0x0 0x80000000 0x0 0x10000>;
>> +               reg = <0x0 0x803c0000 0x0 0x10000>;
>> +               subctrl_vbase = <&peri_c_subctrl>;
>>  
>>                 soc0_phy0: ethernet-phy@0 {
>>                         reg = <0x0>;
> I don't see the subctrl_vbase property documented in the binding. Please
> modify the binding as well.
>
> Also, please use the normal naming conventions using '-' instead of '_'
> inside of property names.
>
> 	Arnd
>
> .

Hi, Arnd
Thanks for your suggestions. i will fixes it later.

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

* Re: [PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio
@ 2015-12-07  1:30       ` Yankejian (Hackim Yim)
  0 siblings, 0 replies; 32+ messages in thread
From: Yankejian (Hackim Yim) @ 2015-12-07  1:30 UTC (permalink / raw)
  To: Arnd Bergmann, linux-arm-kernel
  Cc: mark.rutland, wangkefeng.wang, catalin.marinas, will.deacon,
	linuxarm, haojian.zhuang, haifeng.wei, xuwei5, galak,
	dingtianhong, Yisen.Zhuang, devicetree, bintian.wang, pawel.moll,
	ijc+devicetree, leo.yan, robh+dt, liguozhu, netdev, sboyd,
	linux-kernel, wangzhou1, long.wanglong, davem



On 2015/12/6 6:15, Arnd Bergmann wrote:
> On Saturday 05 December 2015 15:56:57 yankejian wrote:
>>                 #size-cells = <0>;
>>                 compatible = "hisilicon,hns-mdio";
>> -               reg = <0x0 0x803c0000 0x0 0x10000
>> -                      0x0 0x80000000 0x0 0x10000>;
>> +               reg = <0x0 0x803c0000 0x0 0x10000>;
>> +               subctrl_vbase = <&peri_c_subctrl>;
>>  
>>                 soc0_phy0: ethernet-phy@0 {
>>                         reg = <0x0>;
> I don't see the subctrl_vbase property documented in the binding. Please
> modify the binding as well.
>
> Also, please use the normal naming conventions using '-' instead of '_'
> inside of property names.
>
> 	Arnd
>
> .

Hi, Arnd
Thanks for your suggestions. i will fixes it later.

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

* [PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio
@ 2015-12-07  1:30       ` Yankejian (Hackim Yim)
  0 siblings, 0 replies; 32+ messages in thread
From: Yankejian (Hackim Yim) @ 2015-12-07  1:30 UTC (permalink / raw)
  To: linux-arm-kernel



On 2015/12/6 6:15, Arnd Bergmann wrote:
> On Saturday 05 December 2015 15:56:57 yankejian wrote:
>>                 #size-cells = <0>;
>>                 compatible = "hisilicon,hns-mdio";
>> -               reg = <0x0 0x803c0000 0x0 0x10000
>> -                      0x0 0x80000000 0x0 0x10000>;
>> +               reg = <0x0 0x803c0000 0x0 0x10000>;
>> +               subctrl_vbase = <&peri_c_subctrl>;
>>  
>>                 soc0_phy0: ethernet-phy at 0 {
>>                         reg = <0x0>;
> I don't see the subctrl_vbase property documented in the binding. Please
> modify the binding as well.
>
> Also, please use the normal naming conventions using '-' instead of '_'
> inside of property names.
>
> 	Arnd
>
> .

Hi, Arnd
Thanks for your suggestions. i will fixes it later.

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

* [PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board
  2015-12-05  7:54 [PATCH RESEND net-next 0/3] dts: hisi: fixes can't find eth for hip05-D02 yankejian
  2015-12-05  7:54   ` yankejian
@ 2015-12-05  7:54   ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:54 UTC (permalink / raw)
  To: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan
  Cc: haifeng.wei, devicetree, linux-arm-kernel, linux-kernel, netdev,
	linuxarm

this patch enables the ethX for D02 board on hip05-d02.dts. otherwise it
cannot find hns ethX by ifconfig -a.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
index ae34e25..6aa5cb2 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
+++ b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
@@ -34,3 +34,19 @@
 &uart0 {
 	status = "ok";
 };
+
+&eth2 {
+	status = "okay";
+};
+
+&eth3 {
+	status = "okay";
+};
+
+&eth6 {
+	status = "okay";
+};
+
+&eth7 {
+	status = "okay";
+};
-- 
1.9.1


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

* [PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board
@ 2015-12-05  7:54   ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:54 UTC (permalink / raw)
  To: davem, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	xuwei5, catalin.marinas, will.deacon, wangkefeng.wang,
	dingtianhong, liguozhu, Yisen.Zhuang, sboyd, haojian.zhuang,
	wangzhou1, bintian.wang, long.wanglong, leo.yan
  Cc: haifeng.wei, devicetree, linux-arm-kernel, linux-kernel, netdev,
	linuxarm

this patch enables the ethX for D02 board on hip05-d02.dts. otherwise it
cannot find hns ethX by ifconfig -a.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
index ae34e25..6aa5cb2 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
+++ b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
@@ -34,3 +34,19 @@
 &uart0 {
 	status = "ok";
 };
+
+&eth2 {
+	status = "okay";
+};
+
+&eth3 {
+	status = "okay";
+};
+
+&eth6 {
+	status = "okay";
+};
+
+&eth7 {
+	status = "okay";
+};
-- 
1.9.1

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

* [PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board
@ 2015-12-05  7:54   ` yankejian
  0 siblings, 0 replies; 32+ messages in thread
From: yankejian @ 2015-12-05  7:54 UTC (permalink / raw)
  To: linux-arm-kernel

this patch enables the ethX for D02 board on hip05-d02.dts. otherwise it
cannot find hns ethX by ifconfig -a.

Signed-off-by: yankejian <yankejian@huawei.com>
---
 arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
index ae34e25..6aa5cb2 100644
--- a/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
+++ b/arch/arm64/boot/dts/hisilicon/hip05-d02.dts
@@ -34,3 +34,19 @@
 &uart0 {
 	status = "ok";
 };
+
+&eth2 {
+	status = "okay";
+};
+
+&eth3 {
+	status = "okay";
+};
+
+&eth6 {
+	status = "okay";
+};
+
+&eth7 {
+	status = "okay";
+};
-- 
1.9.1

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

end of thread, other threads:[~2015-12-07  1:36 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-05  7:56 [PATCH RESEND net-next 0/3] dts: hisi: fixes can't find eth for hip05-D02 yankejian
2015-12-05  7:56 ` yankejian
2015-12-05  7:56 ` yankejian
2015-12-05  7:56 ` [PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board yankejian
2015-12-05  7:56   ` yankejian
2015-12-05  7:56   ` yankejian
2015-12-05  7:56   ` yankejian
2015-12-05 12:53   ` kbuild test robot
2015-12-05 12:53     ` kbuild test robot
2015-12-05  7:56 ` [PATCH RESEND net-next 2/3] dts: hisi: fixes no syscon error when init mdio yankejian
2015-12-05  7:56   ` yankejian
2015-12-05  7:56   ` yankejian
2015-12-05 22:15   ` Arnd Bergmann
2015-12-05 22:15     ` Arnd Bergmann
2015-12-05 22:15     ` Arnd Bergmann
2015-12-07  1:30     ` Yankejian (Hackim Yim)
2015-12-07  1:30       ` Yankejian (Hackim Yim)
2015-12-07  1:30       ` Yankejian (Hackim Yim)
2015-12-07  1:30       ` Yankejian (Hackim Yim)
2015-12-05  7:56 ` [PATCH RESEND net-next 3/3] arm64: hip05-d02: Document devicetree bindings for Hisilicon D02 Board yankejian
2015-12-05  7:56   ` yankejian
2015-12-05  7:56   ` yankejian
2015-12-05  7:56   ` yankejian
2015-12-05 22:13   ` Arnd Bergmann
2015-12-05 22:13     ` Arnd Bergmann
2015-12-05 22:13     ` Arnd Bergmann
2015-12-07  1:29     ` Yankejian (Hackim Yim)
2015-12-07  1:29       ` Yankejian (Hackim Yim)
2015-12-07  1:29       ` Yankejian (Hackim Yim)
  -- strict thread matches above, loose matches on Subject: below --
2015-12-05  7:54 [PATCH RESEND net-next 0/3] dts: hisi: fixes can't find eth for hip05-D02 yankejian
2015-12-05  7:54 ` [PATCH RESEND net-next 1/3] dts: hisi: enables the ethX for D02 board yankejian
2015-12-05  7:54   ` yankejian
2015-12-05  7:54   ` yankejian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.