* [PATCH] ARM: dts: nuvoton: wpcm450: align LED and GPIO keys node name with bindings
@ 2024-07-01 16:49 Krzysztof Kozlowski
2024-07-07 12:17 ` J. Neuschäfer
2024-08-12 10:11 ` Krzysztof Kozlowski
0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-01 16:49 UTC (permalink / raw)
To: Jonathan Neuschäfer, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, openbmc, devicetree, linux-kernel
Cc: Krzysztof Kozlowski
Bindings expect the LED and GPIO keys node names to follow certain
pattern, see dtbs_check warnings:
nuvoton-wpcm450-supermicro-x9sci-ln4f.dtb: gpio-keys: 'uid' does not match any of the regexes: '^(button|event|key|switch|(button|event|key|switch)...
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../dts/nuvoton/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/nuvoton/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts b/arch/arm/boot/dts/nuvoton/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts
index b78c116cbc18..edb907f740bf 100644
--- a/arch/arm/boot/dts/nuvoton/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts
+++ b/arch/arm/boot/dts/nuvoton/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts
@@ -34,7 +34,7 @@ gpio-keys {
pinctrl-names = "default";
pinctrl-0 = <&key_pins>;
- uid {
+ button-uid {
label = "UID button";
linux,code = <KEY_HOME>;
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
@@ -46,12 +46,12 @@ gpio-leds {
pinctrl-names = "default";
pinctrl-0 = <&led_pins>;
- uid {
+ led-uid {
label = "UID";
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
};
- heartbeat {
+ led-heartbeat {
label = "heartbeat";
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
};
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: nuvoton: wpcm450: align LED and GPIO keys node name with bindings
2024-07-01 16:49 [PATCH] ARM: dts: nuvoton: wpcm450: align LED and GPIO keys node name with bindings Krzysztof Kozlowski
@ 2024-07-07 12:17 ` J. Neuschäfer
2024-08-12 10:11 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: J. Neuschäfer @ 2024-07-07 12:17 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Jonathan Neuschäfer, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, openbmc, devicetree, linux-kernel
On Mon, Jul 01, 2024 at 06:49:15PM +0200, Krzysztof Kozlowski wrote:
> Bindings expect the LED and GPIO keys node names to follow certain
> pattern, see dtbs_check warnings:
>
> nuvoton-wpcm450-supermicro-x9sci-ln4f.dtb: gpio-keys: 'uid' does not match any of the regexes: '^(button|event|key|switch|(button|event|key|switch)...
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Looks good, thanks!
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
> .../dts/nuvoton/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/nuvoton/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts b/arch/arm/boot/dts/nuvoton/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts
> index b78c116cbc18..edb907f740bf 100644
> --- a/arch/arm/boot/dts/nuvoton/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts
> +++ b/arch/arm/boot/dts/nuvoton/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts
> @@ -34,7 +34,7 @@ gpio-keys {
> pinctrl-names = "default";
> pinctrl-0 = <&key_pins>;
>
> - uid {
> + button-uid {
> label = "UID button";
> linux,code = <KEY_HOME>;
> gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
> @@ -46,12 +46,12 @@ gpio-leds {
> pinctrl-names = "default";
> pinctrl-0 = <&led_pins>;
>
> - uid {
> + led-uid {
> label = "UID";
> gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
> };
>
> - heartbeat {
> + led-heartbeat {
> label = "heartbeat";
> gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
> };
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: nuvoton: wpcm450: align LED and GPIO keys node name with bindings
2024-07-01 16:49 [PATCH] ARM: dts: nuvoton: wpcm450: align LED and GPIO keys node name with bindings Krzysztof Kozlowski
2024-07-07 12:17 ` J. Neuschäfer
@ 2024-08-12 10:11 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-12 10:11 UTC (permalink / raw)
To: Jonathan Neuschäfer, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, openbmc, devicetree, linux-kernel,
Krzysztof Kozlowski
On Mon, 01 Jul 2024 18:49:15 +0200, Krzysztof Kozlowski wrote:
> Bindings expect the LED and GPIO keys node names to follow certain
> pattern, see dtbs_check warnings:
>
> nuvoton-wpcm450-supermicro-x9sci-ln4f.dtb: gpio-keys: 'uid' does not match any of the regexes: '^(button|event|key|switch|(button|event|key|switch)...
>
>
No one took this patch and it waits on the list for very long.
Applied, thanks!
[1/1] ARM: dts: nuvoton: wpcm450: align LED and GPIO keys node name with bindings
https://git.kernel.org/krzk/linux-dt/c/c7b44ed960ddecb3604d1e273494a932f00f384b
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-12 10:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-01 16:49 [PATCH] ARM: dts: nuvoton: wpcm450: align LED and GPIO keys node name with bindings Krzysztof Kozlowski
2024-07-07 12:17 ` J. Neuschäfer
2024-08-12 10:11 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox