From: "Heiko Stübner" <heiko@sntech.de>
To: Akash Gajjar <Akash_Gajjar@mentor.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
Shohei Maruyama <cheat.sc.linux@outlook.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-rockchip@lists.infradead.org,
Rob Herring <robh+dt@kernel.org>,
Oskari Lemmela <oskari@lemmela.net>,
Enric Balletbo i Serra <enric.balletbo@collabora.com>,
Levin Du <djw@t-chip.com.cn>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 3/4] arm64: dts: rockchip: rockpro64 dts rename LED labels and default trigger
Date: Fri, 15 Feb 2019 10:21:54 +0100 [thread overview]
Message-ID: <2294853.gTMg7XEmWK@diego> (raw)
In-Reply-To: <20190213170651.3210-4-Akash_Gajjar@mentor.com>
Am Mittwoch, 13. Februar 2019, 18:06:39 CET schrieb Akash Gajjar:
> rename white and red LEDs with status and heartbeat respectively.
> replace red LED default state off with default-trigger heartbeat.
>
> Signed-off-by: Akash Gajjar <Akash_Gajjar@mentor.com>
Hmm, in the schematics the leds are named work + diy as in the current
devicetree, so I'd like to keep node names + pinctrl matching schematics
please.
And changing the functionality of the LEDs would require a bit more
rationale in the commit message on why that is something we want.
Heiko
> ---
> .../arm64/boot/dts/rockchip/rk3399-rockpro64.dts | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
> b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts index
> c9a2b26d7cad..dab53d2eb676 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
> @@ -43,17 +43,17 @@
> leds {
> compatible = "gpio-leds";
> pinctrl-names = "default";
> - pinctrl-0 = <&work_led_gpio>, <&diy_led_gpio>;
> + pinctrl-0 = <&status_led_gpio>, <&heartbeat_led_gpio>;
>
> - work-led {
> - label = "work";
> + status-led {
> + label = "rockpro64:white:status";
> default-state = "on";
> gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
> };
>
> - diy-led {
> - label = "diy";
> - default-state = "off";
> + heartbeat-led {
> + label = "rockpor64:red:heartbeat";
> + linux,default-trigger = "heartbeat";
> gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
> };
> };
> @@ -502,11 +502,11 @@
> };
>
> leds {
> - work_led_gpio: work_led-gpio {
> + status_led_gpio: status-led-gpio {
> rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
> };
>
> - diy_led_gpio: diy_led-gpio {
> + heartbeat_led_gpio: heartbeat-led-gpio {
> rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
> };
> };
next prev parent reply other threads:[~2019-02-15 9:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-13 17:06 [PATCH 0/4] arm64: dts: rockchip: rk3399-rockpro64 dts cleanup Akash Gajjar
2019-02-13 17:06 ` [PATCH 1/4] arm64: dts: rockchip: rockpro64 dts make regulator more readable Akash Gajjar
2019-02-15 9:14 ` Heiko Stübner
2019-02-13 17:06 ` [PATCH 2/4] arm64: dts: rockchip: rockpro64 dts remove unused node Akash Gajjar
2019-02-15 9:18 ` Heiko Stübner
2019-02-15 12:08 ` agajjar
2019-02-15 20:46 ` Heiko Stübner
2019-02-16 15:20 ` agajjar
2019-02-13 17:06 ` [PATCH 3/4] arm64: dts: rockchip: rockpro64 dts rename LED labels and default trigger Akash Gajjar
2019-02-15 9:21 ` Heiko Stübner [this message]
2019-02-13 17:06 ` [PATCH 4/4] arm64: dts: rockchip: rockpro64 dts add usb regulator Akash Gajjar
2019-02-15 9:24 ` Heiko Stübner
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=2294853.gTMg7XEmWK@diego \
--to=heiko@sntech.de \
--cc=Akash_Gajjar@mentor.com \
--cc=cheat.sc.linux@outlook.com \
--cc=devicetree@vger.kernel.org \
--cc=djw@t-chip.com.cn \
--cc=enric.balletbo@collabora.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=oskari@lemmela.net \
--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;
as well as URLs for NNTP newsgroup(s).