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]
Date:   Tue, 3 May 2022 15:48:29 +0200
From:   Alexandre TORGUE <alexandre.torgue@...s.st.com>
To:     Fabien Dessenne <fabien.dessenne@...s.st.com>,
        Rob Herring <robh+dt@...nel.org>,
        Maxime Coquelin <mcoquelin.stm32@...il.com>,
        <devicetree@...r.kernel.org>,
        <linux-stm32@...md-mailman.stormreply.com>,
        <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] ARM: dts: stm32: add blue led (Linux heartbeat) on
 stm32mp135f-dk

On 5/3/22 11:41, Fabien Dessenne wrote:
> The blue led (Linux heartbeat) is connected to the PA14 pin of the
> stm32mp135f-dk board.
> 
> Signed-off-by: Fabien Dessenne <fabien.dessenne@...s.st.com>
> ---
>   arch/arm/boot/dts/stm32mp135f-dk.dts | 14 ++++++++++++++
>   1 file changed, 14 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32mp135f-dk.dts
> index aefa25ee897d..65acee0f68b7 100644
> --- a/arch/arm/boot/dts/stm32mp135f-dk.dts
> +++ b/arch/arm/boot/dts/stm32mp135f-dk.dts
> @@ -6,6 +6,8 @@
>   
>   /dts-v1/;
>   
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/leds/common.h>
>   #include "stm32mp135.dtsi"
>   #include "stm32mp13xf.dtsi"
>   #include "stm32mp13-pinctrl.dtsi"
> @@ -23,6 +25,18 @@ memory@...00000 {
>   		reg = <0xc0000000 0x20000000>;
>   	};
>   
> +	leds {
> +		compatible = "gpio-leds";
> +
> +		led-blue {
> +			function = LED_FUNCTION_HEARTBEAT;
> +			color = <LED_COLOR_ID_BLUE>;
> +			gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
> +			linux,default-trigger = "heartbeat";
> +			default-state = "off";
> +		};
> +	};
> +
>   	vdd_sd: vdd-sd {
>   		compatible = "regulator-fixed";
>   		regulator-name = "vdd_sd";
Applied on stm32-next.

Thanks.
Alex

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ