Linux-Rockchip Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: FUKAUMI Naoki <naoki@radxa.com>
To: heiko@sntech.de
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org,
	FUKAUMI Naoki <naoki@radxa.com>
Subject: [PATCH 03/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK 4C+
Date: Thu,  8 Aug 2024 18:38:01 +0900	[thread overview]
Message-ID: <20240808093808.1740-4-naoki@radxa.com> (raw)
In-Reply-To: <20240808093808.1740-1-naoki@radxa.com>

- sort properties
- add default-state
- change function for led-1 from STATUS to HEARTBEAT

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
---
 arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts
index d4b4dced3e39..7454bfb76a7d 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts
@@ -37,16 +37,18 @@ leds {
 
 		/* USER_LED1 */
 		led-0 {
-			function = LED_FUNCTION_POWER;
 			color = <LED_COLOR_ID_GREEN>;
+			default-state = "on";
+			function = LED_FUNCTION_POWER;
 			gpios = <&gpio3 RK_PD4 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "default-on";
 		};
 
 		/* USER_LED2 */
 		led-1 {
-			function = LED_FUNCTION_STATUS;
 			color = <LED_COLOR_ID_BLUE>;
+			default-state = "on";
+			function = LED_FUNCTION_HEARTBEAT;
 			gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 		};
-- 
2.43.0


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

  parent reply	other threads:[~2024-08-08  9:38 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-08  9:37 [PATCH 00/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa boards FUKAUMI Naoki
2024-08-08  9:37 ` [PATCH 01/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK Pi S FUKAUMI Naoki
2024-08-08 10:51   ` Krzysztof Kozlowski
2024-08-08  9:38 ` [PATCH 02/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK Pi E FUKAUMI Naoki
2024-08-08 10:52   ` Krzysztof Kozlowski
2024-08-08  9:38 ` FUKAUMI Naoki [this message]
2024-08-08 10:52   ` [PATCH 03/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK 4C+ Krzysztof Kozlowski
2024-08-08  9:38 ` [PATCH 04/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK Pi 4 FUKAUMI Naoki
2024-08-08  9:38 ` [PATCH 05/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa CM3 IO FUKAUMI Naoki
2024-08-08  9:38 ` [PATCH 06/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK 3C FUKAUMI Naoki
2024-08-08  9:38 ` [PATCH 07/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa E25 FUKAUMI Naoki
2024-08-08 10:54   ` Krzysztof Kozlowski
2024-08-08 17:55   ` Krzysztof Kozlowski
2024-08-08  9:38 ` [PATCH 08/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK 3A FUKAUMI Naoki
2024-08-08 10:55   ` Krzysztof Kozlowski
2024-08-08  9:38 ` [PATCH 09/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK 5B FUKAUMI Naoki
2024-08-08  9:38 ` [PATCH 10/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK 5A FUKAUMI Naoki
2024-08-08 10:54   ` Krzysztof Kozlowski
2024-08-08 16:46 ` [PATCH 00/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa boards Rob Herring (Arm)

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=20240808093808.1740-4-naoki@radxa.com \
    --to=naoki@radxa.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=robh@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