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 07/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa E25
Date: Thu, 8 Aug 2024 18:38:05 +0900 [thread overview]
Message-ID: <20240808093808.1740-8-naoki@radxa.com> (raw)
In-Reply-To: <20240808093808.1740-1-naoki@radxa.com>
- sort properties
- add default-state
- add function for multi-led
- remove redundant parameters from pwms
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
---
arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi | 5 +++--
arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts | 7 ++++---
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi b/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi
index 45b03dcbbad4..b287d9cca6f9 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi
@@ -20,9 +20,10 @@ gpio-leds {
compatible = "gpio-leds";
led_user: led-0 {
- gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
- function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_GREEN>;
+ default-state = "on";
+ function = LED_FUNCTION_HEARTBEAT;
+ gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
pinctrl-names = "default";
pinctrl-0 = <&led_user_en>;
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts b/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
index 72ad74c38a2b..4b5203c0037a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
@@ -16,21 +16,22 @@ pwm-leds {
multi-led {
color = <LED_COLOR_ID_RGB>;
+ function = LED_FUNCTION_ACTIVITY;
max-brightness = <255>;
led-red {
color = <LED_COLOR_ID_RED>;
- pwms = <&pwm1 0 1000000 0>;
+ pwms = <&pwm1 0 1000000>;
};
led-green {
color = <LED_COLOR_ID_GREEN>;
- pwms = <&pwm2 0 1000000 0>;
+ pwms = <&pwm2 0 1000000>;
};
led-blue {
color = <LED_COLOR_ID_BLUE>;
- pwms = <&pwm12 0 1000000 0>;
+ pwms = <&pwm12 0 1000000>;
};
};
};
--
2.43.0
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev 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 ` [PATCH 03/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK 4C+ FUKAUMI Naoki
2024-08-08 10:52 ` 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 ` FUKAUMI Naoki [this message]
2024-08-08 10:54 ` [PATCH 07/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa E25 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-8-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