Cosmetic Work for ARM/Microchip (AT91)
cover Cosmetic Work for ARM/Microchip (AT91)
This patch set proposes to:
- clean up coding style errors reported by checkpatch.pl
- align the nodename and sub nodename according to the devicetree specification even with their binding.
Andrei Simion (5):
ARM: dts: microchip: Clean up spacing and indentation
ARM: dts: microchip: Rename the eeprom nodename
ARM: dts: microchip: Rename the pmic node
ARM: dts: microchip: Rename the usb 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 | 10 +++++----- arch/arm/boot/dts/microchip/at91-ariag25.dts | 4 ++-- arch/arm/boot/dts/microchip/at91-ariettag25.dts | 6 +++--- .../boot/dts/microchip/at91-cosino_mega2560.dts | 8 ++++---- arch/arm/boot/dts/microchip/at91-dvk_som60.dts | 6 +++--- .../boot/dts/microchip/at91-dvk_su60_somc.dtsi | 6 +++--- arch/arm/boot/dts/microchip/at91-foxg20.dts | 4 ++-- arch/arm/boot/dts/microchip/at91-gatwick.dts | 4 ++-- arch/arm/boot/dts/microchip/at91-kizbox.dts | 2 +- .../boot/dts/microchip/at91-kizbox2-common.dtsi | 6 +++--- arch/arm/boot/dts/microchip/at91-kizbox3-hs.dts | 6 +++--- .../dts/microchip/at91-kizboxmini-common.dtsi | 4 ++-- .../boot/dts/microchip/at91-kizboxmini-mb.dts | 2 +- arch/arm/boot/dts/microchip/at91-lmu5000.dts | 4 ++-- .../boot/dts/microchip/at91-nattis-2-natte-2.dts | 2 +- arch/arm/boot/dts/microchip/at91-q5xr5.dts | 4 ++-- arch/arm/boot/dts/microchip/at91-qil_a9260.dts | 4 ++-- arch/arm/boot/dts/microchip/at91-sam9_l9260.dts | 2 +- .../dts/microchip/at91-sam9x60_curiosity.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sam9x60ek.dts | 12 ++++++------ .../boot/dts/microchip/at91-sama5d27_som1.dtsi | 2 +- .../boot/dts/microchip/at91-sama5d27_som1_ek.dts | 14 +++++++------- .../boot/dts/microchip/at91-sama5d27_wlsom1.dtsi | 2 +- .../dts/microchip/at91-sama5d27_wlsom1_ek.dts | 6 +++--- .../dts/microchip/at91-sama5d29_curiosity.dts | 8 ++++---- arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts | 16 ++++++++-------- .../boot/dts/microchip/at91-sama5d2_ptc_ek.dts | 8 ++++---- .../boot/dts/microchip/at91-sama5d2_xplained.dts | 8 ++++---- arch/arm/boot/dts/microchip/at91-sama5d3_eds.dts | 6 +++--- .../dts/microchip/at91-sama5d3_ksz9477_evb.dts | 2 +- .../boot/dts/microchip/at91-sama5d3_xplained.dts | 8 ++++---- .../boot/dts/microchip/at91-sama5d4_ma5d4evk.dts | 6 +++--- .../boot/dts/microchip/at91-sama5d4_xplained.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sama5d4ek.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sama7g5ek.dts | 2 +- arch/arm/boot/dts/microchip/at91-som60.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91-tse850-3.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-vinco.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-wb45n.dts | 2 +- arch/arm/boot/dts/microchip/at91-wb45n.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91-wb50n.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-wb50n.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91rm9200.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91rm9200ek.dts | 10 +++++----- arch/arm/boot/dts/microchip/at91sam9260.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91sam9260ek.dts | 10 +++++----- arch/arm/boot/dts/microchip/at91sam9261.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91sam9261ek.dts | 10 +++++----- arch/arm/boot/dts/microchip/at91sam9263.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91sam9263ek.dts | 12 ++++++------ arch/arm/boot/dts/microchip/at91sam9g20ek.dts | 4 ++-- .../boot/dts/microchip/at91sam9g20ek_common.dtsi | 6 +++--- arch/arm/boot/dts/microchip/at91sam9g45.dtsi | 6 +++--- arch/arm/boot/dts/microchip/at91sam9m10g45ek.dts | 6 +++--- arch/arm/boot/dts/microchip/at91sam9n12.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91sam9n12ek.dts | 4 ++-- arch/arm/boot/dts/microchip/at91sam9rl.dtsi | 2 +- arch/arm/boot/dts/microchip/at91sam9rlek.dts | 2 +- arch/arm/boot/dts/microchip/at91sam9x5.dtsi | 6 +++--- arch/arm/boot/dts/microchip/at91sam9x5ek.dtsi | 6 +++--- arch/arm/boot/dts/microchip/ethernut5.dts | 4 ++-- arch/arm/boot/dts/microchip/evk-pro3.dts | 4 ++-- arch/arm/boot/dts/microchip/mpa1600.dts | 2 +- arch/arm/boot/dts/microchip/pm9g45.dts | 4 ++-- arch/arm/boot/dts/microchip/sam9x60.dtsi | 6 +++--- arch/arm/boot/dts/microchip/sama5d2.dtsi | 6 +++--- arch/arm/boot/dts/microchip/sama5d3.dtsi | 6 +++--- arch/arm/boot/dts/microchip/sama5d34ek.dts | 2 +- arch/arm/boot/dts/microchip/sama5d3xcm_cmp.dtsi | 2 +- arch/arm/boot/dts/microchip/sama5d3xmb.dtsi | 6 +++--- arch/arm/boot/dts/microchip/sama5d3xmb_cmp.dtsi | 2 +- arch/arm/boot/dts/microchip/sama5d4.dtsi | 6 +++--- arch/arm/boot/dts/microchip/tny_a9263.dts | 2 +- .../arm/boot/dts/microchip/usb_a9260_common.dtsi | 4 ++-- arch/arm/boot/dts/microchip/usb_a9263.dts | 4 ++-- 76 files changed, 205 insertions(+), 205 deletions(-)
base-commit: 320eb81df4f6c1a1814fd02ebb4ba41eb80a3c7e
Signature · 1 line
2.34.1
PATCH 1/5 ARM: dts: microchip: Clean up spacing and indentation
Checkpatch.pl reports some ERRORS related
to coding style (spacing and indentation).
So clean up : checkpatch.pl --fix-inplace
---
Split the bloated patch into small patches on topics based on comments:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
--- arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts | 2 +- arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts | 8 ++++---- arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts | 8 ++++---- arch/arm/boot/dts/microchip/at91sam9263ek.dts | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-)
arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts +1 -1
@@ -7,7 +7,7 @@ * HCE Engineering * * Derived from at91sam9g35ek.dts by: - * Copyright (C) 2012 Atmel, + * Copyright (C) 2012 Atmel, * 2012 Nicolas Ferre <[email protected]> */
arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts +4 -4
@@ -258,10 +258,10 @@ pinctrl_i2c1_default: i2c1_default { }; pinctrl_i2c1_gpio: i2c1_gpio { - pinmux = <PIN_PD4__GPIO>, - <PIN_PD5__GPIO>; - bias-disable; - }; + pinmux = <PIN_PD4__GPIO>, + <PIN_PD5__GPIO>; + bias-disable; + }; pinctrl_isc_base: isc_base {
arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts +4 -4
@@ -407,10 +407,10 @@ pinctrl_i2c1_default: i2c1_default { }; pinctrl_i2c1_gpio: i2c1_gpio { - pinmux = <PIN_PD19__GPIO>, - <PIN_PD20__GPIO>; - bias-disable; - }; + pinmux = <PIN_PD19__GPIO>, + <PIN_PD20__GPIO>; + bias-disable; + }; pinctrl_key_gpio_default: key_gpio_default { pinmux = <PIN_PD0__GPIO>;
arch/arm/boot/dts/microchip/at91sam9263ek.dts +1 -1
@@ -86,7 +86,7 @@ pinctrl@fffff200 { mmc0 { pinctrl_board_mmc0: mmc0-board { atmel,pins = - <AT91_PIOE 18 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH /* PE18 gpio CD pin pull up and deglitch */ + <AT91_PIOE 18 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH /* PE18 gpio CD pin pull up and deglitch */ AT91_PIOE 19 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PE19 gpio WP pin pull up */ }; };
Signature · 1 line
2.34.1
Re: [PATCH 1/5] ARM: dts: microchip: Clean up spacing and indentation
Quoted 3 lines · Andrei Simion
Checkpatch.pl reports some ERRORS related
to coding style (spacing and indentation).
So clean up : checkpatch.pl --fix-inplace
Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597
Please be specific what are you changing.
Quoted 18 lines
Signed-off-by Andrei Simion <[email protected]>---
Split the bloated patch into small patches on topics based on comments:
https://lore.kernel.org/linux-arm-kernel/[email protected]/--- arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts | 2 +- arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts | 8 ++++---- arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts | 8 ++++---- arch/arm/boot/dts/microchip/at91sam9263ek.dts | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-)arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts +0
-0
arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts line 10
Quoted 5 lines
arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts +1
-1@@ -7,7 +7,7 @@ * HCE Engineering * * Derived from at91sam9g35ek.dts by: - * Copyright (C) 2012 Atmel, + * Copyright (C) 2012 Atmel,
Not sure what you are fixing here, but unnecessary tab was here before and still exists...
arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts line 13
Quoted 3 lines
arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts +0
-0* 2012 Nicolas Ferre <[email protected]> */
Best regards,
Krzysztof
Re: [PATCH 1/5] ARM: dts: microchip: Clean up spacing and indentation
Quoted 11 lines · Krzysztof Kozlowski
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Quoted 3 lines · Andrei Simion
Checkpatch.pl reports some ERRORS related
to coding style (spacing and indentation).
So clean up : checkpatch.pl --fix-inplacePlease wrap commit message according to Linux coding style / submission process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597
checkpatch.pl has no lower limit for the number of characters. If you want 75 cols. OK for me.
Quoted 2 lines
Please be specific what are you changing.
It was a bigger/bloated patch and I split it into smaller ones based on what ARM/Microchip (AT91) Maintainer said.
Quoted 14 lines
Quoted 14 lines
Signed-off-by Andrei Simion <[email protected]>---
Split the bloated patch into small patches on topics based on comments:
https://lore.kernel.org/linux-arm-kernel/[email protected]/--- arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts | 2 +- arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts | 8 ++++---- arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts | 8 ++++---- arch/arm/boot/dts/microchip/at91sam9263ek.dts | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-)
Quoted 14 lines
arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts line 10
Quoted 10 lines
arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts +1
-1@@ -7,7 +7,7 @@ * HCE Engineering * * Derived from at91sam9g35ek.dts by: - * Copyright (C) 2012 Atmel, + * Copyright (C) 2012 Atmel,Not sure what you are fixing here, but unnecessary tab was here before and still exists...
WARNING: please, no space before tabs
#10: FILE: arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts:10:
+ * ^ICopyright (C) 2012 Atmel,$
after this patch : this warning disappears.
Quoted 7 lines
arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts line 13
Quoted 3 lines
arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts +0
-0* 2012 Nicolas Ferre <[email protected]> */Best regards,
Krzysztof
BR,
Andrei Simion
Re: [PATCH 1/5] ARM: dts: microchip: Clean up spacing and indentation
Quoted 8 lines · On 14/08/2024 15:32, [email protected] wrote:
Quoted 7 lines · Krzysztof Kozlowski
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Quoted 3 lines · Andrei Simion
Checkpatch.pl reports some ERRORS related
to coding style (spacing and indentation).
So clean up : checkpatch.pl --fix-inplace
Quoted 7 lines
Quoted 4 lines
Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597checkpatch.pl has no lower limit for the number of characters. If you want 75 cols. OK for me.
That
has
nothing
to
do
with
checkpatch
but
with
readability. Please
read
submitting patches document.
Quoted 7 lines
Quoted 4 lines
Please be specific what are you changing.
It was a bigger/bloated patch and I split it into smaller ones based on what ARM/Microchip (AT91) Maintainer said.
I meant, what the commit is doing.
Quoted 30 lines
Quoted 15 lines
Quoted 15 lines
Signed-off-by Andrei Simion <[email protected]>---
Split the bloated patch into small patches on topics based on comments:
https://lore.kernel.org/linux-arm-kernel/[email protected]/--- arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts | 2 +- arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts | 8 ++++---- arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts | 8 ++++---- arch/arm/boot/dts/microchip/at91sam9263ek.dts | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-)Quoted 14 lines
arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts line 10
Quoted 10 lines
arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts +1
-1@@ -7,7 +7,7 @@ * HCE Engineering * * Derived from at91sam9g35ek.dts by: - * Copyright (C) 2012 Atmel, + * Copyright (C) 2012 Atmel,Not sure what you are fixing here, but unnecessary tab was here before and still exists...
Quoted 5 lines
WARNING: please, no space before tabs
#10: FILE:arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts:10:
+ * ^ICopyright (C) 2012 Atmel,$after this patch : this warning disappears.
Yeah, but code is not correct, is it?
Do not run checkpatch --inplace and commit the changes. Who gave you such idea?
Instead fix the actual issue in a correct way.
Best regards,
Krzysztof
Re: [PATCH 1/5] ARM: dts: microchip: Clean up spacing and indentation
Quoted 10 lines · Krzysztof Kozlowski
Quoted 5 lines
WARNING: please, no space before tabs
#10: FILE:arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts:10:
+ * ^ICopyright (C) 2012 Atmel,$after this patch : this warning disappears.
Yeah, but code is not correct, is it?
Do not run checkpatch --inplace and commit the changes. Who gave you such idea?
No one gave me this idea.
Quoted 3 lines
Instead fix the actual issue in a correct way.
OK. I understand.
Quoted 3 lines
Best regards,
Krzysztof
Best Regards,
Andrei Simion
PATCH 2/5 ARM: dts: microchip: Rename the eeprom nodename
In reply to Andrei SimionAlign the eeprom nodename according to devicetree
specification and at24.yaml
---
Split the bloated patch into small patches on topics based on comments:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
--- 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 3/5 ARM: dts: microchip: Rename the pmic node
In reply to Andrei SimionRename the pmic node according to the devicetree
specification.
---
Split the bloated patch into small patches on topics based on comments
https://lore.kernel.org/linux-arm-kernel/[email protected]/
--- 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
@@ -67,7 +67,7 @@ &i2c1 { scl-gpios = <&pioA PIN_PD20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status = "okay"; - mcp16502@5b { + pmic@5b { compatible = "microchip,mcp16502"; reg = <0x5b>; status = "okay";
arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts +1 -1
@@ -141,7 +141,7 @@ &i2c0 { i2c-sda-hold-time-ns = <350>; status = "okay"; - mcp16502@5b { + pmic@5b { compatible = "microchip,mcp16502"; reg = <0x5b>; status = "okay";
arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts +1 -1
@@ -187,7 +187,7 @@ i2c6: i2c@600 { i2c-digital-filter-width-ns = <35>; status = "okay"; - mcp16502@5b { + pmic@5b { compatible = "microchip,mcp16502"; reg = <0x5b>; status = "okay";
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
@@ -236,7 +236,7 @@ i2c1: i2c@600 { i2c-digital-filter-width-ns = <35>; status = "okay"; - mcp16502@5b { + pmic@5b { compatible = "microchip,mcp16502"; reg = <0x5b>; status = "okay";
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
Re: [PATCH 3/5] ARM: dts: microchip: Rename the pmic node
Quoted 9 lines · Andrei Simion
Rename the pmic node according to the devicetree
specification.Signed-off-by Andrei Simion <[email protected]>---
Split the bloated patch into small patches on topics based on comments
https://lore.kernel.org/linux-arm-kernel/[email protected]/
---
All renames should be rather together.
Best regards,
Krzysztof
Re: [PATCH 3/5] ARM: dts: microchip: Rename the pmic node
Quoted 4 lines · Krzysztof Kozlowski
Quoted 3 lines · Andrei Simion
Rename the pmic node according to the devicetree
specification.
Quoted 9 lines
Quoted 6 lines
Signed-off-by Andrei Simion <[email protected]>---
Split the bloated patch into small patches on topics based on comments
https://lore.kernel.org/linux-arm-kernel/[email protected]/
---All renames should be rather together.
I retract my statement, I thought you keep renaming one type of devices per patch. Other renames are a bit different, so it was reasonable to keep them separate.
Best regards,
Krzysztof
PATCH 4/5 ARM: dts: microchip: Rename the usb node
In reply to Andrei SimionRename the usb node according to devicetree
specification and update the label according
with the node-specific standard as: ohci, ehci
or gadget.
---
Split the bloated patch into small patches on topics based on comments:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
--- arch/arm/boot/dts/microchip/aks-cdu.dts | 4 ++-- arch/arm/boot/dts/microchip/animeo_ip.dts | 2 +- arch/arm/boot/dts/microchip/at91-ariag25.dts | 4 ++-- arch/arm/boot/dts/microchip/at91-ariettag25.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-dvk_som60.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-dvk_su60_somc.dtsi | 6 +++--- arch/arm/boot/dts/microchip/at91-foxg20.dts | 4 ++-- arch/arm/boot/dts/microchip/at91-gatwick.dts | 4 ++-- arch/arm/boot/dts/microchip/at91-kizbox.dts | 2 +- arch/arm/boot/dts/microchip/at91-kizbox2-common.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91-kizbox3-hs.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-kizboxmini-common.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91-kizboxmini-mb.dts | 2 +- arch/arm/boot/dts/microchip/at91-lmu5000.dts | 4 ++-- arch/arm/boot/dts/microchip/at91-nattis-2-natte-2.dts | 2 +- arch/arm/boot/dts/microchip/at91-q5xr5.dts | 4 ++-- arch/arm/boot/dts/microchip/at91-qil_a9260.dts | 4 ++-- arch/arm/boot/dts/microchip/at91-sam9_l9260.dts | 2 +- arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sam9x60ek.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sama5d2_ptc_ek.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sama5d3_eds.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts | 2 +- arch/arm/boot/dts/microchip/at91-sama5d3_xplained.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sama5d4_ma5d4evk.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sama5d4_xplained.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-sama5d4ek.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-som60.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91-tse850-3.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-vinco.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-wb45n.dts | 2 +- arch/arm/boot/dts/microchip/at91-wb45n.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91-wb50n.dts | 6 +++--- arch/arm/boot/dts/microchip/at91-wb50n.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91rm9200.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91rm9200ek.dts | 4 ++-- arch/arm/boot/dts/microchip/at91sam9260.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91sam9260ek.dts | 4 ++-- arch/arm/boot/dts/microchip/at91sam9261.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91sam9261ek.dts | 4 ++-- arch/arm/boot/dts/microchip/at91sam9263.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91sam9263ek.dts | 4 ++-- arch/arm/boot/dts/microchip/at91sam9g20ek_common.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91sam9g45.dtsi | 6 +++--- arch/arm/boot/dts/microchip/at91sam9m10g45ek.dts | 6 +++--- arch/arm/boot/dts/microchip/at91sam9n12.dtsi | 4 ++-- arch/arm/boot/dts/microchip/at91sam9n12ek.dts | 4 ++-- arch/arm/boot/dts/microchip/at91sam9rl.dtsi | 2 +- arch/arm/boot/dts/microchip/at91sam9rlek.dts | 2 +- arch/arm/boot/dts/microchip/at91sam9x5.dtsi | 6 +++--- arch/arm/boot/dts/microchip/at91sam9x5ek.dtsi | 6 +++--- arch/arm/boot/dts/microchip/ethernut5.dts | 4 ++-- arch/arm/boot/dts/microchip/evk-pro3.dts | 4 ++-- arch/arm/boot/dts/microchip/mpa1600.dts | 2 +- arch/arm/boot/dts/microchip/pm9g45.dts | 4 ++-- arch/arm/boot/dts/microchip/sam9x60.dtsi | 6 +++--- arch/arm/boot/dts/microchip/sama5d2.dtsi | 6 +++--- arch/arm/boot/dts/microchip/sama5d3.dtsi | 6 +++--- arch/arm/boot/dts/microchip/sama5d3xmb.dtsi | 6 +++--- arch/arm/boot/dts/microchip/sama5d3xmb_cmp.dtsi | 2 +- arch/arm/boot/dts/microchip/sama5d4.dtsi | 6 +++--- arch/arm/boot/dts/microchip/tny_a9263.dts | 2 +- arch/arm/boot/dts/microchip/usb_a9260_common.dtsi | 4 ++-- arch/arm/boot/dts/microchip/usb_a9263.dts | 4 ++-- 70 files changed, 158 insertions(+), 158 deletions(-)
arch/arm/boot/dts/microchip/aks-cdu.dts +2 -2
@@ -50,13 +50,13 @@ macb0: ethernet@fffc4000 { status = "okay"; }; - usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>; status = "okay"; }; }; - usb0: ohci@500000 { + ohci: usb@500000 { num-ports = <2>; status = "okay"; };
arch/arm/boot/dts/microchip/animeo_ip.dts +1 -1
@@ -136,7 +136,7 @@ ubi@60000 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { num-ports = <2>; atmel,vbus-gpio = <&pioB 15 GPIO_ACTIVE_LOW>; status = "okay";
arch/arm/boot/dts/microchip/at91-ariag25.dts +2 -2
@@ -173,11 +173,11 @@ &usart3 { status = "okay"; }; -&usb0 { +&ohci { status = "okay"; num-ports = <3>; }; -&usb1 { +&ehci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-ariettag25.dts +3 -3
@@ -73,15 +73,15 @@ timer@1 { }; }; -&usb0 { +&ohci { num-ports = <3>; status = "okay"; }; -&usb1 { +&ehci { status = "okay"; }; -&usb2 { +&gadget { status = "okay"; };
arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts +3 -3
@@ -56,7 +56,7 @@ &usart2 { status = "okay"; }; -&usb0 { +&ohci { num-ports = <3>; atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW */ &pioD 19 GPIO_ACTIVE_LOW
@@ -65,11 +65,11 @@ &pioD 20 GPIO_ACTIVE_LOW status = "okay"; }; -&usb1 { +&ehci { status = "okay"; }; -&usb2 { +&gadget { atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>; status = "okay"; };
arch/arm/boot/dts/microchip/at91-dvk_som60.dts +3 -3
@@ -81,15 +81,15 @@ &macb1 { status = "okay"; }; -&usb0 { +&gadget { status = "okay"; }; -&usb1 { +&ohci { status = "okay"; }; -&usb2 { +&ehci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-dvk_su60_somc.dtsi +3 -3
@@ -145,15 +145,15 @@ ethernet-phy@1 { }; }; -&usb0 { +&gadget{ status = "okay"; }; -&usb1 { +&ohci { status = "okay"; }; -&usb2 { +&ehci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-foxg20.dts +2 -2
@@ -45,7 +45,7 @@ timer@2 { }; }; - usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { atmel,vbus-gpio = <&pioC 6 GPIO_ACTIVE_HIGH>; status = "okay"; };
@@ -131,7 +131,7 @@ watchdog@fffffd40 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { num-ports = <2>; status = "okay"; };
arch/arm/boot/dts/microchip/at91-gatwick.dts +2 -2
@@ -111,11 +111,11 @@ spidev@0 { }; }; -&usb1 { +&ohci { status = "okay"; /delete-property/atmel,oc-gpio; }; -&usb2 { +&ehci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-kizbox.dts +1 -1
@@ -175,7 +175,7 @@ &watchdog { status = "okay"; }; -&usb0 { +&ohci { num-ports = <1>; status = "okay"; };
arch/arm/boot/dts/microchip/at91-kizbox2-common.dtsi +2 -2
@@ -223,11 +223,11 @@ ubi@20000 { }; }; -&usb1 { +&ohci { status = "okay"; }; -&usb2 { +&ehci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-kizbox3-hs.dts +3 -3
@@ -296,14 +296,14 @@ i2c6: i2c@600 { }; }; -&usb0 { +&gadget { status = "okay"; }; -&usb1 { +&ohci { status = "okay"; }; -&usb2 { +&ehci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-kizboxmini-common.dtsi +2 -2
@@ -157,12 +157,12 @@ ubi@20000 { }; }; -&usb0 { +&ohci { num-ports = <1>; status = "okay"; }; -&usb1 { +&ehci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-kizboxmini-mb.dts +1 -1
@@ -13,7 +13,7 @@ / { "atmel,at91sam9x5", "atmel,at91sam9"; }; -&usb0 { +&ohci { num-ports = <2>; };
arch/arm/boot/dts/microchip/at91-lmu5000.dts +2 -2
@@ -130,12 +130,12 @@ &usart2 { status = "okay"; }; -&usb0 { +&ohci { num-ports = <2>; status = "okay"; }; -&usb1 { +&gadget { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb1_vbus_gpio>; atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
arch/arm/boot/dts/microchip/at91-nattis-2-natte-2.dts +1 -1
@@ -297,7 +297,7 @@ &dbgu { atmel,use-dma-rx; }; -&usb0 { +&gadget { status = "okay"; atmel,vbus-gpio = <&pioD 28 GPIO_ACTIVE_HIGH>;
arch/arm/boot/dts/microchip/at91-q5xr5.dts +2 -2
@@ -167,12 +167,12 @@ &pinctrl_usart0_dcd status = "okay"; }; -&usb0 { +&ohci { num-ports = <2>; status = "okay"; }; -&usb1 { +&gadget { status = "okay"; };
arch/arm/boot/dts/microchip/at91-qil_a9260.dts +2 -2
@@ -42,7 +42,7 @@ timer@2 { }; }; - usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; status = "okay"; };
@@ -114,7 +114,7 @@ shdwc: poweroff@fffffd10 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { num-ports = <2>; status = "okay"; };
arch/arm/boot/dts/microchip/at91-sam9_l9260.dts +1 -1
@@ -105,7 +105,7 @@ nand0: nand@40000000 { status = "okay"; }; - usb0: ohci@500000 { + ohci: usb@500000 { status = "okay"; };
arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts +3 -3
@@ -482,14 +482,14 @@ timer1: timer@1 { }; }; -&usb0 { +&gadget { atmel,vbus-gpio = <&pioA 27 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; -&usb1 { +&ohci { num-ports = <3>; atmel,vbus-gpio = <0 &pioD 18 GPIO_ACTIVE_HIGH
@@ -499,7 +499,7 @@ &pioD 18 GPIO_ACTIVE_HIGH status = "okay"; }; -&usb2 { +&ehci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-sam9x60ek.dts +3 -3
@@ -641,14 +641,14 @@ timer1: timer@1 { }; }; -&usb0 { +&gadget { atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; -&usb1 { +&ohci { num-ports = <3>; atmel,vbus-gpio = <0 &pioD 15 GPIO_ACTIVE_HIGH
@@ -658,7 +658,7 @@ &pioD 15 GPIO_ACTIVE_HIGH status = "okay"; }; -&usb2 { +&ehci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts +3 -3
@@ -30,14 +30,14 @@ chosen { }; ahb { - usb0: gadget@300000 { + gadget: usb@300000 { atmel,vbus-gpio = <&pioA PIN_PD20 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; - usb1: ohci@400000 { + ohci: usb@400000 { num-ports = <3>; atmel,vbus-gpio = <0 /* &pioA PIN_PD20 GPIO_ACTIVE_HIGH */ &pioA PIN_PA27 GPIO_ACTIVE_HIGH
@@ -48,7 +48,7 @@ &pioA PIN_PA27 GPIO_ACTIVE_HIGH status = "okay"; }; - usb2: ehci@500000 { + ehci: usb@500000 { status = "okay"; };
arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts +3 -3
@@ -239,14 +239,14 @@ &uart3 { status = "okay"; }; -&usb0 { +&gadget { atmel,vbus-gpio = <&pioA PIN_PA16 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; -&usb1 { +&ohci { num-ports = <3>; atmel,vbus-gpio = <0 &pioA PIN_PA10 GPIO_ACTIVE_HIGH
@@ -257,7 +257,7 @@ &pioA PIN_PA10 GPIO_ACTIVE_HIGH status = "okay"; }; -&usb2 { +&ehci { phy_type = "hsic"; status = "okay"; };
arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts +3 -3
@@ -574,14 +574,14 @@ &uart4 { status = "okay"; }; -&usb0 { +&gadget { atmel,vbus-gpio = <&pioA PIN_PB13 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; -&usb1 { +&ohci { num-ports = <3>; atmel,vbus-gpio = <0 &pioA PIN_PA6 GPIO_ACTIVE_HIGH
@@ -591,7 +591,7 @@ &pioA PIN_PA6 GPIO_ACTIVE_HIGH status = "okay"; }; -&usb2 { +&ehci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts +3 -3
@@ -766,21 +766,21 @@ &uart3 { status = "okay"; }; -&usb0 { +&gadget { atmel,vbus-gpio = <&pioA PIN_PD23 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; -&usb1 { +&ohci { num-ports = <3>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb_default>; status = "okay"; }; -&usb2 { +&ehci { phy_type = "hsic"; status = "okay"; };
arch/arm/boot/dts/microchip/at91-sama5d2_ptc_ek.dts +3 -3
@@ -40,14 +40,14 @@ main_xtal { }; ahb { - usb0: gadget@300000 { + gadget: usb@300000 { atmel,vbus-gpio = <&pioA PIN_PB11 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; - usb1: ohci@400000 { + ohci: usb@400000 { num-ports = <3>; atmel,vbus-gpio = <0 &pioA PIN_PB12 GPIO_ACTIVE_HIGH
@@ -58,7 +58,7 @@ &pioA PIN_PB12 GPIO_ACTIVE_HIGH status = "okay"; }; - usb2: ehci@500000 { + ehci: usb@500000 { status = "okay"; };
arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts +3 -3
@@ -39,14 +39,14 @@ main_xtal { }; ahb { - usb0: gadget@300000 { + gadget: usb@300000 { atmel,vbus-gpio = <&pioA PIN_PA31 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; - usb1: ohci@400000 { + ohci: usb@400000 { num-ports = <3>; atmel,vbus-gpio = <0 /* &pioA PIN_PB9 GPIO_ACTIVE_HIGH */ &pioA PIN_PB10 GPIO_ACTIVE_HIGH
@@ -57,7 +57,7 @@ &pioA PIN_PB10 GPIO_ACTIVE_HIGH status = "okay"; }; - usb2: ehci@500000 { + ehci: usb@500000 { status = "okay"; };
arch/arm/boot/dts/microchip/at91-sama5d3_eds.dts +3 -3
@@ -284,14 +284,14 @@ timer1: timer@1 { }; }; -&usb0 { /* USB Device port with VBUS detection. */ +&gadget {/* USB Device port with VBUS detection. */ atmel,vbus-gpio = <&pioE 9 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; -&usb1 { /* 3-port Host. First port is unused. */ +&ohci { /* 3-port Host. First port is unused. */ atmel,vbus-gpio = <0 &pioE 3 GPIO_ACTIVE_HIGH &pioE 4 GPIO_ACTIVE_HIGH
@@ -302,6 +302,6 @@ &pioE 4 GPIO_ACTIVE_HIGH status = "okay"; }; -&usb2 { +&ehci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +1 -1
@@ -175,7 +175,7 @@ timer1: timer@1 { }; }; -&usb0 { +&gadget { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; atmel,vbus-gpio = <&pioE 9 GPIO_ACTIVE_HIGH>;
arch/arm/boot/dts/microchip/at91-sama5d3_xplained.dts +3 -3
@@ -276,14 +276,14 @@ pinctrl_vcc_mmc0_reg_gpio: vcc_mmc0_reg_gpio_default { }; }; - usb0: gadget@500000 { + gadget: usb@500000 { atmel,vbus-gpio = <&pioE 9 GPIO_ACTIVE_HIGH>; /* PE9, conflicts with A9 */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; - usb1: ohci@600000 { + ohci: usb@600000 { num-ports = <3>; atmel,vbus-gpio = <0 &pioE 3 GPIO_ACTIVE_LOW
@@ -294,7 +294,7 @@ &pioE 4 GPIO_ACTIVE_LOW status = "okay"; }; - usb2: ehci@700000 { + ehci: usb@700000 { status = "okay"; };
arch/arm/boot/dts/microchip/at91-sama5d4_ma5d4evk.dts +3 -3
@@ -15,14 +15,14 @@ chosen { }; ahb { - usb0: gadget@400000 { + gadget: usb@400000 { atmel,vbus-gpio = <&pioE 31 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; - usb1: ohci@500000 { + ohci: usb@500000 { num-ports = <3>; atmel,vbus-gpio = <0 &pioE 11 GPIO_ACTIVE_LOW
@@ -31,7 +31,7 @@ &pioE 14 GPIO_ACTIVE_LOW status = "okay"; }; - usb2: ehci@600000 { + ehci: usb@600000 { status = "okay"; };
arch/arm/boot/dts/microchip/at91-sama5d4_xplained.dts +3 -3
@@ -157,14 +157,14 @@ pinctrl_vcc_mmc1_reg: vcc_mmc1_reg { }; }; - usb0: gadget@400000 { + gadget: usb@400000 { atmel,vbus-gpio = <&pioE 31 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; - usb1: ohci@500000 { + ohci: usb@500000 { num-ports = <3>; atmel,vbus-gpio = <0 &pioE 11 GPIO_ACTIVE_HIGH
@@ -175,7 +175,7 @@ &pioE 14 GPIO_ACTIVE_HIGH status = "okay"; }; - usb2: ehci@600000 { + ehci: usb@600000 { status = "okay"; };
arch/arm/boot/dts/microchip/at91-sama5d4ek.dts +3 -3
@@ -191,14 +191,14 @@ pinctrl_mxt_ts: mxt_irq { }; }; - usb0: gadget@400000 { + gadget: usb@400000 { atmel,vbus-gpio = <&pioE 31 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; - usb1: ohci@500000 { + ohci: usb@500000 { num-ports = <3>; atmel,vbus-gpio = <0 /* &pioE 10 GPIO_ACTIVE_LOW */ &pioE 11 GPIO_ACTIVE_LOW
@@ -207,7 +207,7 @@ &pioE 12 GPIO_ACTIVE_LOW status = "okay"; }; - usb2: ehci@600000 { + ehci: usb@600000 { status = "okay"; };
arch/arm/boot/dts/microchip/at91-som60.dtsi +2 -2
@@ -211,13 +211,13 @@ ubi@e0000 { }; }; -&usb0 { +&gadget { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; atmel,vbus-gpio = <&pioC 14 GPIO_ACTIVE_HIGH>; }; -&usb1 { +&ohci { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb_vbus &pinctrl_usb_oc>; num-ports = <3>;
arch/arm/boot/dts/microchip/at91-tse850-3.dts +3 -3
@@ -275,7 +275,7 @@ phy0: ethernet-phy@3 { }; }; -&usb0 { +&gadget { status = "okay"; pinctrl-names = "default";
@@ -283,7 +283,7 @@ &usb0 { atmel,vbus-gpio = <&pioC 31 GPIO_ACTIVE_HIGH>; }; -&usb1 { +&ohci { status = "okay"; num-ports = <1>;
@@ -291,7 +291,7 @@ &usb1 { atmel,oc-gpio = <&pioC 15 GPIO_ACTIVE_LOW>; }; -&usb2 { +&ehci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-vinco.dts +3 -3
@@ -155,14 +155,14 @@ pinctrl_usba_vbus: usba_vbus { }; }; - usb0: gadget@400000 { + gadget: usb@400000 { atmel,vbus-gpio = <&pioE 31 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "disabled"; }; - usb1: ohci@500000 { + ohci: usb@500000 { num-ports = <3>; atmel,vbus-gpio = <0 &pioE 11 GPIO_ACTIVE_LOW
@@ -171,7 +171,7 @@ &pioE 12 GPIO_ACTIVE_LOW status = "disabled"; }; - usb2: ehci@600000 { + ehci: usb@600000 { /* 4G Modem */ status = "okay"; };
arch/arm/boot/dts/microchip/at91-wb45n.dts +1 -1
@@ -28,7 +28,7 @@ &watchdog { status = "okay"; }; -&usb0 { +&ohci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-wb45n.dtsi +2 -2
@@ -121,7 +121,7 @@ logs@7fa0000 { }; }; -&usb0 { +&ohci { num-ports = <2>; atmel,vbus-gpio = < &pioB 12 GPIO_ACTIVE_HIGH
@@ -138,7 +138,7 @@ &spi0 { cs-gpios = <&pioA 14 0>, <&pioA 7 0>, <0>, <0>; }; -&usb2 { +&gadget { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_board_usb2>; atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
arch/arm/boot/dts/microchip/at91-wb50n.dts +3 -3
@@ -88,15 +88,15 @@ &spi1 { status = "okay"; }; -&usb0 { +&gadget { status = "okay"; }; -&usb1 { +&ohci { status = "okay"; }; -&usb2 { +&ehci { status = "okay"; };
arch/arm/boot/dts/microchip/at91-wb50n.dtsi +2 -2
@@ -181,13 +181,13 @@ user@6ae0000 { }; }; -&usb0 { +&gadget { atmel,vbus-gpio = <&pioB 13 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; }; -&usb1 { +&ohci { num-ports = <3>; atmel,vbus-gpio = <&pioA 2 GPIO_ACTIVE_LOW>; atmel,oc-gpio = <&pioA 4 GPIO_ACTIVE_LOW>;
arch/arm/boot/dts/microchip/at91rm9200.dtsi +2 -2
@@ -662,7 +662,7 @@ usart3: serial@fffcc000 { status = "disabled"; }; - usb1: gadget@fffb0000 { + gadget: usb@fffb0000 { compatible = "atmel,at91rm9200-udc"; reg = <0xfffb0000 0x4000>; interrupts = <11 IRQ_TYPE_LEVEL_HIGH 2>;
@@ -702,7 +702,7 @@ &pioB 1 GPIO_ACTIVE_HIGH status = "disabled"; }; - usb0: ohci@300000 { + ohci: usb@300000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00300000 0x100000>; interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>;
arch/arm/boot/dts/microchip/at91rm9200ek.dts +2 -2
@@ -43,7 +43,7 @@ timer@2 { }; }; - usb1: gadget@fffb0000 { + gadget: usb@fffb0000 { atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>; atmel,pullup-gpio = <&pioD 5 GPIO_ACTIVE_HIGH>; status = "okay";
@@ -89,7 +89,7 @@ rtc: rtc@fffffe00 { }; }; - usb0: ohci@300000 { + ohci: usb@300000 { num-ports = <2>; status = "okay"; };
arch/arm/boot/dts/microchip/at91sam9260.dtsi +2 -2
@@ -637,7 +637,7 @@ macb0: ethernet@fffc4000 { status = "disabled"; }; - usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { compatible = "atmel,at91sam9260-udc"; reg = <0xfffa4000 0x4000>; interrupts = <10 IRQ_TYPE_LEVEL_HIGH 2>;
@@ -742,7 +742,7 @@ gpbr: syscon@fffffd50 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00500000 0x100000>; interrupts = <20 IRQ_TYPE_LEVEL_HIGH 2>;
arch/arm/boot/dts/microchip/at91sam9260ek.dts +2 -2
@@ -45,7 +45,7 @@ timer@2 { }; }; - usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; status = "okay"; };
@@ -131,7 +131,7 @@ gpbr: syscon@fffffd50 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { num-ports = <2>; status = "okay"; };
arch/arm/boot/dts/microchip/at91sam9261.dtsi +2 -2
@@ -77,7 +77,7 @@ ahb { #size-cells = <1>; ranges; - usb0: ohci@500000 { + ohci: usb@500000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00500000 0x100000>; interrupts = <20 IRQ_TYPE_LEVEL_HIGH 2>;
@@ -142,7 +142,7 @@ tcb0: timer@fffa0000 { clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk"; }; - usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { compatible = "atmel,at91sam9261-udc"; reg = <0xfffa4000 0x4000>; interrupts = <10 IRQ_TYPE_LEVEL_HIGH 2>;
arch/arm/boot/dts/microchip/at91sam9261ek.dts +2 -2
@@ -31,7 +31,7 @@ main_xtal { }; ahb { - usb0: ohci@500000 { + ohci: usb@500000 { status = "okay"; };
@@ -136,7 +136,7 @@ timer1: timer@2 { }; }; - usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { atmel,vbus-gpio = <&pioB 29 GPIO_ACTIVE_HIGH>; status = "okay"; };
arch/arm/boot/dts/microchip/at91sam9263.dtsi +2 -2
@@ -636,7 +636,7 @@ macb0: ethernet@fffbc000 { status = "disabled"; }; - usb1: gadget@fff78000 { + gadget: usb@fff78000 { compatible = "atmel,at91sam9263-udc"; reg = <0xfff78000 0x4000>; interrupts = <24 IRQ_TYPE_LEVEL_HIGH 2>;
@@ -768,7 +768,7 @@ fb0: fb@700000 { status = "disabled"; }; - usb0: ohci@a00000 { + ohci: usb@a00000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00a00000 0x100000>; interrupts = <29 IRQ_TYPE_LEVEL_HIGH 2>;
arch/arm/boot/dts/microchip/at91sam9263ek.dts +2 -2
@@ -61,7 +61,7 @@ macb0: ethernet@fffbc000 { status = "okay"; }; - usb1: gadget@fff78000 { + gadget: usb@fff78000 { atmel,vbus-gpio = <&pioA 25 GPIO_ACTIVE_HIGH>; status = "okay"; };
@@ -207,7 +207,7 @@ data@7ca0000 { }; }; - usb0: ohci@a00000 { + ohci: usb@a00000 { num-ports = <2>; status = "okay"; atmel,vbus-gpio = <&pioA 24 GPIO_ACTIVE_HIGH
arch/arm/boot/dts/microchip/at91sam9g20ek_common.dtsi +2 -2
@@ -90,7 +90,7 @@ macb0: ethernet@fffc4000 { status = "okay"; }; - usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { pinctrl-0 = <&pinctrl_usb1_vbus_gpio>; pinctrl-names = "default"; atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
@@ -211,7 +211,7 @@ data@7ca0000 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { num-ports = <2>; status = "okay"; };
arch/arm/boot/dts/microchip/at91sam9g45.dtsi +3 -3
@@ -913,7 +913,7 @@ spi1: spi@fffa8000 { status = "disabled"; }; - usb2: gadget@fff78000 { + gadget: usb@fff78000 { compatible = "atmel,at91sam9g45-udc"; reg = <0x00600000 0x80000 0xfff78000 0x400>;
@@ -964,7 +964,7 @@ fb0: fb@500000 { status = "disabled"; }; - usb0: ohci@700000 { + ohci: usb@700000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00700000 0x100000>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
@@ -973,7 +973,7 @@ usb0: ohci@700000 { status = "disabled"; }; - usb1: ehci@800000 { + ehci: usb@800000 { compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; reg = <0x00800000 0x100000>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
arch/arm/boot/dts/microchip/at91sam9m10g45ek.dts +3 -3
@@ -174,7 +174,7 @@ flash@0 { }; }; - usb2: gadget@fff78000 { + gadget: usb@fff78000 { atmel,vbus-gpio = <&pioB 19 GPIO_ACTIVE_HIGH>; status = "okay"; };
@@ -303,14 +303,14 @@ data@4000000 { }; }; - usb0: ohci@700000 { + ohci: usb@700000 { status = "okay"; num-ports = <2>; atmel,vbus-gpio = <&pioD 1 GPIO_ACTIVE_LOW &pioD 3 GPIO_ACTIVE_LOW>; }; - usb1: ehci@800000 { + ehci: usb@800000 { status = "okay"; }; };
arch/arm/boot/dts/microchip/at91sam9n12.dtsi +2 -2
@@ -738,7 +738,7 @@ pwm0: pwm@f8034000 { status = "disabled"; }; - usb1: gadget@f803c000 { + gadget: usb@f803c000 { compatible = "atmel,at91sam9260-udc"; reg = <0xf803c000 0x4000>; interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>;
@@ -748,7 +748,7 @@ usb1: gadget@f803c000 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00500000 0x00100000>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
arch/arm/boot/dts/microchip/at91sam9n12ek.dts +2 -2
@@ -142,7 +142,7 @@ hlcdc_panel_output: endpoint@0 { }; }; - usb1: gadget@f803c000 { + gadget: usb@f803c000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb1_vbus_sense>; atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
@@ -180,7 +180,7 @@ nand@3 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { num-ports = <1>; atmel,vbus-gpio = <&pioB 7 GPIO_ACTIVE_LOW>; status = "okay";
arch/arm/boot/dts/microchip/at91sam9rl.dtsi +1 -1
@@ -282,7 +282,7 @@ adc0: adc@fffd0000 { atmel,adc-startup-time = <40>; }; - usb0: gadget@fffd4000 { + gadget: usb@fffd4000 { compatible = "atmel,at91sam9rl-udc"; reg = <0x00600000 0x100000>, <0xfffd4000 0x4000>;
arch/arm/boot/dts/microchip/at91sam9rlek.dts +1 -1
@@ -172,7 +172,7 @@ &pinctrl_adc0_ad5 status = "okay"; }; - usb0: gadget@fffd4000 { + gadget: usb@fffd4000 { atmel,vbus-gpio = <&pioA 8 GPIO_ACTIVE_HIGH>; status = "okay"; };
arch/arm/boot/dts/microchip/at91sam9x5.dtsi +3 -3
@@ -847,7 +847,7 @@ spi1: spi@f0004000 { status = "disabled"; }; - usb2: gadget@f803c000 { + gadget: usb@f803c000 { compatible = "atmel,at91sam9g45-udc"; reg = <0x00500000 0x80000 0xf803c000 0x400>;
@@ -886,7 +886,7 @@ pwm0: pwm@f8034000 { }; }; - usb0: ohci@600000 { + ohci: usb@600000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00600000 0x100000>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
@@ -895,7 +895,7 @@ usb0: ohci@600000 { status = "disabled"; }; - usb1: ehci@700000 { + ehci: usb@700000 { compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; reg = <0x00700000 0x100000>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
arch/arm/boot/dts/microchip/at91sam9x5ek.dtsi +3 -3
@@ -144,7 +144,7 @@ &usart0 { status = "okay"; }; -&usb0 { +&ohci { num-ports = <3>; atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW *//* Activate to have access to port A */ &pioD 19 GPIO_ACTIVE_LOW
@@ -153,11 +153,11 @@ &pioD 20 GPIO_ACTIVE_LOW status = "okay"; }; -&usb1 { +&ehci { status = "okay"; }; -&usb2 { +&gadget { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_board_usb2>; atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
arch/arm/boot/dts/microchip/ethernut5.dts +2 -2
@@ -60,7 +60,7 @@ macb0: ethernet@fffc4000 { status = "okay"; }; - usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; status = "okay"; };
@@ -101,7 +101,7 @@ data@20000 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { num-ports = <2>; status = "okay"; };
arch/arm/boot/dts/microchip/evk-pro3.dts +2 -2
@@ -35,7 +35,7 @@ usart2: serial@fffb8000 { status = "okay"; }; - usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; status = "okay"; };
@@ -45,7 +45,7 @@ watchdog@fffffd40 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { num-ports = <2>; status = "okay"; };
arch/arm/boot/dts/microchip/mpa1600.dts +1 -1
@@ -57,7 +57,7 @@ ssc1: ssc@fffd4000 { }; }; - usb0: ohci@300000 { + ohci: usb@300000 { num-ports = <1>; status = "okay"; };
arch/arm/boot/dts/microchip/pm9g45.dts +2 -2
@@ -139,12 +139,12 @@ data@900000 { }; }; - usb0: ohci@700000 { + ohci: usb@700000 { status = "okay"; num-ports = <2>; }; - usb1: ehci@800000 { + ehci: usb@800000 { status = "okay"; }; };
arch/arm/boot/dts/microchip/sam9x60.dtsi +3 -3
@@ -74,7 +74,7 @@ ahb { #size-cells = <1>; ranges; - usb0: gadget@500000 { + gadget: usb@500000 { #address-cells = <1>; #size-cells = <0>; compatible = "microchip,sam9x60-udc";
@@ -88,7 +88,7 @@ usb0: gadget@500000 { status = "disabled"; }; - usb1: ohci@600000 { + ohci: usb@600000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00600000 0x100000>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
@@ -97,7 +97,7 @@ usb1: ohci@600000 { status = "disabled"; }; - usb2: ehci@700000 { + ehci: usb@700000 { compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; reg = <0x00700000 0x100000>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
arch/arm/boot/dts/microchip/sama5d2.dtsi +3 -3
@@ -126,7 +126,7 @@ nfc_sram: sram@100000 { }; - usb0: gadget@300000 { + gadget: usb@300000 { compatible = "atmel,sama5d3-udc"; reg = <0x00300000 0x100000 0xfc02c000 0x400>;
@@ -136,7 +136,7 @@ usb0: gadget@300000 { status = "disabled"; }; - usb1: ohci@400000 { + ohci: usb@400000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00400000 0x100000>; interrupts = <41 IRQ_TYPE_LEVEL_HIGH 2>;
@@ -145,7 +145,7 @@ usb1: ohci@400000 { status = "disabled"; }; - usb2: ehci@500000 { + ehci: usb@500000 { compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; reg = <0x00500000 0x100000>; interrupts = <41 IRQ_TYPE_LEVEL_HIGH 2>;
arch/arm/boot/dts/microchip/sama5d3.dtsi +3 -3
@@ -1064,7 +1064,7 @@ nfc_sram: sram@200000 { ranges = <0 0x200000 0x2400>; }; - usb0: gadget@500000 { + gadget: usb@500000 { compatible = "atmel,sama5d3-udc"; reg = <0x00500000 0x100000 0xf8030000 0x4000>;
@@ -1074,7 +1074,7 @@ usb0: gadget@500000 { status = "disabled"; }; - usb1: ohci@600000 { + ohci: usb@600000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00600000 0x100000>; interrupts = <32 IRQ_TYPE_LEVEL_HIGH 2>;
@@ -1083,7 +1083,7 @@ usb1: ohci@600000 { status = "disabled"; }; - usb2: ehci@700000 { + ehci: usb@700000 { compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; reg = <0x00700000 0x100000>; interrupts = <32 IRQ_TYPE_LEVEL_HIGH 2>;
arch/arm/boot/dts/microchip/sama5d3xmb.dtsi +3 -3
@@ -165,14 +165,14 @@ watchdog@fffffe40 { }; }; - usb0: gadget@500000 { + gadget: usb@500000 { atmel,vbus-gpio = <&pioD 29 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>; status = "okay"; }; - usb1: ohci@600000 { + ohci: usb@600000 { num-ports = <3>; atmel,vbus-gpio = <&pioD 25 GPIO_ACTIVE_HIGH &pioD 26 GPIO_ACTIVE_LOW
@@ -181,7 +181,7 @@ &pioD 27 GPIO_ACTIVE_LOW status = "okay"; }; - usb2: ehci@700000 { + ehci: usb@700000 { status = "okay"; }; };
arch/arm/boot/dts/microchip/sama5d3xmb_cmp.dtsi +1 -1
@@ -216,7 +216,7 @@ watchdog@fffffe40 { }; }; - usb0: gadget@500000 { + gadget: usb@500000 { atmel,vbus-gpio = <&pioD 29 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usba_vbus>;
arch/arm/boot/dts/microchip/sama5d4.dtsi +3 -3
@@ -109,7 +109,7 @@ vdec0: vdec@300000 { clocks = <&pmc PMC_TYPE_PERIPHERAL 19>; }; - usb0: gadget@400000 { + gadget: usb@400000 { compatible = "atmel,sama5d3-udc"; reg = <0x00400000 0x100000 0xfc02c000 0x4000>;
@@ -119,7 +119,7 @@ usb0: gadget@400000 { status = "disabled"; }; - usb1: ohci@500000 { + ohci: usb@500000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00500000 0x100000>; interrupts = <46 IRQ_TYPE_LEVEL_HIGH 2>;
@@ -128,7 +128,7 @@ usb1: ohci@500000 { status = "disabled"; }; - usb2: ehci@600000 { + ehci: usb@600000 { compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; reg = <0x00600000 0x100000>; interrupts = <46 IRQ_TYPE_LEVEL_HIGH 2>;
arch/arm/boot/dts/microchip/tny_a9263.dts +1 -1
@@ -47,7 +47,7 @@ timer@2 { }; }; - usb1: gadget@fff78000 { + gadget: usb@fff78000 { atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>; status = "okay"; };
arch/arm/boot/dts/microchip/usb_a9260_common.dtsi +2 -2
@@ -39,7 +39,7 @@ macb0: ethernet@fffc4000 { status = "okay"; }; - usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; status = "okay"; };
@@ -111,7 +111,7 @@ data@7ca0000 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { num-ports = <2>; status = "okay"; };
arch/arm/boot/dts/microchip/usb_a9263.dts +2 -2
@@ -52,7 +52,7 @@ macb0: ethernet@fffbc000 { status = "okay"; }; - usb1: gadget@fff78000 { + gadget: usb@fff78000 { atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>; status = "okay"; };
@@ -139,7 +139,7 @@ data@7ca0000 { }; }; - usb0: ohci@a00000 { + ohci: usb@a00000 { num-ports = <2>; status = "okay"; };
Signature · 1 line
2.34.1
Re: [PATCH 4/5] ARM: dts: microchip: Rename the usb node
Quoted 4 lines · Andrei Simion
Rename the usb node according to devicetree
specification and update the label according
with the node-specific standard as: ohci, ehci
or gadget.
Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597
...
Quoted 8 lines
arch/arm/boot/dts/microchip/aks-cdu.dts +0
-0@@ -50,13 +50,13 @@ macb0: ethernet@fffc4000 { status = "okay"; };
arch/arm/boot/dts/microchip/aks-cdu.dts macb0: ethernet@fffc4000 { · line 59
Quoted 10 lines
arch/arm/boot/dts/microchip/aks-cdu.dts +2
-2- usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>; status = "okay"; }; }; - usb0: ohci@500000 { + ohci: usb@500000 {
I don't think that these label renames are correct.
Quoted 24 lines
arch/arm/boot/dts/microchip/aks-cdu.dts +0
-0num-ports = <2>; status = "okay"; };arch/arm/boot/dts/microchip/animeo_ip.dts +1
-1@@ -136,7 +136,7 @@ ubi@60000 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { num-ports = <2>; atmel,vbus-gpio = <&pioB 15 GPIO_ACTIVE_LOW>; status = "okay";arch/arm/boot/dts/microchip/at91-ariag25.dts +0
-0@@ -173,11 +173,11 @@ &usart3 { status = "okay"; };
arch/arm/boot/dts/microchip/at91-ariag25.dts &usart3 { · line 183
Quoted 10 lines
arch/arm/boot/dts/microchip/at91-ariag25.dts +2
-2-&usb0 { +&ohci { status = "okay"; num-ports = <3>; }; -&usb1 { +&ehci { status = "okay"; };
And how now the sorting works? I don't get the point of it. What is exactly wrong in the label that justifies the code reshuffling.
BTW, is this some sort of v2? If so, provide changelog and properly version your patches.
Best regards,
Krzysztof
Re: [PATCH 4/5] ARM: dts: microchip: Rename the usb node
Hi,
Quoted 8 lines · Krzysztof Kozlowski
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Quoted 4 lines · Andrei Simion
Rename the usb node according to devicetree
specification and update the label according
with the node-specific standard as: ohci, ehci
or gadget.
Quoted 6 lines
Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597...
In V2 I will wrap the commit message according to Linux coding style / submission process
Quoted 17 lines
Quoted 17 lines
arch/arm/boot/dts/microchip/aks-cdu.dts +1
-1@@ -50,13 +50,13 @@ macb0: ethernet@fffc4000 { status = "okay"; }; - usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>; status = "okay"; }; };
Quoted 5 lines
arch/arm/boot/dts/microchip/aks-cdu.dts macb0: ethernet@fffc4000 { · line 59
Quoted 2 lines
arch/arm/boot/dts/microchip/aks-cdu.dts +1
-1- usb0: ohci@500000 { + ohci: usb@500000 {I don't think that these label renames are correct.
I checked in other dts dtsi (other silicon vendors) the USB node and it uses ohci, ehci, gadget, etc as a label. Also, I verified the address in the datasheet and they are correctly labeled (meant that they were: usb gadget, usb ohci, usb ehci)
From what point of view is it not correct?
I would like to know so I can do it right
Quoted 30 lines
Quoted 30 lines
arch/arm/boot/dts/microchip/aks-cdu.dts +0
-0num-ports = <2>; status = "okay"; };arch/arm/boot/dts/microchip/animeo_ip.dts +1
-1@@ -136,7 +136,7 @@ ubi@60000 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { num-ports = <2>; atmel,vbus-gpio = <&pioB 15 GPIO_ACTIVE_LOW>; status = "okay";arch/arm/boot/dts/microchip/at91-ariag25.dts +1
-1@@ -173,11 +173,11 @@ &usart3 { status = "okay"; }; -&usb0 { +&ohci { status = "okay"; num-ports = <3>; };
Quoted 8 lines
arch/arm/boot/dts/microchip/at91-ariag25.dts &usart3 { · line 183
Quoted 4 lines
arch/arm/boot/dts/microchip/at91-ariag25.dts +1
-1-&usb1 { +&ehci { status = "okay"; };And how now the sorting works? I don't get the point of it. What is exactly wrong in the label that justifies the code reshuffling.
The point is to be easy to determine what kind of standard represents/implements the usb node.
Quoted 3 lines
BTW, is this some sort of v2? If so, provide changelog and properly version your patches.
It was a new series and from now on there will be v2
BR,
Andrei Simion
Quoted 3 lines
Best regards,
Krzysztof
Re: [PATCH 4/5] ARM: dts: microchip: Rename the usb node
Quoted 43 lines · On 05/09/2024 15:51, [email protected] wrote:
Hi,
Quoted 8 lines · Krzysztof Kozlowski
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Quoted 4 lines · Andrei Simion
Rename the usb node according to devicetree
specification and update the label according
with the node-specific standard as: ohci, ehci
or gadget.Quoted 6 lines
Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597...
In V2 I will wrap the commit message according to Linux coding style / submission process
Quoted 17 lines
Quoted 17 lines
arch/arm/boot/dts/microchip/aks-cdu.dts +1
-1@@ -50,13 +50,13 @@ macb0: ethernet@fffc4000 { status = "okay"; }; - usb1: gadget@fffa4000 { + gadget: usb@fffa4000 { atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>; status = "okay"; }; };Quoted 5 lines
arch/arm/boot/dts/microchip/aks-cdu.dts macb0: ethernet@fffc4000 { · line 59
Quoted 2 lines
arch/arm/boot/dts/microchip/aks-cdu.dts +1
-1- usb0: ohci@500000 { + ohci: usb@500000 {I don't think that these label renames are correct.
Quoted 7 lines
I checked in other dts dtsi (other silicon vendors) the USB node and it uses ohci, ehci, gadget, etc as a label. Also, I verified the address in the datasheet and they are correctly labeled (meant that they were: usb gadget, usb ohci, usb ehci)
From what point of view is it not correct?
I would like to know so I can do it right
Because:
1. You drop existing information about interface number. That's USB0.
2. You did not provide answer why.
Quoted 41 lines
Quoted 32 lines
Quoted 32 lines
arch/arm/boot/dts/microchip/aks-cdu.dts +0
-0num-ports = <2>; status = "okay"; };arch/arm/boot/dts/microchip/animeo_ip.dts +1
-1@@ -136,7 +136,7 @@ ubi@60000 { }; }; - usb0: ohci@500000 { + ohci: usb@500000 { num-ports = <2>; atmel,vbus-gpio = <&pioB 15 GPIO_ACTIVE_LOW>; status = "okay";arch/arm/boot/dts/microchip/at91-ariag25.dts +1
-1@@ -173,11 +173,11 @@ &usart3 { status = "okay"; }; -&usb0 { +&ohci { status = "okay"; num-ports = <3>; };Quoted 8 lines
arch/arm/boot/dts/microchip/at91-ariag25.dts &usart3 { · line 183
Quoted 4 lines
arch/arm/boot/dts/microchip/at91-ariag25.dts +1
-1-&usb1 { +&ehci { status = "okay"; };And how now the sorting works? I don't get the point of it. What is exactly wrong in the label that justifies the code reshuffling.
Quoted 2 lines
The point is to be easy to determine what kind of standard represents/implements the usb node.
For one, number of interface is important, e.g. because it matches schematics or datasheet. For other, maybe the standard. You did not provide any rationale for this.
Plus you ignored comment about sorting.
Best regards,
Krzysztof
PATCH 5/5 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.
---
Split the bloadted patch into small patches on topics based on comments:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
--- 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
@@ -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
@@ -146,23 +146,23 @@ ohci: usb@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
Re: [PATCH 5/5] ARM: dts: microchip: Rename LED sub nodes name
Quoted 9 lines · Andrei Simion
dtbs_checkwarnings:
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 andleds-gpio.yaml.
Quoted 6 lines
Signed-off-by Andrei Simion <[email protected]>---
Split the bloadted patch into small patches on topics based on comments:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
---
Changelog / v2 is missing.
Best regards,
Krzysztof
Re: [PATCH 5/5] ARM: dts: microchip: Rename LED sub nodes name
In reply to Andrei SimionHello Andrei,
Am Wed, Aug 14, 2024 at 03:26:33PM +0300 schrieb Andrei Simion:
Quoted 47 lines
dtbs_checkwarnings:
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 andleds-gpio.yaml.Signed-off-by Andrei Simion <[email protected]>---
Split the bloadted patch into small patches on topics based on comments:
https://lore.kernel.org/linux-arm-kernel/[email protected]/--- 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 +2
-3@@ -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 {
arch/arm/boot/dts/microchip/aks-cdu.dts rootfs@500000 { · line 120
Quoted 10 lines
arch/arm/boot/dts/microchip/aks-cdu.dts +2
-1+ 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"; };
As reported with <[email protected]> already, this will probably change sysfs paths and thus might break userspace depending on those paths. Did you consider adding a label to avoid this?
(Added linux-leds to Cc.)
Greets
Alex
Quoted 175 lines
arch/arm/boot/dts/microchip/animeo_ip.dts +4
-4@@ -146,23 +146,23 @@ ohci: usb@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
Re: [PATCH 5/5] ARM: dts: microchip: Rename LED sub nodes name
Hello Alex,
Quoted 67 lines · Alexander Dahl
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Hello Andrei,
Quoted 48 lines
Am Wed, Aug 14, 2024 at 03:26:33PM +0300 schrieb Andrei Simion:
dtbs_checkwarnings:
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 andleds-gpio.yaml.Signed-off-by Andrei Simion <[email protected]>---
Split the bloadted patch into small patches on topics based on comments:
https://lore.kernel.org/linux-arm-kernel/[email protected]/--- 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 +2
-3@@ -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 {arch/arm/boot/dts/microchip/aks-cdu.dts rootfs@500000 { · line 120
Quoted 10 lines
arch/arm/boot/dts/microchip/aks-cdu.dts +2
-1+ 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"; };As reported with <[email protected]> already, this will probably change sysfs paths and thus might break userspace depending on those paths. Did you consider adding a label to avoid this?
Quoted 2 lines
(Added linux-leds to Cc.)
https://elixir.bootlin.com/linux/v6.11-rc3/source/Documentation/devicetree/bindings/leds/common.yaml#L54
Based on the information provided above: "If omitted, the label is taken from the node name (excluding the unit address)." and "This property is deprecated"
So, in your opinion what should I do? use function and color? My patch reason is to rename the label to avoid the warnings.
Best Regards,
Andrei Simion
Quoted 178 lines
Greets
AlexQuoted 175 lines
arch/arm/boot/dts/microchip/animeo_ip.dts +4
-4@@ -146,23 +146,23 @@ ohci: usb@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
-3@@ -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>; }; --2.34.1
Re: [PATCH 5/5] ARM: dts: microchip: Rename LED sub nodes name
Hello Andrei,
Am Fri, Aug 16, 2024 at 08:52:14AM +0000 schrieb [email protected]:
Quoted 73 lines
Hello Alex,
Quoted 67 lines · Alexander Dahl
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Hello Andrei,
Quoted 48 lines
Am Wed, Aug 14, 2024 at 03:26:33PM +0300 schrieb Andrei Simion:
dtbs_checkwarnings:
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 andleds-gpio.yaml.Signed-off-by Andrei Simion <[email protected]>---
Split the bloadted patch into small patches on topics based on comments:
https://lore.kernel.org/linux-arm-kernel/[email protected]/--- 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 +2
-3@@ -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 {arch/arm/boot/dts/microchip/aks-cdu.dts rootfs@500000 { · line 120
Quoted 10 lines
arch/arm/boot/dts/microchip/aks-cdu.dts +2
-1+ 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"; };As reported with <[email protected]> already, this will probably change sysfs paths and thus might break userspace depending on those paths. Did you consider adding a label to avoid this?
Quoted 2 lines
(Added linux-leds to Cc.)
Quoted 6 lines
https://elixir.bootlin.com/linux/v6.11-rc3/source/Documentation/devicetree/bindings/leds/common.yaml#L54
Based on the information provided above: "If omitted, the label is taken from the node name (excluding the unit address)." and "This property is deprecated"
So, in your opinion what should I do? use function and color? My patch reason is to rename the label to avoid the warnings.
I understood the intention, and I appreciate the effort of eliminating those warnings. I would add the label property here and use the previous node name as value. The deprecation statement makes sense when introducing new nodes with new LEDs. In this case there's already a somewhat deprecated name, but if that should stay stable, then in my opinion adding the label property is the best choice.
Example, before:
yellow {
gpios = < ... >;
linux,default-trigger = ...;
};After:
led-yellow {
label = "yellow";
gpios = < ... >;
linux,default-trigger = ...;
};This way the sysfs path should be /sys/class/leds/yellow before and after, and the dts warnings be gone, right?
Greets
Alex
Quoted 183 lines
Best Regards,
Andrei SimionQuoted 178 lines
Greets
AlexQuoted 175 lines
arch/arm/boot/dts/microchip/animeo_ip.dts +4
-4@@ -146,23 +146,23 @@ ohci: usb@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
-3@@ -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>; }; --2.34.1
Re: [PATCH 5/5] ARM: dts: microchip: Rename LED sub nodes name
Quoted 101 lines · Alexander Dahl
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Hello Andrei,
Am Fri, Aug 16, 2024 at 08:52:14AM +0000 schrieb [email protected]:
Quoted 73 lines
Hello Alex,
Quoted 67 lines · Alexander Dahl
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Hello Andrei,
Quoted 48 lines
Am Wed, Aug 14, 2024 at 03:26:33PM +0300 schrieb Andrei Simion:
dtbs_checkwarnings:
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 andleds-gpio.yaml.Signed-off-by Andrei Simion <[email protected]>---
Split the bloadted patch into small patches on topics based on comments:
https://lore.kernel.org/linux-arm-kernel/[email protected]/--- 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 +2
-3@@ -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 {arch/arm/boot/dts/microchip/aks-cdu.dts rootfs@500000 { · line 120
Quoted 10 lines
arch/arm/boot/dts/microchip/aks-cdu.dts +2
-1+ 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"; };As reported with <[email protected]> already, this will probably change sysfs paths and thus might break userspace depending on those paths. Did you consider adding a label to avoid this?
Quoted 2 lines
(Added linux-leds to Cc.)
Quoted 6 lines
https://elixir.bootlin.com/linux/v6.11-rc3/source/Documentation/devicetree/bindings/leds/common.yaml#L54
Based on the information provided above: "If omitted, the label is taken from the node name (excluding the unit address)." and "This property is deprecated"
So, in your opinion what should I do? use function and color? My patch reason is to rename the label to avoid the warnings.I understood the intention, and I appreciate the effort of eliminating those warnings. I would add the label property here and use the previous node name as value. The deprecation statement makes sense when introducing new nodes with new LEDs. In this case there's already a somewhat deprecated name, but if that should stay stable, then in my opinion adding the label property is the best choice.
Example, before:
yellow { gpios = < ... >; linux,default-trigger = ...; };After:
Quoted 9 lines
led-yellow { label = "yellow"; gpios = < ... >; linux,default-trigger = ...; };This way the sysfs path should be
/sys/class/leds/yellowbefore and after, and the dts warnings be gone, right?
OK. I will create one more patch for this patch set in the next version, and I will add you as Suggested-by.
Best Regards,
Andrei
Quoted 186 lines
Greets
AlexQuoted 183 lines
Best Regards,
Andrei SimionQuoted 178 lines
Greets
AlexQuoted 175 lines
arch/arm/boot/dts/microchip/animeo_ip.dts +4
-4@@ -146,23 +146,23 @@ ohci: usb@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
-3@@ -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>; }; --2.34.1