linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman.id.au>
To: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
Cc: a.zummo@towertech.it, tglx@linutronix.de,
	linuxppc-dev@lists.ozlabs.org, rtc-linux@googlegroups.com
Subject: Re: [PATCH] rtc/tpo: Driver to support rtc and wakeup on PowerNV platform
Date: Mon, 15 Sep 2014 13:28:18 +1000	[thread overview]
Message-ID: <1410751698.24738.13.camel@concordia> (raw)
In-Reply-To: <20140910053232.11176.35140.stgit@localhost.localdomain>

On Wed, 2014-09-10 at 11:08 +0530, Neelesh Gupta wrote:
> The patch implements the OPAL rtc driver that binds with the rtc
> driver subsystem. The driver uses the platform device infrastructure
> to probe the rtc device and register it to rtc class framework. The
> 'wakeup' is supported depending upon the property 'has-tpo' present
> in the OF node. It provides a way to load the generic rtc driver in
> in the absence of an OPAL driver.
> 
> The patch also moves the existing OPAL rtc get/set time interfaces to the
> new driver and exposes the necessary OPAL calls using EXPORT_SYMBOL_GPL.
> 
> Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
> ---
> 
> Note:
> This patch depends upon the below patch posted on 'linuxppc-dev@lists.ozlabs.org'
> [PATCH 1/4] powerpc/powernv: Add OPAL check token call
> Signed-off-by: Michael Neuling <mikey@neuling.org>
> 
>  arch/powerpc/include/asm/opal.h                |    7 -
>  arch/powerpc/kernel/time.c                     |    1 
>  arch/powerpc/platforms/powernv/opal-async.c    |    3 
>  arch/powerpc/platforms/powernv/opal-rtc.c      |   63 ++----
>  arch/powerpc/platforms/powernv/opal-wrappers.S |    2 
>  arch/powerpc/platforms/powernv/opal.c          |    6 +
>  arch/powerpc/platforms/powernv/setup.c         |    2 
>  drivers/rtc/Kconfig                            |   11 +
>  drivers/rtc/Makefile                           |    1 
>  drivers/rtc/rtc-opal.c                         |  257 ++++++++++++++++++++++++
>  10 files changed, 305 insertions(+), 48 deletions(-)
>  create mode 100644 drivers/rtc/rtc-opal.c


Alessandro, given this depends on other things in the powerpc tree do you mind
if we take this through the powerpc tree with your Ack?

Or I can create a topic branch with the required powerpc changes.

cheers

      reply	other threads:[~2014-09-15  3:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-10  5:38 [PATCH] rtc/tpo: Driver to support rtc and wakeup on PowerNV platform Neelesh Gupta
2014-09-15  3:28 ` Michael Ellerman [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=1410751698.24738.13.camel@concordia \
    --to=mpe@ellerman.id.au \
    --cc=a.zummo@towertech.it \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=neelegup@linux.vnet.ibm.com \
    --cc=rtc-linux@googlegroups.com \
    --cc=tglx@linutronix.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).