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: <a6038c13-45e1-1d30-9766-db3370557584@pengutronix.de>
Date:   Wed, 16 Sep 2020 16:25:38 +0200
From:   Ahmad Fatoum <a.fatoum@...gutronix.de>
To:     Rob Herring <robh+dt@...nel.org>,
        Maxime Coquelin <mcoquelin.stm32@...il.com>,
        Alexandre Torgue <alexandre.torgue@...com>
Cc:     devicetree@...r.kernel.org,
        linux-stm32@...md-mailman.stormreply.com,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: dts: stm32: declare device tree syscon node for TAMP
 peripheral

On 9/16/20 4:22 PM, Ahmad Fatoum wrote:
> The stm32mp1 TAMP (Tamper and backup registers) does tamper detection
> and features 32 backup registers that, being in the RTC domain, may
> survive even with Vdd switched off.
> 
> We don't have a driver for the peripheral, but handling it as syscon
> allows using it with existing drivers that work with them, in particular
> a syscon-reboot-mode child node can be defined in board.dts (or fixed up
> by the bootloader) to exchange reboot mode information with the bootloader.
> 

Looking at the title, I see now that there is nothing stm32mp specific in it.
I will rename the patch to
"ARM: dts: stm32: declare syscon node for TAMP peripheral in stm32mp151.dtsi"
when I send out v2.

> Signed-off-by: Ahmad Fatoum <a.fatoum@...gutronix.de>
> ---
>  arch/arm/boot/dts/stm32mp151.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
> index bfe29023fbd5..fa4eb96c95af 100644
> --- a/arch/arm/boot/dts/stm32mp151.dtsi
> +++ b/arch/arm/boot/dts/stm32mp151.dtsi
> @@ -1144,6 +1144,11 @@ syscfg: syscon@...20000 {
>  			clocks = <&rcc SYSCFG>;
>  		};
>  
> +		tamp: tamp@...0a000 {
> +			compatible = "simple-bus", "syscon", "simple-mfd";
> +			reg = <0x5c00a000 0x400>;
> +		};
> +
>  		lptimer2: timer@...21000 {
>  			#address-cells = <1>;
>  			#size-cells = <0>;
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ