lkml.org 
[lkml]   [2016]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] rtc: support for rv4162c7
Hi,

On 13/04/2016 at 22:39:39 +0200, Tomas Krcka wrote :
> This patch is for support of rv4162c7 RTC chip.
> The device has same parameters as rv4162, but with different identification.
> Tested with PhyTec module AM335x.
>

Well, technically, it is an rv4162. rv4162-c7 is the only available one.
So this patch is not necessary.

> Signed-off-by: Tomas Krcka <tomas.krcka@nkgroup.cz>
>
> ---
> drivers/rtc/rtc-m41t80.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c
> index d107a8e..1aa57d8 100644
> --- a/drivers/rtc/rtc-m41t80.c
> +++ b/drivers/rtc/rtc-m41t80.c
> @@ -81,6 +81,7 @@ static const struct i2c_device_id m41t80_id[] = {
> { "m41st85", M41T80_FEATURE_HT | M41T80_FEATURE_BL | M41T80_FEATURE_SQ },
> { "m41st87", M41T80_FEATURE_HT | M41T80_FEATURE_BL | M41T80_FEATURE_SQ },
> { "rv4162", M41T80_FEATURE_SQ | M41T80_FEATURE_WD | M41T80_FEATURE_SQ_ALT },
> + { "rv4162c7", M41T80_FEATURE_SQ | M41T80_FEATURE_WD | M41T80_FEATURE_SQ_ALT },
> { }
> };
> MODULE_DEVICE_TABLE(i2c, m41t80_id);
> -- 1.9.1
>

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

\
 
 \ /
  Last update: 2016-04-14 01:21    [W:0.053 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site