From: varkabhadram@gmail.com (Varka Bhadram)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 1/6] rtc: sun6i: Add sun6i RTC driver
Date: Wed, 30 Jul 2014 16:07:14 +0530 [thread overview]
Message-ID: <53D8CADA.1010607@gmail.com> (raw)
In-Reply-To: <CAGb2v641zgGuV7NZSXprNgMCKCzejCT6UZhBSw6SUyrL5Ar4LA@mail.gmail.com>
On 07/30/2014 03:03 PM, Chen-Yu Tsai wrote:
> Hi,
>
> On Wed, Jul 30, 2014 at 4:57 PM, Maxime Ripard
> <maxime.ripard@free-electrons.com> wrote:
>> Hi Chen-Yu,
>>
>> On Mon, Jul 28, 2014 at 04:20:56PM +0800, Chen-Yu Tsai wrote:
>>> This patch introduces the driver for the RTC in the Allwinner A31 and
>>> A23 SoCs.
>>>
>>> Unlike the RTC found in A10/A20 SoCs, which was part of the timer, the
>>> RTC in A31/A23 are a separate hardware block, which also contain a few
>>> controls for the RTC block hardware (a regulator and RTC block GPIO pin
>>> latches), while also having separate interrupts for the alarms.
>>>
>>> The hardware is different enough to make a different driver for it.
>>>
>>> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
>>> ---
>>> .../devicetree/bindings/rtc/sun6i-rtc.txt | 17 +
>>> drivers/rtc/Kconfig | 7 +
>>> drivers/rtc/Makefile | 1 +
>>> drivers/rtc/rtc-sun6i.c | 447 +++++++++++++++++++++
>>> 4 files changed, 472 insertions(+)
>>> create mode 100644 Documentation/devicetree/bindings/rtc/sun6i-rtc.txt
>>> create mode 100644 drivers/rtc/rtc-sun6i.c
>>>
>>> diff --git a/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt
>>> new file mode 100644
>>> index 0000000..b7fb7a8
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt
>>> @@ -0,0 +1,17 @@
>>> +* sun6i Real Time Clock
>>> +
>>> +RTC controller for the Allwinner A31
>>> +
>>> +Required properties:
>>> +- compatible : Should be "allwinner,sun6i-a31-rtc"
>>> +- reg : physical base address of the controller and length of
>>> + memory mapped region.
>>> +- interrupts : IRQ line for the RTC alarm 0.
>> Even if we're using only one interrupt in the code, the hardware has
>> two, so it would be great if you could ask for these two in the
>> bindings.
> Sure. It's just a minor change here and in the example:
>
> - interrupts : IRQ lines for the RTC alarm 0 and alarm 1, in that order.
>
> Varka, may I keep your Reviewed-by with the changes?
Reviewed-by: Varka Bhadram <varkabhadram@gmail.com>
--
Regards,
Varka Bhadram.
WARNING: multiple messages have this Message-ID (diff)
From: Varka Bhadram <varkabhadram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>,
Maxime Ripard
<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Cc: Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
Alessandro Zummo
<a.zummo-BfzFCNDTiLLj+vYz1yj4TQ@public.gmane.org>,
Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
linux-arm-kernel
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
devicetree <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
linux-sunxi <linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: [PATCH v4 1/6] rtc: sun6i: Add sun6i RTC driver
Date: Wed, 30 Jul 2014 16:07:14 +0530 [thread overview]
Message-ID: <53D8CADA.1010607@gmail.com> (raw)
In-Reply-To: <CAGb2v641zgGuV7NZSXprNgMCKCzejCT6UZhBSw6SUyrL5Ar4LA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 07/30/2014 03:03 PM, Chen-Yu Tsai wrote:
> Hi,
>
> On Wed, Jul 30, 2014 at 4:57 PM, Maxime Ripard
> <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote:
>> Hi Chen-Yu,
>>
>> On Mon, Jul 28, 2014 at 04:20:56PM +0800, Chen-Yu Tsai wrote:
>>> This patch introduces the driver for the RTC in the Allwinner A31 and
>>> A23 SoCs.
>>>
>>> Unlike the RTC found in A10/A20 SoCs, which was part of the timer, the
>>> RTC in A31/A23 are a separate hardware block, which also contain a few
>>> controls for the RTC block hardware (a regulator and RTC block GPIO pin
>>> latches), while also having separate interrupts for the alarms.
>>>
>>> The hardware is different enough to make a different driver for it.
>>>
>>> Signed-off-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>
>>> ---
>>> .../devicetree/bindings/rtc/sun6i-rtc.txt | 17 +
>>> drivers/rtc/Kconfig | 7 +
>>> drivers/rtc/Makefile | 1 +
>>> drivers/rtc/rtc-sun6i.c | 447 +++++++++++++++++++++
>>> 4 files changed, 472 insertions(+)
>>> create mode 100644 Documentation/devicetree/bindings/rtc/sun6i-rtc.txt
>>> create mode 100644 drivers/rtc/rtc-sun6i.c
>>>
>>> diff --git a/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt
>>> new file mode 100644
>>> index 0000000..b7fb7a8
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/rtc/sun6i-rtc.txt
>>> @@ -0,0 +1,17 @@
>>> +* sun6i Real Time Clock
>>> +
>>> +RTC controller for the Allwinner A31
>>> +
>>> +Required properties:
>>> +- compatible : Should be "allwinner,sun6i-a31-rtc"
>>> +- reg : physical base address of the controller and length of
>>> + memory mapped region.
>>> +- interrupts : IRQ line for the RTC alarm 0.
>> Even if we're using only one interrupt in the code, the hardware has
>> two, so it would be great if you could ask for these two in the
>> bindings.
> Sure. It's just a minor change here and in the example:
>
> - interrupts : IRQ lines for the RTC alarm 0 and alarm 1, in that order.
>
> Varka, may I keep your Reviewed-by with the changes?
Reviewed-by: Varka Bhadram <varkabhadram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
--
Regards,
Varka Bhadram.
next prev parent reply other threads:[~2014-07-30 10:37 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-28 8:20 [PATCH v4 0/6] ARM: sunxi: RTC support for A31/A23 Chen-Yu Tsai
2014-07-28 8:20 ` Chen-Yu Tsai
2014-07-28 8:20 ` [PATCH v4 1/6] rtc: sun6i: Add sun6i RTC driver Chen-Yu Tsai
2014-07-28 8:20 ` Chen-Yu Tsai
2014-07-28 9:07 ` Varka Bhadram
2014-07-28 9:07 ` Varka Bhadram
2014-07-30 8:57 ` Maxime Ripard
2014-07-30 8:57 ` Maxime Ripard
2014-07-30 9:33 ` Chen-Yu Tsai
2014-07-30 9:33 ` Chen-Yu Tsai
2014-07-30 10:37 ` Varka Bhadram [this message]
2014-07-30 10:37 ` Varka Bhadram
2014-07-28 8:20 ` [PATCH v4 2/6] rtc: sunxi: Depend on platforms sun4i/sun7i that actually have the rtc Chen-Yu Tsai
2014-07-28 8:20 ` Chen-Yu Tsai
2014-07-28 8:20 ` [PATCH v4 3/6] ARM: dts: sun6i: add rtc device node Chen-Yu Tsai
2014-07-28 8:20 ` Chen-Yu Tsai
2014-07-30 8:47 ` Maxime Ripard
2014-07-30 8:47 ` Maxime Ripard
2014-07-28 8:20 ` [PATCH v4 4/6] ARM: dts: sun8i: " Chen-Yu Tsai
2014-07-28 8:20 ` Chen-Yu Tsai
2014-07-30 8:48 ` Maxime Ripard
2014-07-30 8:48 ` Maxime Ripard
2014-07-28 8:21 ` [PATCH v4 5/6] ARM: sunxi: Add A31 RTC driver to sunxi_defconfig Chen-Yu Tsai
2014-07-28 8:21 ` Chen-Yu Tsai
2014-07-28 8:21 ` [PATCH v4 6/6] ARM: sunxi: Add A31 RTC driver to multi_v7_defconfig Chen-Yu Tsai
2014-07-28 8:21 ` Chen-Yu Tsai
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=53D8CADA.1010607@gmail.com \
--to=varkabhadram@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.