* [PATCH 1/8] ARM: dts: exynos: add function to LED node in Origen 4210
@ 2022-06-07 8:52 Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 2/8] ARM: dts: exynos: add function to LED nodes in Tiny4412 Krzysztof Kozlowski
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-07 8:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Alim Akhtar, devicetree,
linux-arm-kernel, linux-samsung-soc, linux-kernel
Cc: Krzysztof Kozlowski
Add common LED property - the function - to LED node in Origen 4210.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
arch/arm/boot/dts/exynos4210-origen.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts
index a08ce2f37ea2..82c4ebdf98ac 100644
--- a/arch/arm/boot/dts/exynos4210-origen.dts
+++ b/arch/arm/boot/dts/exynos4210-origen.dts
@@ -15,6 +15,7 @@
#include "exynos4210.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
#include "exynos-mfc-reserved-memory.dtsi"
/ {
@@ -86,6 +87,7 @@ leds {
compatible = "gpio-leds";
status {
gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
+ function = LED_FUNCTION_HEARTBEAT;
linux,default-trigger = "heartbeat";
};
};
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/8] ARM: dts: exynos: add function to LED nodes in Tiny4412
2022-06-07 8:52 [PATCH 1/8] ARM: dts: exynos: add function to LED node in Origen 4210 Krzysztof Kozlowski
@ 2022-06-07 8:52 ` Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 3/8] ARM: dts: exynos: add function and color to LED nodes in Itop Elite Krzysztof Kozlowski
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-07 8:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Alim Akhtar, devicetree,
linux-arm-kernel, linux-samsung-soc, linux-kernel
Cc: Krzysztof Kozlowski
Add common LED property - the function - to LED nodes in Tiny4412.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
arch/arm/boot/dts/exynos4412-tiny4412.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-tiny4412.dts b/arch/arm/boot/dts/exynos4412-tiny4412.dts
index 017b26108bb0..04388c575efe 100644
--- a/arch/arm/boot/dts/exynos4412-tiny4412.dts
+++ b/arch/arm/boot/dts/exynos4412-tiny4412.dts
@@ -11,6 +11,7 @@
/dts-v1/;
#include "exynos4412.dtsi"
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
/ {
model = "FriendlyARM TINY4412 board based on Exynos4412";
@@ -30,6 +31,7 @@ leds {
led1 {
label = "led1";
+ function = LED_FUNCTION_HEARTBEAT;
gpios = <&gpm4 0 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "heartbeat";
@@ -49,6 +51,7 @@ led3 {
led4 {
label = "led4";
+ function = LED_FUNCTION_DISK_ACTIVITY;
gpios = <&gpm4 3 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "mmc0";
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/8] ARM: dts: exynos: add function and color to LED nodes in Itop Elite
2022-06-07 8:52 [PATCH 1/8] ARM: dts: exynos: add function to LED node in Origen 4210 Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 2/8] ARM: dts: exynos: add function to LED nodes in Tiny4412 Krzysztof Kozlowski
@ 2022-06-07 8:52 ` Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 4/8] ARM: dts: exynos: add function and color to LED node in Odroid U3 Krzysztof Kozlowski
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-07 8:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Alim Akhtar, devicetree,
linux-arm-kernel, linux-samsung-soc, linux-kernel
Cc: Krzysztof Kozlowski
Add common LED properties - the function and color - to LED nodes in
Exynos4412 Itop Elite.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
arch/arm/boot/dts/exynos4412-itop-elite.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-itop-elite.dts b/arch/arm/boot/dts/exynos4412-itop-elite.dts
index a9406280b979..0dec45a505b0 100644
--- a/arch/arm/boot/dts/exynos4412-itop-elite.dts
+++ b/arch/arm/boot/dts/exynos4412-itop-elite.dts
@@ -11,6 +11,7 @@
*/
/dts-v1/;
+#include <dt-bindings/leds/common.h>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/sound/samsung-i2s.h>
#include "exynos4412-itop-scp-core.dtsi"
@@ -29,6 +30,8 @@ leds {
led2 {
label = "red:system";
+ function = LED_FUNCTION_HEARTBEAT;
+ color = <LED_COLOR_ID_RED>;
gpios = <&gpx1 0 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "heartbeat";
@@ -36,6 +39,7 @@ led2 {
led3 {
label = "red:user";
+ color = <LED_COLOR_ID_RED>;
gpios = <&gpk1 1 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 4/8] ARM: dts: exynos: add function and color to LED node in Odroid U3
2022-06-07 8:52 [PATCH 1/8] ARM: dts: exynos: add function to LED node in Origen 4210 Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 2/8] ARM: dts: exynos: add function to LED nodes in Tiny4412 Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 3/8] ARM: dts: exynos: add function and color to LED nodes in Itop Elite Krzysztof Kozlowski
@ 2022-06-07 8:52 ` Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 5/8] ARM: dts: exynos: add function and color to LED nodes in Odroid X/X2 Krzysztof Kozlowski
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-07 8:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Alim Akhtar, devicetree,
linux-arm-kernel, linux-samsung-soc, linux-kernel
Cc: Krzysztof Kozlowski
Add common LED properties - the function and color - to LED node in
Exynos4412 Odroid U3.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
arch/arm/boot/dts/exynos4412-odroidu3.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts
index 36c369c42b77..79364e7a8da1 100644
--- a/arch/arm/boot/dts/exynos4412-odroidu3.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts
@@ -9,6 +9,7 @@
*/
/dts-v1/;
+#include <dt-bindings/leds/common.h>
#include "exynos4412-odroid-common.dtsi"
#include "exynos4412-prime.dtsi"
@@ -38,6 +39,8 @@ leds {
compatible = "gpio-leds";
led1 {
label = "led1:heart";
+ function = LED_FUNCTION_HEARTBEAT;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpc1 0 GPIO_ACTIVE_LOW>;
default-state = "on";
linux,default-trigger = "heartbeat";
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 5/8] ARM: dts: exynos: add function and color to LED nodes in Odroid X/X2
2022-06-07 8:52 [PATCH 1/8] ARM: dts: exynos: add function to LED node in Origen 4210 Krzysztof Kozlowski
` (2 preceding siblings ...)
2022-06-07 8:52 ` [PATCH 4/8] ARM: dts: exynos: add function and color to LED node in Odroid U3 Krzysztof Kozlowski
@ 2022-06-07 8:52 ` Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 6/8] ARM: dts: exynos: add function and color to LED node in Odroid HC1 Krzysztof Kozlowski
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-07 8:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Alim Akhtar, devicetree,
linux-arm-kernel, linux-samsung-soc, linux-kernel
Cc: Krzysztof Kozlowski
Add common LED properties - the function and color - to LED nodes in
Exynos4412 Odroid X/X2.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
arch/arm/boot/dts/exynos4412-odroidx.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
index 1f17cc30ed14..dfa4adc9a767 100644
--- a/arch/arm/boot/dts/exynos4412-odroidx.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
@@ -9,6 +9,7 @@
*/
/dts-v1/;
+#include <dt-bindings/leds/common.h>
#include "exynos4412-odroid-common.dtsi"
/ {
@@ -28,12 +29,15 @@ leds {
compatible = "gpio-leds";
led1 {
label = "led1:heart";
+ function = LED_FUNCTION_HEARTBEAT;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpc1 0 GPIO_ACTIVE_LOW>;
default-state = "on";
linux,default-trigger = "heartbeat";
};
led2 {
label = "led2:mmc0";
+ function = LED_FUNCTION_DISK_ACTIVITY;
gpios = <&gpc1 2 GPIO_ACTIVE_LOW>;
default-state = "on";
linux,default-trigger = "mmc0";
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 6/8] ARM: dts: exynos: add function and color to LED node in Odroid HC1
2022-06-07 8:52 [PATCH 1/8] ARM: dts: exynos: add function to LED node in Origen 4210 Krzysztof Kozlowski
` (3 preceding siblings ...)
2022-06-07 8:52 ` [PATCH 5/8] ARM: dts: exynos: add function and color to LED nodes in Odroid X/X2 Krzysztof Kozlowski
@ 2022-06-07 8:52 ` Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 7/8] ARM: dts: exynos: add function and color to LED node in Odroid XU4 Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 8/8] ARM: dts: exynos: add function and color to LED nodes in Odroid XU/XU3 Krzysztof Kozlowski
6 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-07 8:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Alim Akhtar, devicetree,
linux-arm-kernel, linux-samsung-soc, linux-kernel
Cc: Krzysztof Kozlowski
Add common LED properties - the function and color - to LED node in
Exynos5422 Odroid HC1.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
arch/arm/boot/dts/exynos5422-odroidhc1.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5422-odroidhc1.dts b/arch/arm/boot/dts/exynos5422-odroidhc1.dts
index d91f7fa2cf80..d7cf427c1bb5 100644
--- a/arch/arm/boot/dts/exynos5422-odroidhc1.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidhc1.dts
@@ -8,6 +8,7 @@
*/
/dts-v1/;
+#include <dt-bindings/leds/common.h>
#include "exynos5422-odroid-core.dtsi"
/ {
@@ -20,6 +21,8 @@ led-controller {
led-1 {
label = "blue:heartbeat";
+ function = LED_FUNCTION_HEARTBEAT;
+ color = <LED_COLOR_ID_BLUE>;
pwms = <&pwm 2 2000000 0>;
pwm-names = "pwm2";
max-brightness = <255>;
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 7/8] ARM: dts: exynos: add function and color to LED node in Odroid XU4
2022-06-07 8:52 [PATCH 1/8] ARM: dts: exynos: add function to LED node in Origen 4210 Krzysztof Kozlowski
` (4 preceding siblings ...)
2022-06-07 8:52 ` [PATCH 6/8] ARM: dts: exynos: add function and color to LED node in Odroid HC1 Krzysztof Kozlowski
@ 2022-06-07 8:52 ` Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 8/8] ARM: dts: exynos: add function and color to LED nodes in Odroid XU/XU3 Krzysztof Kozlowski
6 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-07 8:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Alim Akhtar, devicetree,
linux-arm-kernel, linux-samsung-soc, linux-kernel
Cc: Krzysztof Kozlowski
Add common LED properties - the function and color - to LED node in
Exynos5422 Odroid XU4.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
arch/arm/boot/dts/exynos5422-odroidxu4.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu4.dts b/arch/arm/boot/dts/exynos5422-odroidxu4.dts
index 1c24f9b35973..64683f682c07 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu4.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu4.dts
@@ -9,6 +9,7 @@
*/
/dts-v1/;
+#include <dt-bindings/leds/common.h>
#include <dt-bindings/sound/samsung-i2s.h>
#include "exynos5422-odroidxu3-common.dtsi"
@@ -22,6 +23,8 @@ led-controller {
led-1 {
label = "blue:heartbeat";
+ function = LED_FUNCTION_HEARTBEAT;
+ color = <LED_COLOR_ID_BLUE>;
pwms = <&pwm 2 2000000 0>;
pwm-names = "pwm2";
max-brightness = <255>;
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 8/8] ARM: dts: exynos: add function and color to LED nodes in Odroid XU/XU3
2022-06-07 8:52 [PATCH 1/8] ARM: dts: exynos: add function to LED node in Origen 4210 Krzysztof Kozlowski
` (5 preceding siblings ...)
2022-06-07 8:52 ` [PATCH 7/8] ARM: dts: exynos: add function and color to LED node in Odroid XU4 Krzysztof Kozlowski
@ 2022-06-07 8:52 ` Krzysztof Kozlowski
6 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-07 8:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Alim Akhtar, devicetree,
linux-arm-kernel, linux-samsung-soc, linux-kernel
Cc: Krzysztof Kozlowski
Add common LED properties - the function and color - to LED nodes in
Exynos5422 Odroid XU/XU3/XU3-Lite.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi b/arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi
index 982752e1df24..4e17c040d0be 100644
--- a/arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi
+++ b/arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi
@@ -9,6 +9,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
/ {
led-controller-1 {
@@ -16,6 +17,8 @@ led-controller-1 {
led-1 {
label = "green:mmc0";
+ function = LED_FUNCTION_DISK_ACTIVITY;
+ color = <LED_COLOR_ID_GREEN>;
pwms = <&pwm 1 2000000 0>;
pwm-names = "pwm1";
/*
@@ -28,6 +31,8 @@ led-1 {
led-2 {
label = "blue:heartbeat";
+ function = LED_FUNCTION_HEARTBEAT;
+ color = <LED_COLOR_ID_BLUE>;
pwms = <&pwm 2 2000000 0>;
pwm-names = "pwm2";
max-brightness = <255>;
@@ -40,6 +45,8 @@ led-controller-2 {
led-3 {
label = "red:microSD";
+ function = LED_FUNCTION_DISK_ACTIVITY;
+ color = <LED_COLOR_ID_RED>;
gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "mmc1";
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-06-07 8:52 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-07 8:52 [PATCH 1/8] ARM: dts: exynos: add function to LED node in Origen 4210 Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 2/8] ARM: dts: exynos: add function to LED nodes in Tiny4412 Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 3/8] ARM: dts: exynos: add function and color to LED nodes in Itop Elite Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 4/8] ARM: dts: exynos: add function and color to LED node in Odroid U3 Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 5/8] ARM: dts: exynos: add function and color to LED nodes in Odroid X/X2 Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 6/8] ARM: dts: exynos: add function and color to LED node in Odroid HC1 Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 7/8] ARM: dts: exynos: add function and color to LED node in Odroid XU4 Krzysztof Kozlowski
2022-06-07 8:52 ` [PATCH 8/8] ARM: dts: exynos: add function and color to LED nodes in Odroid XU/XU3 Krzysztof Kozlowski
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).