Skip to contentSkip to conversation

Cosmetic Work for ARM/Microchip (AT91)

PATCH Superseded Andrei Simion 4 participants 9 messages Oct 1, 2024 – Oct 2, 2024

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Cosmetic Work for ARM/Microchip (AT91)

This patch series updates node names and labels in the Microchip ARM DTS files to align with Device Tree specificatios

changelog:
v1 -> v2:
- drop patch : Rename the usb node
- add patch : ARM: dts: microchip: aks-cdu: Add label for LED sub nodes

Andrei Simion (4):
ARM: dts: microchip: Rename the eeprom nodename
ARM: dts: microchip: Rename the pmic node
ARM: dts: microchip: Rename LED sub nodes name
ARM: dts: microchip: aks-cdu: Add label for LED sub nodes

 arch/arm/boot/dts/microchip/aks-cdu.dts              | 12 ++++++++----
 arch/arm/boot/dts/microchip/animeo_ip.dts            |  8 ++++----
 arch/arm/boot/dts/microchip/at91-kizbox2-common.dtsi |  2 +-
 arch/arm/boot/dts/microchip/at91-sam9x60ek.dts       |  6 +++---
 arch/arm/boot/dts/microchip/at91-sama5d27_som1.dtsi  |  2 +-
 .../arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi |  2 +-
 .../boot/dts/microchip/at91-sama5d29_curiosity.dts   |  2 +-
 arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts     |  2 +-
 arch/arm/boot/dts/microchip/at91-sama5d2_ptc_ek.dts  |  2 +-
 .../arm/boot/dts/microchip/at91-sama5d2_xplained.dts |  2 +-
 .../arm/boot/dts/microchip/at91-sama5d3_xplained.dts |  2 +-
 arch/arm/boot/dts/microchip/at91-sama7g5ek.dts       |  2 +-
 arch/arm/boot/dts/microchip/at91rm9200ek.dts         |  6 +++---
 arch/arm/boot/dts/microchip/at91sam9260ek.dts        |  6 +++---
 arch/arm/boot/dts/microchip/at91sam9261ek.dts        |  6 +++---
 arch/arm/boot/dts/microchip/at91sam9263ek.dts        |  6 +++---
 arch/arm/boot/dts/microchip/at91sam9g20ek.dts        |  4 ++--
 .../arm/boot/dts/microchip/at91sam9g20ek_common.dtsi |  2 +-
 arch/arm/boot/dts/microchip/sama5d34ek.dts           |  2 +-
 arch/arm/boot/dts/microchip/sama5d3xcm_cmp.dtsi      |  2 +-
 20 files changed, 41 insertions(+), 37 deletions(-)

base-commit: 77df9e4bb2224d8ffbddec04c333a9d7965dad6c

Signature · 1 line
2.34.1
#1 lore raw

PATCH v2 1/4 ARM: dts: microchip: Rename the eeprom nodename

Align the eeprom nodename according to devicetree specification and at24.yaml

---
v1 -> v2:
- adjust commit message length

---
 arch/arm/boot/dts/microchip/at91-sama5d27_som1.dtsi   | 2 +-
 arch/arm/boot/dts/microchip/at91-sama5d2_ptc_ek.dts   | 2 +-
 arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts | 2 +-
 arch/arm/boot/dts/microchip/at91sam9260ek.dts         | 2 +-
 arch/arm/boot/dts/microchip/at91sam9263ek.dts         | 2 +-
 arch/arm/boot/dts/microchip/at91sam9g20ek_common.dtsi | 2 +-
 arch/arm/boot/dts/microchip/sama5d34ek.dts            | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
arch/arm/boot/dts/microchip/at91-sama5d27_som1.dtsi +1 -1
index 95ecb7d040a8..8ac85dac5a96 100644
@@ -106,7 +106,7 @@ i2c0: i2c@f8028000 {
 				scl-gpios = <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 				status = "okay";
 
-				at24@50 {
+				eeprom@50 {
 					compatible = "atmel,24c02";
 					reg = <0x50>;
 					pagesize = <8>;
arch/arm/boot/dts/microchip/at91-sama5d2_ptc_ek.dts +1 -1
index 200b20515ab1..e4ae60ef5f8a 100644
@@ -231,7 +231,7 @@ i2c1: i2c@fc028000 {
 				scl-gpios = <&pioA PIN_PC7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 				status = "okay";
 
-				at24@50 {
+				eeprom@50 {
 					compatible = "atmel,24c02";
 					reg = <0x50>;
 					pagesize = <8>;
arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts +1 -1
index 6680031387e8..4bab3f25b855 100644
@@ -411,7 +411,7 @@ i2c1: i2c@fc028000 {
 				scl-gpios = <&pioA PIN_PD5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 				status = "okay";
 
-				at24@54 {
+				eeprom@54 {
 					compatible = "atmel,24c02";
 					reg = <0x54>;
 					pagesize = <16>;
arch/arm/boot/dts/microchip/at91sam9260ek.dts +1 -1
index 720c15472c4a..6bd60dce8378 100644
@@ -165,7 +165,7 @@ button-4 {
 	i2c-gpio-0 {
 		status = "okay";
 
-		24c512@50 {
+		eeprom@50 {
 			compatible = "atmel,24c512";
 			reg = <0x50>;
 		};
arch/arm/boot/dts/microchip/at91sam9263ek.dts +1 -1
index ce8baff6a9f4..bad7dbecba3c 100644
@@ -253,7 +253,7 @@ button-right-click {
 	i2c-gpio-0 {
 		status = "okay";
 
-		24c512@50 {
+		eeprom@50 {
 			compatible = "atmel,24c512";
 			reg = <0x50>;
 			pagesize = <128>;
arch/arm/boot/dts/microchip/at91sam9g20ek_common.dtsi +1 -1
index 565b99e79c52..4e7cfbbd4241 100644
@@ -220,7 +220,7 @@ usb0: ohci@500000 {
 	i2c-gpio-0 {
 		status = "okay";
 
-		24c512@50 {
+		eeprom@50 {
 			compatible = "atmel,24c512";
 			reg = <0x50>;
 			vcc-supply = <&reg_3v3>;
arch/arm/boot/dts/microchip/sama5d34ek.dts +1 -1
index bffd61397cb5..18943b873fff 100644
@@ -36,7 +36,7 @@ i2c0: i2c@f0014000 {
 			i2c1: i2c@f0018000 {
 				status = "okay";
 
-				24c256@50 {
+				eeprom@50 {
 					compatible = "atmel,24c256";
 					reg = <0x50>;
 					pagesize = <64>;
Signature · 1 line
2.34.1
#2 lore raw

PATCH v2 2/4 ARM: dts: microchip: Rename the pmic node

In reply to Andrei Simion

Rename the pmic node according to the devicetree specification.

---
v1 -> v2:
- act8865 to pmic nodename
- label pmic to act8865 for pmic
- rewrap commit message

---
 arch/arm/boot/dts/microchip/at91-kizbox2-common.dtsi    | 2 +-
 arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi   | 2 +-
 arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts | 2 +-
 arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts        | 2 +-
 arch/arm/boot/dts/microchip/at91-sama5d3_xplained.dts   | 2 +-
 arch/arm/boot/dts/microchip/at91-sama7g5ek.dts          | 2 +-
 arch/arm/boot/dts/microchip/sama5d3xcm_cmp.dtsi         | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
arch/arm/boot/dts/microchip/at91-kizbox2-common.dtsi +1 -1
index e5e21dff882f..a44d92305dbb 100644
@@ -85,7 +85,7 @@ led-3 {
 &i2c1 {
 	status = "okay";
 
-	pmic: act8865@5b {
+	act8865: pmic@5b {
 		compatible = "active-semi,act8865";
 		reg = <0x5b>;
 		status = "okay";
arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi +1 -1
index c173f49cb910..ef11606a82b3 100644
@@ -75,7 +75,7 @@ &i2c1 {
 	scl-gpios = <&pioA PIN_PD20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 	status = "okay";
 
-	mcp16502@5b {
+	pmic@5b {
 		compatible = "microchip,mcp16502";
 		reg = <0x5b>;
 		lvin-supply = <&reg_5v>;
arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts +1 -1
index 951a0c97d3c6..b6684bf67d3e 100644
@@ -149,7 +149,7 @@ &i2c0 {
 	i2c-sda-hold-time-ns = <350>;
 	status = "okay";
 
-	mcp16502@5b {
+	pmic@5b {
 		compatible = "microchip,mcp16502";
 		reg = <0x5b>;
 		lvin-supply = <&reg_5v>;
arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts +1 -1
index 5e2bb517a480..9edf91c187c0 100644
@@ -195,7 +195,7 @@ i2c6: i2c@600 {
 		i2c-digital-filter-width-ns = <35>;
 		status = "okay";
 
-		mcp16502@5b {
+		pmic@5b {
 			compatible = "microchip,mcp16502";
 			reg = <0x5b>;
 			lvin-supply = <&reg_5v>;
arch/arm/boot/dts/microchip/at91-sama5d3_xplained.dts +1 -1
index 820033727088..5662992cf213 100644
@@ -87,7 +87,7 @@ i2c0: i2c@f0014000 {
 			i2c1: i2c@f0018000 {
 				status = "okay";
 
-				pmic: act8865@5b {
+				act8865: pmic@5b {
 					compatible = "active-semi,act8865";
 					reg = <0x5b>;
 					status = "disabled";
arch/arm/boot/dts/microchip/at91-sama7g5ek.dts +1 -1
index ed75d491a246..f7bcc96bcd19 100644
@@ -244,7 +244,7 @@ i2c1: i2c@600 {
 		i2c-digital-filter-width-ns = <35>;
 		status = "okay";
 
-		mcp16502@5b {
+		pmic@5b {
 			compatible = "microchip,mcp16502";
 			reg = <0x5b>;
 			lvin-supply = <&reg_5v>;
arch/arm/boot/dts/microchip/sama5d3xcm_cmp.dtsi +1 -1
index 830a0954ba1b..362806afef44 100644
@@ -79,7 +79,7 @@ ethernet-phy@7 {
 			};
 
 			i2c1: i2c@f0018000 {
-				pmic: act8865@5b {
+				act8865: pmic@5b {
 					compatible = "active-semi,act8865";
 					reg = <0x5b>;
 					status = "disabled";
Signature · 1 line
2.34.1
#3 lore raw

PATCH v2 3/4 ARM: dts: microchip: Rename LED sub nodes name

In reply to Andrei Simion

dtbs_check warnings:
leds: 'd[0-9]', 'ds[0-9]' do not match any of the regexes :
'(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
leds: 'red', 'green', 'blue' do not match any of regexes :
'(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Rename the led sub nodes according to devicetree specification and leds-gpio.yaml

---
v1 -> v2:
- add acked-by
- use pattern led-<old-label> when rename sub nodes
- rewrap commit message

---
 arch/arm/boot/dts/microchip/aks-cdu.dts        | 8 ++++----
 arch/arm/boot/dts/microchip/animeo_ip.dts      | 8 ++++----
 arch/arm/boot/dts/microchip/at91-sam9x60ek.dts | 6 +++---
 arch/arm/boot/dts/microchip/at91rm9200ek.dts   | 6 +++---
 arch/arm/boot/dts/microchip/at91sam9260ek.dts  | 4 ++--
 arch/arm/boot/dts/microchip/at91sam9261ek.dts  | 6 +++---
 arch/arm/boot/dts/microchip/at91sam9263ek.dts  | 4 ++--
 arch/arm/boot/dts/microchip/at91sam9g20ek.dts  | 4 ++--
 8 files changed, 23 insertions(+), 23 deletions(-)
arch/arm/boot/dts/microchip/aks-cdu.dts +4 -4
index 742fcf525e1b..0c3373ad1723 100644
@@ -98,23 +98,23 @@ rootfs@500000 {
 	leds {
 		compatible = "gpio-leds";
 
-		red {
+		led-red {
 			gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "none";
 		};
 
-		green {
+		led-green {
 			gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 			default-state = "on";
 		};
 
-		yellow {
+		led-yellow {
 			gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 		};
 
-		blue {
+		led-blue {
 			gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 		};
arch/arm/boot/dts/microchip/animeo_ip.dts +4 -4
index 29936bfbeeb7..7f527622d3f2 100644
@@ -146,23 +146,23 @@ usb0: ohci@500000 {
 	leds {
 		compatible = "gpio-leds";
 
-		power_green {
+		led-power-green {
 			label = "power_green";
 			gpios = <&pioC 17 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 		};
 
-		power_red {
+		led-power-red {
 			label = "power_red";
 			gpios = <&pioA 2 GPIO_ACTIVE_HIGH>;
 		};
 
-		tx_green {
+		led-tx-green {
 			label = "tx_green";
 			gpios = <&pioC 19 GPIO_ACTIVE_HIGH>;
 		};
 
-		tx_red {
+		led-tx-red {
 			label = "tx_red";
 			gpios = <&pioC 18 GPIO_ACTIVE_HIGH>;
 		};
arch/arm/boot/dts/microchip/at91-sam9x60ek.dts +3 -3
index 3b38707d736e..c416cbe99580 100644
@@ -53,17 +53,17 @@ leds {
 		pinctrl-0 = <&pinctrl_gpio_leds>;
 		status = "okay"; /* Conflict with pwm0. */
 
-		red {
+		led-red {
 			label = "red";
 			gpios = <&pioB 11 GPIO_ACTIVE_HIGH>;
 		};
 
-		green {
+		led-green {
 			label = "green";
 			gpios = <&pioB 12 GPIO_ACTIVE_HIGH>;
 		};
 
-		blue {
+		led-blue {
 			label = "blue";
 			gpios = <&pioB 13 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
arch/arm/boot/dts/microchip/at91rm9200ek.dts +3 -3
index 4624a6f076f8..0bf472b157a5 100644
@@ -127,19 +127,19 @@ root@350000  {
 	leds {
 		compatible = "gpio-leds";
 
-		ds2 {
+		led-ds2 {
 			label = "green";
 			gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "mmc0";
 		};
 
-		ds4 {
+		led-ds4 {
 			label = "yellow";
 			gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "heartbeat";
 		};
 
-		ds6 {
+		led-ds6 {
 			label = "red";
 			gpios = <&pioB 2 GPIO_ACTIVE_LOW>;
 		};
arch/arm/boot/dts/microchip/at91sam9260ek.dts +2 -2
index 6bd60dce8378..e8e65e60564d 100644
@@ -174,13 +174,13 @@ eeprom@50 {
 	leds {
 		compatible = "gpio-leds";
 
-		ds1 {
+		led-ds1 {
 			label = "ds1";
 			gpios = <&pioA 9 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 		};
 
-		ds5 {
+		led-ds5 {
 			label = "ds5";
 			gpios = <&pioA 6 GPIO_ACTIVE_LOW>;
 		};
arch/arm/boot/dts/microchip/at91sam9261ek.dts +3 -3
index 045cb253f23a..a8f523131cd6 100644
@@ -192,19 +192,19 @@ watchdog@fffffd40 {
 	leds {
 		compatible = "gpio-leds";
 
-		ds8 {
+		led-ds8 {
 			label = "ds8";
 			gpios = <&pioA 13 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 		};
 
-		ds7 {
+		led-ds7 {
 			label = "ds7";
 			gpios = <&pioA 14 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "nand-disk";
 		};
 
-		ds1 {
+		led-ds1 {
 			label = "ds1";
 			gpios = <&pioA 23 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "heartbeat";
arch/arm/boot/dts/microchip/at91sam9263ek.dts +2 -2
index bad7dbecba3c..f25692543d71 100644
@@ -219,13 +219,13 @@ &pioA 21 GPIO_ACTIVE_HIGH
 	leds {
 		compatible = "gpio-leds";
 
-		d3 {
+		led-d3 {
 			label = "d3";
 			gpios = <&pioB 7 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 		};
 
-		d2 {
+		led-d2 {
 			label = "d2";
 			gpios = <&pioC 29 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "nand-disk";
arch/arm/boot/dts/microchip/at91sam9g20ek.dts +2 -2
index 6de7a7cd3c07..1e62fd371ddb 100644
@@ -14,13 +14,13 @@ / {
 	leds {
 		compatible = "gpio-leds";
 
-		ds1 {
+		led-ds1 {
 			label = "ds1";
 			gpios = <&pioA 9 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 		};
 
-		ds5 {
+		led-ds5 {
 			label = "ds5";
 			gpios = <&pioA 6 GPIO_ACTIVE_LOW>;
 		};
Signature · 1 line
2.34.1
#4 lore raw

PATCH v2 4/4 ARM: dts: microchip: aks-cdu: Add label for LED sub nodes

In reply to Andrei Simion

Add the label property here and use the old node name as value to stay stable and avoid breaking the userspace applications that depend on those paths.

---
v1 -> v2:
- added in v2 by suggestion of Alexander Dhal

---
 arch/arm/boot/dts/microchip/aks-cdu.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/microchip/aks-cdu.dts +4 -0
index 0c3373ad1723..b65f80e1ef05 100644
@@ -99,22 +99,26 @@ leds {
 		compatible = "gpio-leds";
 
 		led-red {
+			label = "red";
 			gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "none";
 		};
 
 		led-green {
+			label = "green";
 			gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 			default-state = "on";
 		};
 
 		led-yellow {
+			label = "yellow";
 			gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 		};
 
 		led-blue {
+			label = "blue";
 			gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 		};
Signature · 1 line
2.34.1
#5 lore raw

Re: [PATCH v2 4/4] ARM: dts: microchip: aks-cdu: Add label for LED sub nodes

Quoted 6 lines · Andrei Simion

Add the label property here and use the old node name as value to stay stable and avoid breaking the userspace applications that depend on those paths.

Shouldn't this be squashed with 3/4 so as not to break it in one commit, only to fix it in another?

Quoted 41 lines

---
v1 -> v2:
- added in v2 by suggestion of Alexander Dhal

---
 arch/arm/boot/dts/microchip/aks-cdu.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/microchip/aks-cdu.dts +4 -0
index 0c3373ad1723..b65f80e1ef05 100644
@@ -99,22 +99,26 @@ leds {
 		compatible = "gpio-leds";
 
 		led-red {
+			label = "red";
 			gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "none";
 		};
 
 		led-green {
+			label = "green";
 			gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 			default-state = "on";
 		};
 
 		led-yellow {
+			label = "yellow";
 			gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 		};
 
 		led-blue {
+			label = "blue";
 			gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 		};
Signature · 1 line
2.34.1
#8 lore raw
In reply to Andrei Simion
Quoted 37 lines · Andrei Simion

This patch series updates node names and labels in the Microchip ARM DTS files to align with Device Tree specificatios

changelog:
v1 -> v2:
- drop patch : Rename the usb node
- add patch : ARM: dts: microchip: aks-cdu: Add label for LED sub nodes

Andrei Simion (4):
ARM: dts: microchip: Rename the eeprom nodename
ARM: dts: microchip: Rename the pmic node
ARM: dts: microchip: Rename LED sub nodes name
ARM: dts: microchip: aks-cdu: Add label for LED sub nodes

 arch/arm/boot/dts/microchip/aks-cdu.dts              | 12 ++++++++----
 arch/arm/boot/dts/microchip/animeo_ip.dts            |  8 ++++----
 arch/arm/boot/dts/microchip/at91-kizbox2-common.dtsi |  2 +-
 arch/arm/boot/dts/microchip/at91-sam9x60ek.dts       |  6 +++---
 arch/arm/boot/dts/microchip/at91-sama5d27_som1.dtsi  |  2 +-
 .../arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi |  2 +-
 .../boot/dts/microchip/at91-sama5d29_curiosity.dts   |  2 +-
 arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts     |  2 +-
 arch/arm/boot/dts/microchip/at91-sama5d2_ptc_ek.dts  |  2 +-
 .../arm/boot/dts/microchip/at91-sama5d2_xplained.dts |  2 +-
 .../arm/boot/dts/microchip/at91-sama5d3_xplained.dts |  2 +-
 arch/arm/boot/dts/microchip/at91-sama7g5ek.dts       |  2 +-
 arch/arm/boot/dts/microchip/at91rm9200ek.dts         |  6 +++---
 arch/arm/boot/dts/microchip/at91sam9260ek.dts        |  6 +++---
 arch/arm/boot/dts/microchip/at91sam9261ek.dts        |  6 +++---
 arch/arm/boot/dts/microchip/at91sam9263ek.dts        |  6 +++---
 arch/arm/boot/dts/microchip/at91sam9g20ek.dts        |  4 ++--
 .../arm/boot/dts/microchip/at91sam9g20ek_common.dtsi |  2 +-
 arch/arm/boot/dts/microchip/sama5d34ek.dts           |  2 +-
 arch/arm/boot/dts/microchip/sama5d3xcm_cmp.dtsi      |  2 +-
 20 files changed, 41 insertions(+), 37 deletions(-)
Quoted 6 lines

base-commit: 77df9e4bb2224d8ffbddec04c333a9d7965dad6c --
2.34.1

My bot found new DTB warnings on the .dts files added or changed in this series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:

  pip3 install dtschema --upgrade

New warnings running 'make CHECK_DTBS=y microchip/aks-cdu.dtb microchip/animeo_ip.dtb microchip/at91-sam9x60ek.dtb microchip/at91-sama5d29_curiosity.dtb microchip/at91-sama5d2_icp.dtb microchip/at91-sama5d2_ptc_ek.dtb microchip/at91-sama5d2_xplained.dtb microchip/at91-sama5d3_xplained.dtb microchip/at91-sama7g5ek.dtb microchip/at91rm9200ek.dtb microchip/at91sam9260ek.dtb microchip/at91sam9261ek.dtb microchip/at91sam9263ek.dtb microchip/at91sam9g20ek.dtb microchip/sama5d34ek.dtb' for [email protected]:

arch/arm/boot/dts/microchip/at91-sam9x60ek.dtb: /ahb/ebi@10000000/nand-controller: failed to match any schema with compatible: ['microchip,sam9x60-nand-controller']

#6 lore raw

Re: [PATCH v2 4/4] ARM: dts: microchip: aks-cdu: Add label for LED sub nodes

In reply to Conor Dooley
Quoted 10 lines · Andrei Simion
Quoted 6 lines

Add the label property here and use the old node name as value to stay stable and avoid breaking the userspace applications that depend on those paths.

Shouldn't this be squashed with 3/4 so as not to break it in one commit, only to fix it in another?

Hi,

My intent here was to give credits.
If this approach is unnecessary, I will do squash in V3.

Best Regards,
Andrei Simion

Quoted 40 lines
Quoted 40 lines

---
v1 -> v2:
- added in v2 by suggestion of Alexander Dhal

---
 arch/arm/boot/dts/microchip/aks-cdu.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/microchip/aks-cdu.dts +4 -0
index 0c3373ad1723..b65f80e1ef05 100644
@@ -99,22 +99,26 @@ leds {
 		compatible = "gpio-leds";
 
 		led-red {
+			label = "red";
 			gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "none";
 		};
 
 		led-green {
+			label = "green";
 			gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 			default-state = "on";
 		};
 
 		led-yellow {
+			label = "yellow";
 			gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 		};
 
 		led-blue {
+			label = "blue";
 			gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 		};
Signature · 1 line
2.34.1
#7 lore raw

Re: [PATCH v2 4/4] ARM: dts: microchip: aks-cdu: Add label for LED sub nodes

Hello Andrei,

Am Wed, Oct 02, 2024 at 01:30:45PM +0300 schrieb Andrei Simion:

Quoted 7 lines
Quoted 7 lines · Andrei Simion
Quoted 6 lines

Add the label property here and use the old node name as value to stay stable and avoid breaking the userspace applications that depend on those paths.

Quoted 7 lines
Quoted 3 lines

Shouldn't this be squashed with 3/4 so as not to break it in one commit, only to fix it in another?

Hi,

My intent here was to give credits.

Appreciate this. And just noticed you got my last name wrong. ;-) Credit is recorded in this thread now, this is sufficient.

Quoted 1 line

If this approach is unnecessary, I will do squash in V3.

Conor is right here. Please squash.

Greets
Alex

Quoted 45 lines

Best Regards,
Andrei Simion

Quoted 40 lines
Quoted 40 lines

---
v1 -> v2:
- added in v2 by suggestion of Alexander Dhal

---
 arch/arm/boot/dts/microchip/aks-cdu.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/microchip/aks-cdu.dts +4 -0
index 0c3373ad1723..b65f80e1ef05 100644
@@ -99,22 +99,26 @@ leds {
 		compatible = "gpio-leds";
 
 		led-red {
+			label = "red";
 			gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "none";
 		};
 
 		led-green {
+			label = "green";
 			gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 			default-state = "on";
 		};
 
 		led-yellow {
+			label = "yellow";
 			gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 		};
 
 		led-blue {
+			label = "blue";
 			gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "none";
 		};
Signature · 1 line
2.34.1