Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1592803 > unrolled thread

[PATCH 2/2] ARM: dts: motorola-cpcap-mapphone: add LEDs

Started bySebastian Reichel <sre@kernel.org>
First post2017-03-05 18:30 +0100
Last post2017-03-06 17:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] ARM: dts: motorola-cpcap-mapphone: add LEDs Sebastian Reichel <sre@kernel.org> - 2017-03-05 18:30 +0100
    Re: [PATCH 2/2] ARM: dts: motorola-cpcap-mapphone: add LEDs Tony Lindgren <tony@atomide.com> - 2017-03-06 17:20 +0100

#1592803 — [PATCH 2/2] ARM: dts: motorola-cpcap-mapphone: add LEDs

FromSebastian Reichel <sre@kernel.org>
Date2017-03-05 18:30 +0100
Subject[PATCH 2/2] ARM: dts: motorola-cpcap-mapphone: add LEDs
Message-ID<thI8N-3uS-1@gated-at.bofh.it>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
 arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi | 30 ++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
index 9970985e685b..e02982d69854 100644
--- a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
+++ b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
@@ -38,6 +38,36 @@
 
 			interrupts = <23 IRQ_TYPE_NONE>;
 		};
+
+		led_red: led-red {
+			compatible = "motorola,cpcap-led-red";
+			vdd-supply = <&sw5>;
+			label = "status-led:red";
+		};
+
+		led_green: led-green {
+			compatible = "motorola,cpcap-led-green";
+			vdd-supply = <&sw5>;
+			label = "status-led:green";
+		};
+
+		led_blue: led-blue {
+			compatible = "motorola,cpcap-led-blue";
+			vdd-supply = <&sw5>;
+			label = "status-led:blue";
+		};
+
+		led_adl: led-adl {
+			compatible = "motorola,cpcap-led-adl";
+			vdd-supply = <&sw5>;
+			label = "button-backlight";
+		};
+
+		led_cp: led-cp {
+			compatible = "motorola,cpcap-led-cp";
+			vdd-supply = <&sw5>;
+			label = "shift-key-light";
+		};
 	};
 };
 
-- 
2.11.0

[toc] | [next] | [standalone]


#1593505

FromTony Lindgren <tony@atomide.com>
Date2017-03-06 17:20 +0100
Message-ID<ti3wC-2gf-13@gated-at.bofh.it>
In reply to#1592803
* Sebastian Reichel <sre@kernel.org> [170305 09:24]:
> Signed-off-by: Sebastian Reichel <sre@kernel.org>
> ---
>  arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi | 30 ++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
> index 9970985e685b..e02982d69854 100644
> --- a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
> +++ b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
> @@ -38,6 +38,36 @@
>  
>  			interrupts = <23 IRQ_TYPE_NONE>;
>  		};
> +
> +		led_red: led-red {
> +			compatible = "motorola,cpcap-led-red";
> +			vdd-supply = <&sw5>;
> +			label = "status-led:red";
> +		};
> +
> +		led_green: led-green {
> +			compatible = "motorola,cpcap-led-green";
> +			vdd-supply = <&sw5>;
> +			label = "status-led:green";
> +		};
> +
> +		led_blue: led-blue {
> +			compatible = "motorola,cpcap-led-blue";
> +			vdd-supply = <&sw5>;
> +			label = "status-led:blue";
> +		};
> +
> +		led_adl: led-adl {
> +			compatible = "motorola,cpcap-led-adl";
> +			vdd-supply = <&sw5>;
> +			label = "button-backlight";
> +		};
> +
> +		led_cp: led-cp {
> +			compatible = "motorola,cpcap-led-cp";
> +			vdd-supply = <&sw5>;
> +			label = "shift-key-light";
> +		};
>  	};
>  };

Applying into omap-for-v4.12/dt-droid4 thanks. I added minimal
description to the patch saying "Add LEDs".

Regards,

Tony

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web