Cosmetic Work for ARM/Microchip (AT91)
Subsystems (2)
v3 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:
v2 -> v3:
- squash ARM: dts: microchip: aks-cdu: Add label for LED sub nodes
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
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: fe21733536749bb1b31c9c84e0b8d2ab8d82ce13
Signature · 1 line
2.34.1
PATCH v3 1/3 ARM: dts: microchip: Rename the eeprom nodename
Align the eeprom nodename according to devicetree specification and at24.yaml
---
v2 -> v3:
- no change
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -220,7 +220,7 @@ usb0: ohci@500000 { i2c-gpio-0 { status = "okay"; - 24c512@50 { + eeprom@50 { compatible = "atmel,24c512"; reg = <0x50>; vcc-supply = <®_3v3>;
arch/arm/boot/dts/microchip/sama5d34ek.dts +1 -1
@@ -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
PATCH v3 2/3 ARM: dts: microchip: Rename the pmic node
In reply to Andrei SimionRename the pmic node according to the devicetree specification.
---
v2 -> v3:
- no change
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
@@ -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
@@ -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 = <®_5v>;
arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts +1 -1
@@ -149,7 +149,7 @@ &i2c0 { i2c-sda-hold-time-ns = <350>; status = "okay"; - mcp16502@5b { + pmic@5b { compatible = "microchip,mcp16502"; reg = <0x5b>; lvin-supply = <®_5v>;
arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts +1 -1
@@ -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 = <®_5v>;
arch/arm/boot/dts/microchip/at91-sama5d3_xplained.dts +1 -1
@@ -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
@@ -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 = <®_5v>;
arch/arm/boot/dts/microchip/sama5d3xcm_cmp.dtsi +1 -1
@@ -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
PATCH v3 3/3 ARM: dts: microchip: Rename LED sub nodes name
In reply to Andrei Simiondtbs_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 and for aks-cdu add label property and use the old node name as value to stay stable and avoid breaking the userspace applications that depend on those paths.
---
v2 -> v3:
- squash ARM: dts: microchip: aks-cdu: Add label for LED sub nodes
- update commit message
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 | 12 ++++++++---- 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, 27 insertions(+), 23 deletions(-)
arch/arm/boot/dts/microchip/aks-cdu.dts +8 -4
@@ -98,23 +98,27 @@ rootfs@500000 { leds { compatible = "gpio-leds"; - red { + led-red { + label = "red"; gpios = <&pioC 10 GPIO_ACTIVE_HIGH>; linux,default-trigger = "none"; }; - green { + led-green { + label = "green"; gpios = <&pioA 5 GPIO_ACTIVE_LOW>; linux,default-trigger = "none"; default-state = "on"; }; - yellow { + led-yellow { + label = "yellow"; gpios = <&pioB 20 GPIO_ACTIVE_LOW>; linux,default-trigger = "none"; }; - blue { + led-blue { + label = "blue"; gpios = <&pioB 21 GPIO_ACTIVE_LOW>; linux,default-trigger = "none"; };
arch/arm/boot/dts/microchip/animeo_ip.dts +4 -4
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
Quoted 4 lines · Andrei Simion
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
Applied to at91-dt, thanks!