Skip to contentSkip to conversation

mips: dts: ralink: mt7621: define each reset as an item

PATCH Applied Arınç ÜNAL 3 participants 3 messages Sep 17, 2023 – Oct 6, 2023

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

PATCH 1/1 mips: dts: ralink: mt7621: define each reset as an item

Each item of the resets property should define a reset. Split the item with two resets on the ethernet node into two separate items.

Sort the items of the clocks property to the same line as a trivial change.

---
 arch/mips/boot/dts/ralink/mt7621.dtsi | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
arch/mips/boot/dts/ralink/mt7621.dtsi +2 -3
index 7caed0d14f11..35a10258f235 100644
@@ -300,14 +300,13 @@ ethernet: ethernet@1e100000 {
 		compatible = "mediatek,mt7621-eth";
 		reg = <0x1e100000 0x10000>;
 
-		clocks = <&sysc MT7621_CLK_FE>,
-			 <&sysc MT7621_CLK_ETH>;
+		clocks = <&sysc MT7621_CLK_FE>, <&sysc MT7621_CLK_ETH>;
 		clock-names = "fe", "ethif";
 
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		resets = <&sysc MT7621_RST_FE &sysc MT7621_RST_ETH>;
+		resets = <&sysc MT7621_RST_FE>, <&sysc MT7621_RST_ETH>;
 		reset-names = "fe", "eth";
 
 		interrupt-parent = <&gic>;
Signature · 1 line
2.39.2
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Arınç ÜNAL

Each item of the resets property should define a reset. Split the item with two resets on the ethernet node into two separate items.

Sort the items of the clocks property to the same line as a trivial change.

---
 arch/mips/boot/dts/ralink/mt7621.dtsi | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Thanks,
Sergio Paracuellos

maintainer Applied
#2 lore raw
In reply to Arınç ÜNAL
Quoted 34 lines · Arınç ÜNAL

Each item of the resets property should define a reset. Split the item with two resets on the ethernet node into two separate items.

Sort the items of the clocks property to the same line as a trivial change.

---
 arch/mips/boot/dts/ralink/mt7621.dtsi | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
arch/mips/boot/dts/ralink/mt7621.dtsi +2 -3
index 7caed0d14f11..35a10258f235 100644
@@ -300,14 +300,13 @@ ethernet: ethernet@1e100000 {
 		compatible = "mediatek,mt7621-eth";
 		reg = <0x1e100000 0x10000>;
 
-		clocks = <&sysc MT7621_CLK_FE>,
-			 <&sysc MT7621_CLK_ETH>;
+		clocks = <&sysc MT7621_CLK_FE>, <&sysc MT7621_CLK_ETH>;
 		clock-names = "fe", "ethif";
 
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		resets = <&sysc MT7621_RST_FE &sysc MT7621_RST_ETH>;
+		resets = <&sysc MT7621_RST_FE>, <&sysc MT7621_RST_ETH>;
 		reset-names = "fe", "eth";
 
 		interrupt-parent = <&gic>;
Signature · 1 line
2.39.2

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]