All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Neuschäfer" <j.neuschaefer@gmx.net>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: "Rob Herring" <robh@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	devicetree@vger.kernel.org, openbmc@lists.ozlabs.org,
	"Jonathan Neuschäfer" <j.neuschaefer@gmx.net>,
	linux-kernel@vger.kernel.org,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>
Subject: Re: [PATCH] ARM: dts: nuvoton: wpcm450: align LED and GPIO keys node name with bindings
Date: Sun, 7 Jul 2024 14:17:51 +0200	[thread overview]
Message-ID: <ZoqHb93S6j-_jaRo@probook> (raw)
In-Reply-To: <20240701164915.577068-1-krzysztof.kozlowski@linaro.org>

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
>

WARNING: multiple messages have this Message-ID (diff)
From: "J. Neuschäfer" <j.neuschaefer@gmx.net>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	openbmc@lists.ozlabs.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: dts: nuvoton: wpcm450: align LED and GPIO keys node name with bindings
Date: Sun, 7 Jul 2024 14:17:51 +0200	[thread overview]
Message-ID: <ZoqHb93S6j-_jaRo@probook> (raw)
In-Reply-To: <20240701164915.577068-1-krzysztof.kozlowski@linaro.org>

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
>

  reply	other threads:[~2024-07-07 12:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2024-07-07 12:17   ` J. Neuschäfer
2024-08-12 10:11 ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZoqHb93S6j-_jaRo@probook \
    --to=j.neuschaefer@gmx.net \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=openbmc@lists.ozlabs.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.