Skip to contentSkip to conversation

MIPS: dts: mscc: Updated changed name for miim pinctrl function

PATCH Applied Lars Povlsen 3 participants 3 messages May 13, 2020 – May 14, 2020

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

PATCH 1/1 MIPS: dts: mscc: Updated changed name for miim pinctrl function

This is an add-on patch to the main SoC Sparx5 series (Message-ID: <[email protected]>).

This changes the miim pinctrl function name from "miim1" to "miim" due to refactoring in the driver, obsoleting the instance number.

The change in the driver was to better fit new platforms, as the instance number is redundant information. Specifically, support for the Microchip Sparx5 SoC is being submitted, where this change became necessary.

---
 arch/mips/boot/dts/mscc/ocelot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/boot/dts/mscc/ocelot.dtsi +1 -1
index 797d336db54d3..f94e8a02ed06b 100644
@@ -214,7 +214,7 @@ uart2_pins: uart2-pins {
 
 			miim1: miim1 {
 				pins = "GPIO_14", "GPIO_15";
-				function = "miim1";
+				function = "miim";
 			};
 
 		};

--
2.26.2

maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Lars Povlsen

This is an add-on patch to the main SoC Sparx5 series (Message-ID: <[email protected]>).

This changes the miim pinctrl function name from "miim1" to "miim" due to refactoring in the driver, obsoleting the instance number.

Quoted 7 lines

The change in the driver was to better fit new platforms, as the instance number is redundant information. Specifically, support for the Microchip Sparx5 SoC is being submitted, where this change became necessary.

Quoted 19 lines
---
 arch/mips/boot/dts/mscc/ocelot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/boot/dts/mscc/ocelot.dtsi +1 -2
index 797d336db54d3..f94e8a02ed06b 100644
@@ -214,7 +214,7 @@ uart2_pins: uart2-pins {
 
 			miim1: miim1 {
 				pins = "GPIO_14", "GPIO_15";
-				function = "miim1";
+				function = "miim";
 			};
 
 		};
--

2.26.2

Signature · 3 lines
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
maintainer Applied
#2 lore raw
In reply to Lars Povlsen
Quoted 11 lines · Lars Povlsen

This is an add-on patch to the main SoC Sparx5 series (Message-ID: <[email protected]>).

This changes the miim pinctrl function name from "miim1" to "miim" due to refactoring in the driver, obsoleting the instance number.

The change in the driver was to better fit new platforms, as the instance number is redundant information. Specifically, support for the Microchip Sparx5 SoC is being submitted, where this change became necessary.

Quoted 5 lines
---
 arch/mips/boot/dts/mscc/ocelot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 ]