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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200529081834.GX3972@piout.net>
Date:   Fri, 29 May 2020 10:18:34 +0200
From:   Alexandre Belloni <alexandre.belloni@...tlin.com>
To:     Ran Wang <ran.wang_1@....com>
Cc:     Alessandro Zummo <a.zummo@...ertech.it>,
        Rob Herring <robh+dt@...nel.org>, Li Biwen <biwen.li@....com>,
        linux-rtc@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: rtc: add wakeup-source for FlexTimer

On 29/05/2020 14:10:34+0800, Ran Wang wrote:
> Signed-off-by: Ran Wang <ran.wang_1@....com>
> ---
>  Documentation/devicetree/bindings/rtc/rtc-fsl-ftm-alarm.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/rtc/rtc-fsl-ftm-alarm.txt b/Documentation/devicetree/bindings/rtc/rtc-fsl-ftm-alarm.txt
> index fffac74..d7c482c 100644
> --- a/Documentation/devicetree/bindings/rtc/rtc-fsl-ftm-alarm.txt
> +++ b/Documentation/devicetree/bindings/rtc/rtc-fsl-ftm-alarm.txt
> @@ -20,6 +20,7 @@ Required properties:
>  Optional properties:
>  - big-endian: If the host controller is big-endian mode, specify this property.
>    The default endian mode is little-endian.
> +- wakeup-source: Enable it as a wakeup source
>  

This is already covered by Documentation/devicetree/bindings/rtc/rtc.yaml

>  Example:
>  rcpm: rcpm@...4040 {
> @@ -32,5 +33,6 @@ ftm_alarm0: timer@...0000 {
>  	compatible = "fsl,ls1088a-ftm-alarm";
>  	reg = <0x0 0x2800000 0x0 0x10000>;
>  	fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0>;
> +	wakeup-source;
>  	interrupts = <0 44 4>;
>  };
> -- 
> 2.7.4
> 

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ