From: Akash Gajjar <Akash_Gajjar@mentor.com>
To: <heiko@sntech.de>
Cc: Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Shohei Maruyama <cheat.sc.linux@outlook.com>,
Oskari Lemmela <oskari@lemmela.net>, Levin Du <djw@t-chip.com.cn>,
Enric Balletbo i Serra <enric.balletbo@collabora.com>,
<devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-rockchip@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH 3/4] arm64: dts: rockchip: rockpro64 dts rename LED labels and default trigger
Date: Wed, 13 Feb 2019 22:36:39 +0530 [thread overview]
Message-ID: <20190213170651.3210-4-Akash_Gajjar@mentor.com> (raw)
In-Reply-To: <20190213170651.3210-1-Akash_Gajjar@mentor.com>
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>
---
.../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>;
};
};
--
2.17.1
next prev parent reply other threads:[~2019-02-13 17:09 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 ` Akash Gajjar [this message]
2019-02-15 9:21 ` [PATCH 3/4] arm64: dts: rockchip: rockpro64 dts rename LED labels and default trigger Heiko Stübner
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=20190213170651.3210-4-Akash_Gajjar@mentor.com \
--to=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=heiko@sntech.de \
--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
all inboxes | Powered by JetHome®