From: Heiko Stuebner <heiko@sntech.de>
To: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
Alessandro Carminati <alessandro.carminati@gmail.com>
Subject: Re: [PATCH 1/2] dt-bindings: rockchip: k3566-quartz64-a: fix names entries, refactor
Date: Fri, 16 Sep 2022 15:17:48 +0200 [thread overview]
Message-ID: <1916265.yKVeVyVuyW@phil> (raw)
In-Reply-To: <YyRxp7pDCyikNLGc@lab.hqhome163.com>
Hi Alessandro,
Am Freitag, 16. September 2022, 14:52:55 CEST schrieb Alessandro Carminati:
> Fix esisting "No underscores in node names" general rule, and prepare for
> new board versions.
if there is an "and" in your patch message, this always is a strong
indication that things want to be multiple patches, doing things separately.
- regulator node names
- and the separation + move
at least.
> Signed-off-by: Alessandro Carminati <alessandro.carminati@gmail.com>
> ---
> arch/arm64/boot/dts/rockchip/Makefile | 2 +-
> ...-quartz64-a.dts => rk3566-quartz64-a.dtsi} | 27 ++++++++-----------
> .../dts/rockchip/rk3566-quartz64-a.usb3.dts | 9 +++++++
> 3 files changed, 21 insertions(+), 17 deletions(-)
> rename arch/arm64/boot/dts/rockchip/{rk3566-quartz64-a.dts => rk3566-quartz64-a.dtsi} (97%)
> create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.usb3.dts
>
> diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
> index ef79a672804a..97ec6c156346 100644
> --- a/arch/arm64/boot/dts/rockchip/Makefile
> +++ b/arch/arm64/boot/dts/rockchip/Makefile
> @@ -59,7 +59,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb
> dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399pro-rock-pi-n10.dtb
> dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-pinenote-v1.1.dtb
> dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-pinenote-v1.2.dtb
> -dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-quartz64-a.dtb
> +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-quartz64-a.usb3.dtb
I don't think we're using dots to denote separation.
Just use another dash ("-").
> dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-quartz64-b.dtb
> dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-roc-pc.dtb
> dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-soquartz-cm4.dtb
> diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dtsi
> similarity index 97%
> rename from arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
> rename to arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dtsi
> index d943559b157c..ac3da5b2c1b2 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dtsi
> @@ -28,7 +28,7 @@ gmac1_clkin: external-gmac1-clock {
> #clock-cells = <0>;
> };
>
> - fan: gpio_fan {
> + fan: fan {
I do think "gpio-fan" with a dash might be nicer, as we don't
have an address that indicates which fan it is.
> compatible = "gpio-fan";
> gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
> gpio-fan,speed-map = <0 0
> @@ -38,7 +38,7 @@ fan: gpio_fan {
> #cooling-cells = <2>;
> };
>
> - hdmi-con {
> + hdmi-connector {
> compatible = "hdmi-connector";
> type = "a";
>
> @@ -116,7 +116,7 @@ simple-audio-card,codec {
> };
> };
>
> - vcc12v_dcin: vcc12v_dcin {
> + vcc12v_dcin: vcc12v-dcin {
The newly agreed on scheme is to have "-regulator" at the end
vcc12v_dcin: vcc12v-dcin-regulator {
would be the new name.
Heiko
_______________________________________________
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-09-16 13:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-16 12:52 [PATCH 1/2] dt-bindings: rockchip: k3566-quartz64-a: fix names entries, refactor Alessandro Carminati
2022-09-16 13:17 ` Heiko Stuebner [this message]
2022-09-16 16:46 ` Robin Murphy
2022-09-17 16:42 ` 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=1916265.yKVeVyVuyW@phil \
--to=heiko@sntech.de \
--cc=alessandro.carminati@gmail.com \
--cc=devicetree@vger.kernel.org \
--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=robh+dt@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