devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: cvs268@gmail.com
To: rtc-linux <rtc-linux@googlegroups.com>
Cc: alexandre.belloni@free-electrons.com, a.zummo@towertech.it,
	robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
	ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
	devicetree@vger.kernel.org, kernel@pengutronix.de,
	s.trumtrar@pengutronix.de
Subject: Re: [PATCH v4 2/2] rtc: add driver for RX6110SA real time clock
Date: Thu, 3 Mar 2016 03:58:45 -0800 (PST)	[thread overview]
Message-ID: <6c5c65d7-2cee-4e3f-a91c-c9fbd4c006c7@googlegroups.com> (raw)
In-Reply-To: <20160131140418.GD11885@pengutronix.de>


[-- Attachment #1.1: Type: text/plain, Size: 615 bytes --]

 

> > > If the need ever arises to also support the I2C variant, this driver 
> > > could easily be refactored to support both cases. 
>
I will soon be getting an embedded board with this RX6110 RTC on it 
connected via I2C.
So i would like to take-up the task of adding I2C support in a few weeks.

A quick search shows drivers/rtc/rtc-rx4581.c was similarly written based 
on drivers/rtc/rtc-rx8581.c

Q. Should i proceed to create drivers/rtc/rtc-rx6110-i2c.c or whats the 
recommended approach?
I did not find any RTC driver that supports both i2c and spi (eg. depending 
upon some config option)

regards
CVS

[-- Attachment #1.2: Type: text/html, Size: 819 bytes --]

  reply	other threads:[~2016-03-03 11:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-04 17:04 [PATCH v4 1/2] Documentation: devicetree: add epson rx6110 binding Steffen Trumtrar
     [not found] ` <1451927075-8656-1-git-send-email-s.trumtrar-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2016-01-04 17:04   ` [PATCH v4 2/2] rtc: add driver for RX6110SA real time clock Steffen Trumtrar
     [not found]     ` <1451927075-8656-2-git-send-email-s.trumtrar-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2016-01-31 11:54       ` Alexandre Belloni
     [not found]         ` <20160131115457.GL20165-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org>
2016-01-31 14:04           ` Steffen Trumtrar
2016-03-03 11:58             ` cvs268 [this message]
     [not found]               ` <6c5c65d7-2cee-4e3f-a91c-c9fbd4c006c7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-03-03 12:57                 ` Alexandre Belloni
2016-01-31 11:53   ` [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=6c5c65d7-2cee-4e3f-a91c-c9fbd4c006c7@googlegroups.com \
    --to=cvs268@gmail.com \
    --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 \
    --cc=s.trumtrar@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;
as well as URLs for NNTP newsgroup(s).