* [PATCH 1/2] arm64: dts: st: Use hyphen in node names
@ 2025-12-23 15:25 Krzysztof Kozlowski
2025-12-23 15:25 ` [PATCH 2/2] arm64: dts: st: Minor whitespace cleanup Krzysztof Kozlowski
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-12-23 15:25 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel
Cc: Krzysztof Kozlowski
DTS coding style prefers hyphens instead of underscores in the node
names. Change should be safe, because node names are not considered an
ABI.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
Patches done with sed, verified with comparing unflattened DTB and
dtx_diff.
---
arch/arm64/boot/dts/st/stm32mp231.dtsi | 4 ++--
arch/arm64/boot/dts/st/stm32mp251.dtsi | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/st/stm32mp231.dtsi b/arch/arm64/boot/dts/st/stm32mp231.dtsi
index 88e214d395ab..a6658d836122 100644
--- a/arch/arm64/boot/dts/st/stm32mp231.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp231.dtsi
@@ -761,11 +761,11 @@ bsec: efuse@44000000 {
#address-cells = <1>;
#size-cells = <1>;
- part_number_otp@24 {
+ part-number-otp@24 {
reg = <0x24 0x4>;
};
- package_otp@1e8 {
+ package-otp@1e8 {
reg = <0x1e8 0x1>;
bits = <0 3>;
};
diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi
index a8e6e0f77b83..ec5db00b9d72 100644
--- a/arch/arm64/boot/dts/st/stm32mp251.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi
@@ -1739,11 +1739,11 @@ bsec: efuse@44000000 {
#address-cells = <1>;
#size-cells = <1>;
- part_number_otp@24 {
+ part-number-otp@24 {
reg = <0x24 0x4>;
};
- package_otp@1e8 {
+ package-otp@1e8 {
reg = <0x1e8 0x1>;
bits = <0 3>;
};
--
2.51.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] arm64: dts: st: Minor whitespace cleanup
2025-12-23 15:25 [PATCH 1/2] arm64: dts: st: Use hyphen in node names Krzysztof Kozlowski
@ 2025-12-23 15:25 ` Krzysztof Kozlowski
2026-01-08 17:06 ` Alexandre TORGUE
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-12-23 15:25 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel
Cc: Krzysztof Kozlowski
The DTS code coding style expects exactly one space around '=' and
before '{' characters.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
arch/arm64/boot/dts/st/stm32mp235f-dk.dts | 2 +-
arch/arm64/boot/dts/st/stm32mp257f-dk.dts | 2 +-
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
index c3e688068223..9a2b2f50df76 100644
--- a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
@@ -93,7 +93,7 @@ mdio {
phy1_eth1: ethernet-phy@1 {
compatible = "ethernet-phy-id001c.c916";
reg = <1>;
- reset-gpios = <&gpioa 2 GPIO_ACTIVE_LOW>;
+ reset-gpios = <&gpioa 2 GPIO_ACTIVE_LOW>;
reset-assert-us = <10000>;
reset-deassert-us = <80000>;
};
diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
index e718d888ce21..4a489a8d9aca 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
@@ -93,7 +93,7 @@ mdio {
phy1_eth1: ethernet-phy@1 {
compatible = "ethernet-phy-id001c.c916";
reg = <1>;
- reset-gpios = <&gpioa 2 GPIO_ACTIVE_LOW>;
+ reset-gpios = <&gpioa 2 GPIO_ACTIVE_LOW>;
reset-assert-us = <10000>;
reset-deassert-us = <80000>;
};
diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
index bb6d6393d2e4..0c5fc7a7be8d 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
@@ -186,7 +186,7 @@ mdio {
phy1_eth1: ethernet-phy@4 {
compatible = "ethernet-phy-id001c.c916";
reg = <4>;
- reset-gpios = <&gpioj 9 GPIO_ACTIVE_LOW>;
+ reset-gpios = <&gpioj 9 GPIO_ACTIVE_LOW>;
reset-assert-us = <10000>;
reset-deassert-us = <80000>;
};
--
2.51.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] arm64: dts: st: Minor whitespace cleanup
2025-12-23 15:25 ` [PATCH 2/2] arm64: dts: st: Minor whitespace cleanup Krzysztof Kozlowski
@ 2026-01-08 17:06 ` Alexandre TORGUE
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre TORGUE @ 2026-01-08 17:06 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Maxime Coquelin, devicetree, linux-stm32,
linux-arm-kernel, linux-kernel
Hi Krzysztof
On 12/23/25 16:25, Krzysztof Kozlowski wrote:
> The DTS code coding style expects exactly one space around '=' and
> before '{' characters.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
> arch/arm64/boot/dts/st/stm32mp235f-dk.dts | 2 +-
> arch/arm64/boot/dts/st/stm32mp257f-dk.dts | 2 +-
> arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
> index c3e688068223..9a2b2f50df76 100644
> --- a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
> +++ b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
> @@ -93,7 +93,7 @@ mdio {
> phy1_eth1: ethernet-phy@1 {
> compatible = "ethernet-phy-id001c.c916";
> reg = <1>;
> - reset-gpios = <&gpioa 2 GPIO_ACTIVE_LOW>;
> + reset-gpios = <&gpioa 2 GPIO_ACTIVE_LOW>;
> reset-assert-us = <10000>;
> reset-deassert-us = <80000>;
> };
> diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
> index e718d888ce21..4a489a8d9aca 100644
> --- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
> +++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
> @@ -93,7 +93,7 @@ mdio {
> phy1_eth1: ethernet-phy@1 {
> compatible = "ethernet-phy-id001c.c916";
> reg = <1>;
> - reset-gpios = <&gpioa 2 GPIO_ACTIVE_LOW>;
> + reset-gpios = <&gpioa 2 GPIO_ACTIVE_LOW>;
> reset-assert-us = <10000>;
> reset-deassert-us = <80000>;
> };
> diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
> index bb6d6393d2e4..0c5fc7a7be8d 100644
> --- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
> +++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
> @@ -186,7 +186,7 @@ mdio {
> phy1_eth1: ethernet-phy@4 {
> compatible = "ethernet-phy-id001c.c916";
> reg = <4>;
> - reset-gpios = <&gpioj 9 GPIO_ACTIVE_LOW>;
> + reset-gpios = <&gpioj 9 GPIO_ACTIVE_LOW>;
> reset-assert-us = <10000>;
> reset-deassert-us = <80000>;
> };
Both patches applied on stm32-next.
Thanks
Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-08 17:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-23 15:25 [PATCH 1/2] arm64: dts: st: Use hyphen in node names Krzysztof Kozlowski
2025-12-23 15:25 ` [PATCH 2/2] arm64: dts: st: Minor whitespace cleanup Krzysztof Kozlowski
2026-01-08 17:06 ` Alexandre TORGUE
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®