Skip to contentSkip to conversation

dt-bindings: ARM: Mediatek: Fix ethsys documentation

PATCH In review Matthias Brugger 4 participants 9 messages Dec 1, 2017 – Dec 20, 2017

Subsystems (2)
lore
Share & tools
lore

Matthias Brugger

author maintainer
#0 lore raw

PATCH 1/3 dt-bindings: ARM: Mediatek: Fix ethsys documentation

The ethsys registers a reset controller, so we need to specify a reset cell. This patch fixes the documentation.

---
 Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt +1 -0
index 7aa3fa167668..6cc7840ff37a 100644
@@ -20,4 +20,5 @@ ethsys: clock-controller at 1b000000 {
 	compatible = "mediatek,mt2701-ethsys", "syscon";
 	reg = <0 0x1b000000 0 0x1000>;
 	#clock-cells = <1>;
+	#reset-cells = <1>;
 };
Signature · 1 line
2.12.3
author maintainer
#1 lore raw

PATCH 2/3 arm: dts: mt7623: Update ethsys binding

The ethsys binding misses the reset-cells, this patch adds this property.

---
 arch/arm/boot/dts/mt7623.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/mt7623.dtsi +1 -0
index 343d3b1a4448..b750da5362f7 100644
@@ -758,6 +758,7 @@
 			     "syscon";
 		reg = <0 0x1b000000 0 0x1000>;
 		#clock-cells = <1>;
+		#reset-cells = <1>;
 	};
 
 	eth: ethernet at 1b100000 {
Signature · 1 line
2.12.3
author maintainer
#2 lore raw

PATCH 3/3 arm: dts: mt2701: Add reset-cells

In reply to Matthias Brugger

The hifsys and ethsys needs the definition of the reset-cells property. Fix this.

---
 arch/arm/boot/dts/mt2701.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/mt2701.dtsi +2 -0
index 965ddfbc9953..05557fce0f1d 100644
@@ -604,6 +604,7 @@
 		compatible = "mediatek,mt2701-hifsys", "syscon";
 		reg = <0 0x1a000000 0 0x1000>;
 		#clock-cells = <1>;
+		#reset-cells = <1>;
 	};
 
 	usb0: usb at 1a1c0000 {
@@ -688,6 +689,7 @@
 		compatible = "mediatek,mt2701-ethsys", "syscon";
 		reg = <0 0x1b000000 0 0x1000>;
 		#clock-cells = <1>;
+		#reset-cells = <1>;
 	};
 
 	eth: ethernet at 1b100000 {
Signature · 1 line
2.12.3
author maintainer
#3 lore raw

Re: [PATCH 3/3] arm: dts: mt2701: Add reset-cells

Quoted 22 lines · Matthias Brugger

The hifsys and ethsys needs the definition of the reset-cells property. Fix this.

---
 arch/arm/boot/dts/mt2701.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/mt2701.dtsi +1 -0
index 965ddfbc9953..05557fce0f1d 100644
@@ -604,6 +604,7 @@
 		compatible = "mediatek,mt2701-hifsys", "syscon";
 		reg = <0 0x1a000000 0 0x1000>;
 		#clock-cells = <1>;
+		#reset-cells = <1>;
 	};
 
 	usb0: usb at 1a1c0000 {

arch/arm/boot/dts/mt2701.dtsi line 695

Quoted 7 lines
arch/arm/boot/dts/mt2701.dtsi +1 -0
@@ -688,6 +689,7 @@
 		compatible = "mediatek,mt2701-ethsys", "syscon";
 		reg = <0 0x1b000000 0 0x1000>;
 		#clock-cells = <1>;
+		#reset-cells = <1>;
 	};
 
 	eth: ethernet at 1b100000 {

2 and 3 pushed to v4.15-next/dts32

Thanks!

author maintainer
#5 lore raw
In reply to Matthias Brugger

Hi Stephen, Michael,

Quoted 14 lines · Matthias Brugger

The ethsys registers a reset controller, so we need to specify a reset cell. This patch fixes the documentation.

---
 Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt +0 -0
index 7aa3fa167668..6cc7840ff37a 100644

Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt ethsys: clock-controller at 1b000000 { · line 24

Quoted 5 lines
Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt +1 -0
@@ -20,4 +20,5 @@ ethsys: clock-controller at 1b000000 {
 	compatible = "mediatek,mt2701-ethsys", "syscon";
 	reg = <0 0x1b000000 0 0x1000>;
 	#clock-cells = <1>;
+	#reset-cells = <1>;
 };

Will you take this patch through the clk tree, or shall I take it through my SoC tree?

Regards,
Matthias

Acked-by
#6 lore raw
Quoted 11 lines · Matthias Brugger

Hi Stephen, Michael,

Quoted 8 lines · Matthias Brugger

The ethsys registers a reset controller, so we need to specify a reset cell. This patch fixes the documentation.

---
 Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt | 1 +
 1 file changed, 1 insertion(+)
Quoted 15 lines

Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt ethsys: clock-controller at 1b000000 { · line 24

Quoted 11 lines
Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt +1 -0
index 7aa3fa167668..6cc7840ff37a 100644
@@ -20,4 +20,5 @@ ethsys: clock-controller at 1b000000 {
 	compatible = "mediatek,mt2701-ethsys", "syscon";
 	reg = <0 0x1b000000 0 0x1000>;
 	#clock-cells = <1>;
+	#reset-cells = <1>;
 };

Will you take this patch through the clk tree, or shall I take it through my SoC tree?

It's resets, we are clk maintainers. I'm clkfused.

You can take it, along with my

if you like/expect conflicts.

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
author maintainer
#7 lore raw
Quoted 28 lines · Stephen Boyd
Quoted 11 lines · Matthias Brugger

Hi Stephen, Michael,

Quoted 8 lines · Matthias Brugger

The ethsys registers a reset controller, so we need to specify a reset cell. This patch fixes the documentation.

---
 Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt | 1 +
 1 file changed, 1 insertion(+)
Quoted 15 lines

Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt ethsys: clock-controller at 1b000000 { · line 24

Quoted 11 lines
Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt +1 -0
index 7aa3fa167668..6cc7840ff37a 100644
@@ -20,4 +20,5 @@ ethsys: clock-controller at 1b000000 {
 	compatible = "mediatek,mt2701-ethsys", "syscon";
 	reg = <0 0x1b000000 0 0x1000>;
 	#clock-cells = <1>;
+	#reset-cells = <1>;
 };

Will you take this patch through the clk tree, or shall I take it through my SoC tree?

Quoted 8 lines

It's resets, we are clk maintainers. I'm clkfused.

You can take it, along with my

if you like/expect conflicts.

These are resets in the clock IP-block. I'll take it through my branch, I don't expect any conflicts.

Regards,
Matthias

#8 lore raw

Quoting Matthias Brugger (2017-12-20 09:13:12)

Quoted 35 lines · Stephen Boyd
Quoted 32 lines · Matthias Brugger
Quoted 11 lines

Hi Stephen, Michael,

Quoted 8 lines · Matthias Brugger

The ethsys registers a reset controller, so we need to specify a reset cell. This patch fixes the documentation.

---
 Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt | 1 +
 1 file changed, 1 insertion(+)
Quoted 15 lines

Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt ethsys: clock-controller at 1b000000 { · line 24

Quoted 11 lines
Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt +1 -0
index 7aa3fa167668..6cc7840ff37a 100644
@@ -20,4 +20,5 @@ ethsys: clock-controller at 1b000000 {
    compatible = "mediatek,mt2701-ethsys", "syscon";
    reg = <0 0x1b000000 0 0x1000>;
    #clock-cells = <1>;
+   #reset-cells = <1>;
 };

Will you take this patch through the clk tree, or shall I take it through my SoC tree?

It's resets, we are clk maintainers. I'm clkfused.

You can take it, along with my

Quoted 7 lines
Quoted 4 lines

if you like/expect conflicts.

These are resets in the clock IP-block. I'll take it through my branch, I don't expect any conflicts.

Sounds good to me.

Best regards,
Mike

Quoted 3 lines

Regards,
Matthias