linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: b-cousson@ti.com (Cousson, Benoit)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 04/10] rtc: rtc-twl: Add DT support for RTC inside twl4030/twl6030
Date: Mon, 19 Dec 2011 17:52:26 +0100	[thread overview]
Message-ID: <4EEF6BCA.908@ti.com> (raw)
In-Reply-To: <1323439361-1647-5-git-send-email-b-cousson@ti.com>

Hi Alessandro,

Gentle ping on this patch.

Thanks,
Benoit

On 12/9/2011 3:02 PM, Benoit Cousson wrote:
> Add the DT support for the TI rtc-twl present in the twl4030
> and twl6030 devices.
>
> Signed-off-by: Benoit Cousson<b-cousson@ti.com>
> Cc: Alessandro Zummo<a.zummo@towertech.it>
> ---
>   Documentation/devicetree/bindings/rtc/twl-rtc.txt |   12 ++++++++++++
>   drivers/rtc/rtc-twl.c                             |   10 ++++++++--
>   2 files changed, 20 insertions(+), 2 deletions(-)
>   create mode 100644 Documentation/devicetree/bindings/rtc/twl-rtc.txt
>
> diff --git a/Documentation/devicetree/bindings/rtc/twl-rtc.txt b/Documentation/devicetree/bindings/rtc/twl-rtc.txt
> new file mode 100644
> index 0000000..596e0c9
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/rtc/twl-rtc.txt
> @@ -0,0 +1,12 @@
> +* TI twl RTC
> +
> +The TWL family (twl4030/6030) contains a RTC.
> +
> +Required properties:
> +- compatible : Should be twl4030-rtc
> +
> +Examples:
> +
> +rtc at 0 {
> +    compatible = "ti,twl4030-rtc";
> +};
> diff --git a/drivers/rtc/rtc-twl.c b/drivers/rtc/rtc-twl.c
> index 20687d5..d43b4f6 100644
> --- a/drivers/rtc/rtc-twl.c
> +++ b/drivers/rtc/rtc-twl.c
> @@ -550,6 +550,11 @@ static int twl_rtc_resume(struct platform_device *pdev)
>   #define twl_rtc_resume  NULL
>   #endif
>
> +static const struct of_device_id twl_rtc_of_match[] = {
> +	{.compatible = "ti,twl4030-rtc", },
> +	{ },
> +};
> +MODULE_DEVICE_TABLE(of, twl_rtc_of_match);
>   MODULE_ALIAS("platform:twl_rtc");
>
>   static struct platform_driver twl4030rtc_driver = {
> @@ -559,8 +564,9 @@ static struct platform_driver twl4030rtc_driver = {
>   	.suspend	= twl_rtc_suspend,
>   	.resume		= twl_rtc_resume,
>   	.driver		= {
> -		.owner	= THIS_MODULE,
> -		.name	= "twl_rtc",
> +		.owner		= THIS_MODULE,
> +		.name		= "twl_rtc",
> +		.of_match_table = twl_rtc_of_match,
>   	},
>   };
>

  reply	other threads:[~2011-12-19 16:52 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-09 14:02 [PATCH v2 00/10] OMAP4: Add DT support for i2c and twl6030 Benoit Cousson
2011-12-09 14:02 ` [PATCH v2 01/10] ARM: OMAP2+: pm: Do not init statically the SR and voltage layer with DT Benoit Cousson
2012-01-04 18:04   ` Grant Likely
2011-12-09 14:02 ` [PATCH v2 02/10] i2c: OMAP: Add DT support for i2c controller Benoit Cousson
2011-12-14  1:06   ` Kevin Hilman
2012-01-04 13:36     ` Cousson, Benoit
2012-01-04 18:08       ` Grant Likely
2012-01-04 21:28       ` Kevin Hilman
2012-01-04 21:56         ` Grant Likely
2011-12-14 16:58   ` Rob Herring
2011-12-15 15:05     ` Cousson, Benoit
2011-12-15 15:48       ` Rob Herring
2011-12-15 16:09         ` Cousson, Benoit
2011-12-22  8:22   ` Shubhrajyoti
2011-12-09 14:02 ` [PATCH v2 03/10] mfd: twl-core: Add initial DT support for twl4030/twl6030 Benoit Cousson
2011-12-19 12:03   ` Samuel Ortiz
2011-12-19 13:53     ` Cousson, Benoit
2012-01-04 18:12   ` Grant Likely
2012-01-05 10:21     ` Cousson, Benoit
2011-12-09 14:02 ` [PATCH v2 04/10] rtc: rtc-twl: Add DT support for RTC inside twl4030/twl6030 Benoit Cousson
2011-12-19 16:52   ` Cousson, Benoit [this message]
2011-12-26  1:18     ` Alessandro Zummo
2011-12-20 15:13   ` Cousson, Benoit
2012-01-04 18:13   ` Grant Likely
2011-12-09 14:02 ` [PATCH v2 05/10] arm/dts: OMAP4: Add i2c controller nodes Benoit Cousson
2012-01-04 18:13   ` Grant Likely
2011-12-09 14:02 ` [PATCH v2 06/10] arm/dts: OMAP3: " Benoit Cousson
2012-01-04 18:14   ` Grant Likely
2011-12-09 14:02 ` [PATCH v2 07/10] arm/dts: omap4-panda: Add twl6030 and i2c EEPROM Benoit Cousson
2011-12-14  5:06   ` Kevin Hilman
2011-12-14 16:50     ` Cousson, Benoit
2011-12-15  0:31       ` Kevin Hilman
2012-01-04 18:14   ` Grant Likely
2011-12-09 14:02 ` [PATCH v2 08/10] arm/dts: omap4-sdp: Add twl6030, i2c3 and i2c4 devices Benoit Cousson
2012-01-04 18:14   ` Grant Likely
2011-12-09 14:02 ` [PATCH v2 09/10] arm/dts: omap3-beagle: Add twl4030 and i2c EEPROM Benoit Cousson
2012-01-04 18:15   ` Grant Likely
2012-01-09 23:24   ` Tabi Timur-B04825
2012-01-10 10:09     ` Cousson, Benoit
2011-12-09 14:02 ` [PATCH v2 10/10] ARM: OMAP2+: board-generic: Remove i2c static init Benoit Cousson
2012-01-04 18:15   ` Grant Likely

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=4EEF6BCA.908@ti.com \
    --to=b-cousson@ti.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 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).