lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54F6E469.8020405@atmel.com>
Date:	Wed, 4 Mar 2015 11:54:33 +0100
From:	Nicolas Ferre <nicolas.ferre@...el.com>
To:	Josh Wu <josh.wu@...el.com>
CC:	<linux-arm-kernel@...ts.infradead.org>,
	Boris Brezillon <boris.brezillon@...e-electrons.com>,
	Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
	Andrew Victor <linux@...im.org.za>,
	Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
	Rob Herring <robh+dt@...nel.org>,
	Pawel Moll <pawel.moll@....com>,
	Mark Rutland <mark.rutland@....com>,
	Ian Campbell <ijc+devicetree@...lion.org.uk>,
	"Kumar Gala" <galak@...eaurora.org>,
	Russell King <linux@....linux.org.uk>,
	<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ARM: at91: dts: sama5d4ek: add leds in DT node

Le 09/02/2015 10:40, Josh Wu a écrit :
> Add the leds DT node in the dts file.
> In the leds, d10 is set as heartbeat led.
> 
> Signed-off-by: Josh Wu <josh.wu@...el.com>

Acked-by: Nicolas Ferre <nicolas.ferre@...el.com>

added to at91-4.1-dt branch.

Thanks.

> ---
> 
>  arch/arm/boot/dts/at91-sama5d4ek.dts | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts
> index 9198b71..0c418be 100644
> --- a/arch/arm/boot/dts/at91-sama5d4ek.dts
> +++ b/arch/arm/boot/dts/at91-sama5d4ek.dts
> @@ -257,4 +257,26 @@
>  			gpio-key,wakeup;
>  		};
>  	};
> +
> +	leds {
> +		compatible = "gpio-leds";
> +		status = "okay";
> +
> +		d8 {
> +			label = "d8";
> +			/* PE28, conflicts with usart4 rts pin */
> +			gpios = <&pioE 28 GPIO_ACTIVE_LOW>;
> +		};
> +
> +		d9 {
> +			label = "d9";
> +			gpios = <&pioE 9 GPIO_ACTIVE_HIGH>;
> +		};
> +
> +		d10 {
> +			label = "d10";
> +			gpios = <&pioE 8 GPIO_ACTIVE_LOW>;
> +			linux,default-trigger = "heartbeat";
> +		};
> +	};
>  };
> 


-- 
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ