From: Sascha Hauer <s.hauer@pengutronix.de>
To: Marco Felsch <m.felsch@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] rtc: ds1307: Add ds3231 to driver's ID list
Date: Fri, 19 Oct 2018 13:55:13 +0200 [thread overview]
Message-ID: <20181019115513.jtfuwxkokqasm6or@pengutronix.de> (raw)
In-Reply-To: <20181018114708.19506-1-m.felsch@pengutronix.de>
On Thu, Oct 18, 2018 at 01:47:08PM +0200, Marco Felsch wrote:
> In contrast to the ds1337 the ds3231 has a built-in temperature
> compensated crystal oscillator. The register map seems the same as the
> one from the ds1337, so using it's driver_data is okay.
>
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
> drivers/rtc/rtc-ds1307.c | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
>
> diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c
> index 73d88ba6f2..fed3afb7bf 100644
> --- a/drivers/rtc/rtc-ds1307.c
> +++ b/drivers/rtc/rtc-ds1307.c
> @@ -112,6 +112,7 @@ static struct platform_device_id ds1307_id[] = {
> { "ds1308", ds_1338 }, /* Difference 1308 to 1338 irrelevant */
> { "ds1338", ds_1338 },
> { "ds1341", ds_1341 },
> + { "ds3231", ds_1337 },
> { "pt7c4338", ds_1307 },
> { }
> };
> --
> 2.19.0
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2018-10-19 11:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-18 11:47 Marco Felsch
2018-10-19 11:55 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181019115513.jtfuwxkokqasm6or@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=m.felsch@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox