Re: [PATCH v3 5/5] rtc: pcf2127: add tamper detection support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22/08/2019 15:19:36+0200, Bruno Thomsen wrote:
> Add support for integrated tamper detection function in both PCF2127 and
> PCF2129 chips. This patch implements the feature by adding an additional
> timestamp0 file to sysfs device path. This file contains seconds since
> epoch, if an event occurred, or is empty, if none occurred.
> Interface should match ISL1208 and RV3028 RTC drivers.
> 
> Signed-off-by: Bruno Thomsen <bruno.thomsen@xxxxxxxxx>
> ---
> v3: no change.
> v2: call pcf2127_wdt_active_ping after CTRL2 register read.
>     add dev_dbg() trace in timestamp0_show().
>     minor regmap dev_err() text update in pcf2127_probe().
> 
>  drivers/rtc/rtc-pcf2127.c | 160 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 160 insertions(+)
> 
Applied, thanks.

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



[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux