From: <Claudiu.Beznea@microchip.com>
To: <krzysztof.kozlowski@linaro.org>, <arnd@arndb.de>,
<olof@lixom.net>, <arm@kernel.org>, <soc@kernel.org>,
<robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>,
<Nicolas.Ferre@microchip.com>, <alexandre.belloni@bootlin.com>,
<peda@axentia.se>, <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 44/48] ARM: dts: at91: align gpio-key node names with dtschema
Date: Fri, 10 Jun 2022 12:30:19 +0000 [thread overview]
Message-ID: <d482af99-fca1-1e3b-ab51-c7f5864b6428@microchip.com> (raw)
In-Reply-To: <537986d4-376e-d787-1581-cf0b0d525daa@linaro.org>
On 10.06.2022 13:05, Krzysztof Kozlowski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> On 10/06/2022 09:12, Claudiu.Beznea@microchip.com wrote:
>
>>> compatible = "gpio-keys";
>>> pinctrl-names = "default";
>>> pinctrl-0 = <&pinctrl_key_gpio_default>;
>>> status = "okay";
>>>
>>> - sw1 {
>>> + switch-1 {
>>
>> This is acutally a button labeled on board as SW1. It has been wrongly
>> carried over from older DTSes. Maybe it would worth to have it now here as
>> button instead of switch.
>
> Sure, I'll name it "button-1". Could be also "button-sw1" if ou prefer.
button-1 should be enough.
>
>>
>>> label = "SW1";
>>> gpios = <&pioD 18 GPIO_ACTIVE_LOW>;
>>> linux,code=<KEY_PROG1>;
>>> diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
>>> index 08f0d4b995ff..96c9290007a8 100644
>>> --- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
>>> +++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
>>> @@ -478,13 +478,13 @@ can1: can@fc050000 {
>>> };
>>> };
>>>
>>> - gpio_keys {
>>> + gpio-keys {
>>> compatible = "gpio-keys";
>>>
>>> pinctrl-names = "default";
>>> pinctrl-0 = <&pinctrl_key_gpio_default>;
>>>
>>> - pb4 {
>>> + button {
>>> label = "USER";
>>> gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>;
>>> linux,code = <KEY_PROG1>;
>>> diff --git a/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
>>> index 5e8755f22784..d5652c974748 100644
>>> --- a/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
>>> +++ b/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
>>> @@ -26,14 +26,14 @@ chosen {
>>> stdout-path = "serial0:115200n8";
>>> };
>>>
>>> - gpio_keys {
>>> + gpio-keys {
>>> compatible = "gpio-keys";
>>>
>>> pinctrl-names = "default";
>>> pinctrl-0 = <&pinctrl_key_gpio_default>;
>>> status = "okay";
>>>
>>> - sw4 {
>>> + switch-4 {
>>
>> Same here, this is a button not a switch.
>
> Sure, then button-1 or button-sw4
I would say button-1.
Thank you,
Claudiu Beznea
>
>>
>>> label = "USER BUTTON";
>>> gpios = <&pioA PIN_PB2 GPIO_ACTIVE_LOW>;
>>> linux,code = <KEY_PROG1>;
>>> diff --git a/arch/arm/boot/dts/at91-sama5d2_icp.dts b/arch/arm/boot/dts/at91-sama5d2_icp.dts
>>> index 806eb1d911d7..d7b59e16a081 100644
>>> --- a/arch/arm/boot/dts/at91-sama5d2_icp.dts
>>> +++ b/arch/arm/boot/dts/at91-sama5d2_icp.dts
>>> @@ -42,14 +42,14 @@ main_xtal {
>>> };
>>> };
>>>
>>> - gpio_keys {
>>> + gpio-keys {
>>> compatible = "gpio-keys";
>>>
>>> pinctrl-names = "default";
>>> pinctrl-0 = <&pinctrl_key_gpio_default>;
>>> status = "okay";
>>>
>>> - sw4 {
>>> + switch-4 {
>>
>> Same here, button not switch.
>>
>> Other than this, looks good to me.
>
> Thanks for checking
>
>
> Best regards,
> Krzysztof
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-06-10 12:31 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20220609113721.379932-1-krzysztof.kozlowski@linaro.org>
2022-06-09 11:39 ` [PATCH v2 05/48] arm64: dts: allwinner: align gpio-key node names with dtschema Krzysztof Kozlowski
2022-06-13 21:00 ` Jernej Škrabec
2022-06-14 20:29 ` Jernej Škrabec
2022-06-09 11:39 ` [PATCH v2 06/48] ARM: " Krzysztof Kozlowski
2022-06-13 21:02 ` Jernej Škrabec
2022-06-14 20:29 ` Jernej Škrabec
2022-06-09 11:39 ` [PATCH v2 07/48] arm64: dts: amlogic: correct gpio-keys properties Krzysztof Kozlowski
2022-06-09 20:03 ` Martin Blumenstingl
2022-06-09 11:39 ` [PATCH v2 08/48] arm64: dts: amlogic: align gpio-key node names with dtschema Krzysztof Kozlowski
2022-06-09 20:04 ` Martin Blumenstingl
2022-06-09 11:39 ` [PATCH v2 11/48] ARM: dts: broadcom: " Krzysztof Kozlowski
2022-06-13 17:54 ` Florian Fainelli
2022-06-09 11:39 ` [PATCH v2 12/48] ARM: dts: broadcom: correct gpio-keys properties Krzysztof Kozlowski
2022-06-13 17:55 ` Florian Fainelli
2022-06-09 11:39 ` [PATCH v2 13/48] arm64: dts: freescale: align gpio-key node names with dtschema Krzysztof Kozlowski
2022-06-19 8:10 ` Shawn Guo
2022-06-09 11:39 ` [PATCH v2 14/48] arm64: dts: freescale: align led " Krzysztof Kozlowski
2022-06-19 8:12 ` Shawn Guo
2022-06-09 11:39 ` [PATCH v2 15/48] arm64: dts: hisilicon: align gpio-key " Krzysztof Kozlowski
2022-06-09 11:39 ` [PATCH v2 16/48] arm64: dts: hisilicon: correct gpio-keys properties Krzysztof Kozlowski
2022-06-09 11:39 ` [PATCH v2 17/48] arm64: dts: marvell: align gpio-key node names with dtschema Krzysztof Kozlowski
2022-06-09 11:39 ` [PATCH v2 18/48] arm64: dts: marvell: armada-3720: align lednode " Krzysztof Kozlowski
2022-06-09 11:39 ` [PATCH v2 19/48] ARM: dts: marvell: align gpio-key node " Krzysztof Kozlowski
2022-06-09 11:39 ` [PATCH v2 20/48] ARM: dts: marvell: correct gpio-keys properties Krzysztof Kozlowski
2022-06-09 11:39 ` [PATCH v2 21/48] arm64: dts: mediatek: align gpio-key node names with dtschema Krzysztof Kozlowski
2022-06-09 11:39 ` [PATCH v2 22/48] arm64: dts: mediatek: mt7622-bananapi-bpi-r64: align led " Krzysztof Kozlowski
2022-06-09 11:39 ` [PATCH v2 23/48] arm64: dts: mediatek: mt7622-rfb1: correct gpio-keys properties Krzysztof Kozlowski
2022-06-09 11:39 ` [PATCH v2 24/48] ARM: dts: mediatek: align gpio-key node names with dtschema Krzysztof Kozlowski
2022-06-09 11:40 ` [PATCH v2 32/48] arm64: dts: rockchip: " Krzysztof Kozlowski
2022-06-09 13:57 ` Maya Matuszczyk
2022-06-09 14:15 ` Krzysztof Kozlowski
2022-06-09 14:56 ` Heiko Stübner
2022-06-09 15:05 ` Krzysztof Kozlowski
2022-06-09 15:55 ` Heiko Stübner
2022-06-09 11:40 ` [PATCH v2 33/48] ARM: " Krzysztof Kozlowski
2022-06-09 11:40 ` [PATCH v2 34/48] ARM: dts: rockchip: rk3288-tinker: correct gpio-keys properties Krzysztof Kozlowski
2022-06-09 11:40 ` [PATCH v2 35/48] arm64: dts: ti: align gpio-key node names with dtschema Krzysztof Kozlowski
2022-06-09 11:40 ` [PATCH v2 36/48] arm64: dts: xilinx: " Krzysztof Kozlowski
2022-06-09 11:40 ` [PATCH v2 37/48] ARM: " Krzysztof Kozlowski
2022-06-09 11:40 ` [PATCH v2 42/48] ARM: dts: aspeed: " Krzysztof Kozlowski
2022-06-09 11:40 ` [PATCH v2 43/48] ARM: dts: aspeed: correct gpio-keys properties Krzysztof Kozlowski
2022-06-09 11:40 ` [PATCH v2 44/48] ARM: dts: at91: align gpio-key node names with dtschema Krzysztof Kozlowski
2022-06-10 7:12 ` Claudiu.Beznea
2022-06-10 10:05 ` Krzysztof Kozlowski
2022-06-10 12:30 ` Claudiu.Beznea [this message]
2022-06-09 11:40 ` [PATCH v2 45/48] ARM: dts: at91: correct gpio-keys properties Krzysztof Kozlowski
2022-06-10 7:12 ` Claudiu.Beznea
2022-06-09 11:40 ` [PATCH v2 46/48] ARM: dts: at91: drop unneeded status from gpio-keys Krzysztof Kozlowski
2022-06-10 7:12 ` Claudiu.Beznea
2022-06-09 11:40 ` [PATCH v2 47/48] ARM: dts: exynos: align gpio-key node names with dtschema Krzysztof Kozlowski
2022-06-16 0:48 ` (subset) " Krzysztof Kozlowski
2022-06-09 11:40 ` [PATCH v2 48/48] ARM: dts: s5pv210: " Krzysztof Kozlowski
2022-06-16 0:48 ` (subset) " 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=d482af99-fca1-1e3b-ab51-c7f5864b6428@microchip.com \
--to=claudiu.beznea@microchip.com \
--cc=Nicolas.Ferre@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=arm@kernel.org \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olof@lixom.net \
--cc=peda@axentia.se \
--cc=robh+dt@kernel.org \
--cc=soc@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).