linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Maya Matuszczyk <maccraft123mc@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>, Olof Johansson <olof@lixom.net>,
	arm@kernel.org, soc@kernel.org, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Heiko Stuebner <heiko@sntech.de>,
	devicetree <devicetree@vger.kernel.org>,
	arm-mail-list <linux-arm-kernel@lists.infradead.org>,
	"open list:ARM/Rockchip SoC..."
	<linux-rockchip@lists.infradead.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 32/48] arm64: dts: rockchip: align gpio-key node names with dtschema
Date: Thu, 9 Jun 2022 16:15:25 +0200	[thread overview]
Message-ID: <e0f7146d-3ccc-a194-bb1e-c3475ca8c29e@linaro.org> (raw)
In-Reply-To: <CAO_MupKxvaXRQvMyEUZMThBZ9033OeJec+BtBndjs5oZ3etTEQ@mail.gmail.com>

On 09/06/2022 15:57, Maya Matuszczyk wrote:
> czw., 9 cze 2022 o 13:56 Krzysztof Kozlowski
> <krzysztof.kozlowski@linaro.org> napisał(a):
>>
>> The node names should be generic and DT schema expects certain pattern
>> (e.g. with key/button/switch).
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
>>  arch/arm64/boot/dts/rockchip/rk3308-evb.dts   |  2 +-
>>  .../boot/dts/rockchip/rk3326-odroid-go2.dts   | 32 +++++++++----------
>>  .../boot/dts/rockchip/rk3328-nanopi-r2s.dts   |  2 +-
>>  arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi  |  2 +-
>>  .../boot/dts/rockchip/rk3368-geekbox.dts      |  2 +-
>>  .../dts/rockchip/rk3368-orion-r68-meta.dts    |  2 +-
>>  .../boot/dts/rockchip/rk3368-px5-evb.dts      |  2 +-
>>  arch/arm64/boot/dts/rockchip/rk3368-r88.dts   |  2 +-
>>  .../boot/dts/rockchip/rk3399-firefly.dts      |  2 +-
>>  .../dts/rockchip/rk3399-gru-chromebook.dtsi   |  2 +-
>>  .../boot/dts/rockchip/rk3399-gru-kevin.dts    |  2 +-
>>  .../boot/dts/rockchip/rk3399-gru-scarlet.dtsi |  2 +-
>>  .../boot/dts/rockchip/rk3399-khadas-edge.dtsi |  2 +-
>>  .../boot/dts/rockchip/rk3399-nanopi-r4s.dts   |  4 +--
>>  .../boot/dts/rockchip/rk3399-nanopi4.dtsi     |  2 +-
>>  .../boot/dts/rockchip/rk3399-orangepi.dts     |  2 +-
>>  .../boot/dts/rockchip/rk3399-pinebook-pro.dts |  4 +--
>>  .../boot/dts/rockchip/rk3399-roc-pc.dtsi      |  2 +-
>>  .../boot/dts/rockchip/rk3399-rockpro64.dtsi   |  2 +-
>>  .../boot/dts/rockchip/rk3399-sapphire.dtsi    |  2 +-
>>  .../boot/dts/rockchip/rk3566-pinenote.dtsi    |  2 +-
>>  21 files changed, 38 insertions(+), 38 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3308-evb.dts b/arch/arm64/boot/dts/rockchip/rk3308-evb.dts
>> index 9b4f855ea5d4..4b5413b12bfa 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3308-evb.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3308-evb.dts
>> @@ -75,7 +75,7 @@ gpio-keys {
>>                 pinctrl-names = "default";
>>                 pinctrl-0 = <&pwr_key>;
>>
>> -               power {
>> +               power-key {
>>                         gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
>>                         linux,code = <KEY_POWER>;
>>                         label = "GPIO Key Power";
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts b/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts
>> index ea0695b51ecd..72328dd993ee 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts
>> @@ -71,82 +71,82 @@ gpio-keys {
>>                  * |------------------------------------------------|
>>                  */
>>
>> -               sw1 {
>> +               switch-1 {
> Wouldn't it make more sense to rename this and all other
> renamed nodes in this dts into "button-dpad-up" or "button-1",
> as on the physical device those are buttons and the naming
> scheme of "sw" + number seems to be a carryover from
> downstream sources.

Can be buttons. I assumed SW comes from some kind of switch.
I assume you mean only this Odroid Go2 DTS, because some other DTSes
(like EVB above) explicitly call it "Key Power".


Best regards,
Krzysztof

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2022-06-09 14:16 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 [this message]
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
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=e0f7146d-3ccc-a194-bb1e-c3475ca8c29e@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=arm@kernel.org \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=maccraft123mc@gmail.com \
    --cc=olof@lixom.net \
    --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).