From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Belloni Subject: Re: [PATCH 2/2] ARM: dts: at91: Modify information in LED nodes. Date: Fri, 24 Jun 2016 15:40:10 +0200 Message-ID: <20160624134010.GN5809@piout.net> References: <1466775069-606-1-git-send-email-raashidmuhammed@zilogic.com> <1466775069-606-2-git-send-email-raashidmuhammed@zilogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1466775069-606-2-git-send-email-raashidmuhammed@zilogic.com> Sender: linux-kernel-owner@vger.kernel.org To: Raashid Muhammed Cc: nicolas.ferre@atmel.com, plagnioj@jcrosoft.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org Hi, On 24/06/2016 at 19:01:09 +0530, Raashid Muhammed wrote : > Add power led node and rename status led node. > Well, I'm ok with the change but this does more: > Signed-off-by: Raashid Muhammed > Reviewed-by: Vijay Kumar B. > --- > arch/arm/boot/dts/at91-sam9_l9260.dts | 13 +++++++++---- > 1 file changed, 9 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/boot/dts/at91-sam9_l9260.dts b/arch/arm/boot/dts/at91-sam9_l9260.dts > index be409f2..814753a 100644 > --- a/arch/arm/boot/dts/at91-sam9_l9260.dts > +++ b/arch/arm/boot/dts/at91-sam9_l9260.dts > @@ -106,11 +106,16 @@ > leds { > compatible = "gpio-leds"; > > - b0 { > - label = "b0"; > - gpios = <&pioA 6 GPIO_ACTIVE_HIGH>; > - linux,default-trigger = "heartbeat"; > + pwr_led { > + label = "sam9-l9260:yellow:pwr"; > + gpios = <&pioA 9 GPIO_ACTIVE_HIGH>; > + linux,default-trigger = "cpu0"; > }; > > + status_led { > + label = "sam9-l9260:green:status"; > + gpios = <&pioA 6 GPIO_ACTIVE_LOW>; > + linux,default-trigger = "timer"; This trigger is also switched from heartbeat to timer, is this intentional? -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com