From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>,
Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
devicetree@vger.kernel.org, rtc-linux@googlegroups.com,
kernel@pengutronix.de
Subject: [rtc-linux] Re: [PATCH v4 2/2] rtc: add driver for RX6110SA real time clock
Date: Sun, 31 Jan 2016 15:04:18 +0100 [thread overview]
Message-ID: <20160131140418.GD11885@pengutronix.de> (raw)
In-Reply-To: <20160131115457.GL20165@piout.net>
On Sun, Jan 31, 2016 at 12:54:57PM +0100, Alexandre Belloni wrote:
> On 04/01/2016 at 18:04:35 +0100, Steffen Trumtrar wrote :
> > The RX6110 comes in two different variants: SPI and I2C.
> > This driver only supports the SPI variant.
> >
> > If the need ever arises to also support the I2C variant, this driver
> > could easily be refactored to support both cases.
> >
> > Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
> > Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> > ---
> >
> > Changes since v3:
> > - remove old copyright infos
> > - use the BIT() macro
> > - replace rx6110_get_week_day() with ffs()
> > - replace hardcoded offsets with enum
> > - use regmap_bulk_write in set_time
> > - use regmap_register_patch in init function
> > - return -EINVAL instead of "fixing" time in the rtc
> >
> > drivers/rtc/Kconfig | 9 ++
> > drivers/rtc/Makefile | 1 +
> > drivers/rtc/rtc-rx6110.c | 402 +++++++++++++++++++++++++++++++++++++++++++++++
> > 3 files changed, 412 insertions(+)
> > create mode 100644 drivers/rtc/rtc-rx6110.c
> >
> Applied, after realigning some lines in rx6110_probe().
>
Thanks :-)
Regards,
Steffen
--
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 |
--
--
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-01-31 14:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-04 17:04 [rtc-linux] [PATCH v4 1/2] Documentation: devicetree: add epson rx6110 binding Steffen Trumtrar
2016-01-04 17:04 ` [rtc-linux] [PATCH v4 2/2] rtc: add driver for RX6110SA real time clock Steffen Trumtrar
2016-01-31 11:54 ` [rtc-linux] " Alexandre Belloni
2016-01-31 14:04 ` Steffen Trumtrar [this message]
2016-03-03 11:58 ` cvs268
2016-03-03 12:57 ` Alexandre Belloni
2016-01-31 11:53 ` [rtc-linux] Re: [PATCH v4 1/2] Documentation: devicetree: add epson rx6110 binding 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=20160131140418.GD11885@pengutronix.de \
--to=s.trumtrar@pengutronix.de \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@free-electrons.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=kernel@pengutronix.de \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--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