From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Akinobu Mita <akinobu.mita@gmail.com>
Cc: rtc-linux@googlegroups.com,
Alessandro Zummo <a.zummo@towertech.it>,
Dennis Aberilla <denzzzhome@yahoo.com>
Subject: [rtc-linux] Re: [PATCH v4 2/7] rtc: merge ds3232 and ds3234
Date: Thu, 10 Mar 2016 07:24:06 +0100 [thread overview]
Message-ID: <20160310062406.GF9868@piout.net> (raw)
In-Reply-To: <1457278073-11627-2-git-send-email-akinobu.mita@gmail.com>
On 07/03/2016 at 00:27:48 +0900, Akinobu Mita wrote :
> According to "Feature Comparison of the DS323x Real-Time Clocks"
> (http://pdfserv.maximintegrated.com/en/an/AN5143.pdf), DS3232 and
> DS3234 are very similar.
>
> This merges rtc-ds3232 and rtc-ds3234 with using regmap.
> This change also enables to support alarm for ds3234.
>
> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
> Suggested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> Cc: Alessandro Zummo <a.zummo@towertech.it>
> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> Cc: Dennis Aberilla <denzzzhome@yahoo.com>
> ---
> * v4
> - stop splitting core and i2c modules
>
> drivers/rtc/Kconfig | 42 ++++++------
> drivers/rtc/Makefile | 1 -
> drivers/rtc/rtc-ds3232.c | 167 ++++++++++++++++++++++++++++++++++++++++++++-
> drivers/rtc/rtc-ds3234.c | 171 -----------------------------------------------
> 4 files changed, 187 insertions(+), 194 deletions(-)
> delete mode 100644 drivers/rtc/rtc-ds3234.c
>
I applied it after adding the REGMAP_I2C and REGMAP_SPI selection. I
also fixed the ds323?_unregister_driver prototype (void instead of int)
when I2C or SPI are not selected.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
next prev parent reply other threads:[~2016-03-10 6:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-06 15:27 [rtc-linux] [PATCH v4 1/7] rtc: ds3232: convert to use regmap Akinobu Mita
2016-03-06 15:27 ` [rtc-linux] [PATCH v4 2/7] rtc: merge ds3232 and ds3234 Akinobu Mita
2016-03-10 6:24 ` Alexandre Belloni [this message]
2016-03-06 15:27 ` [rtc-linux] [PATCH v4 3/7] rtc: ds3232: fix read on /dev/rtc after RTC_AIE_ON Akinobu Mita
2016-03-10 6:25 ` [rtc-linux] " Alexandre Belloni
2016-03-06 15:27 ` [rtc-linux] [PATCH v4 4/7] rtc: ds3232: add register access error checks Akinobu Mita
2016-03-06 15:27 ` [rtc-linux] [PATCH v4 5/7] rtc: ds3232: remove unused UIE code Akinobu Mita
2016-03-06 15:27 ` [rtc-linux] [PATCH v4 6/7] rtc: ds3232: fix issue when irq is shared several devices Akinobu Mita
2016-03-06 15:27 ` [rtc-linux] [PATCH v4 7/7] rtc: ds3232: use rtc->ops_lock to protect alarm operations Akinobu Mita
2016-03-10 6:18 ` [rtc-linux] Re: [PATCH v4 1/7] rtc: ds3232: convert to use regmap Alexandre Belloni
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=20160310062406.GF9868@piout.net \
--to=alexandre.belloni@free-electrons.com \
--cc=a.zummo@towertech.it \
--cc=akinobu.mita@gmail.com \
--cc=denzzzhome@yahoo.com \
--cc=rtc-linux@googlegroups.com \
/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