* [PATCH] ARM: mx31pdk: Add MC13783 RTC support
@ 2011-10-24 19:02 Fabio Estevam
2011-10-25 7:20 ` Uwe Kleine-König
0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2011-10-24 19:02 UTC (permalink / raw)
To: linux-arm-kernel
MX31PDK board has a MC13783 PMIC, which provides RTC functionality.
Add support for it.
While at it, also use the generic MC13XXX flags.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
arch/arm/mach-imx/mach-mx31_3ds.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-imx/mach-mx31_3ds.c b/arch/arm/mach-imx/mach-mx31_3ds.c
index c20be75..e82778c 100644
--- a/arch/arm/mach-imx/mach-mx31_3ds.c
+++ b/arch/arm/mach-imx/mach-mx31_3ds.c
@@ -494,7 +494,8 @@ static struct mc13xxx_platform_data mc13783_pdata = {
.regulators = mx31_3ds_regulators,
.num_regulators = ARRAY_SIZE(mx31_3ds_regulators),
},
- .flags = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN,
+ .flags = MC13XXX_USE_REGULATOR | MC13XXX_USE_TOUCHSCREEN |
+ MC13XXX_USE_RTC,
};
/* SPI */
--
1.6.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: mx31pdk: Add MC13783 RTC support
2011-10-24 19:02 [PATCH] ARM: mx31pdk: Add MC13783 RTC support Fabio Estevam
@ 2011-10-25 7:20 ` Uwe Kleine-König
2011-10-26 19:10 ` Fabio Estevam
0 siblings, 1 reply; 3+ messages in thread
From: Uwe Kleine-König @ 2011-10-25 7:20 UTC (permalink / raw)
To: linux-arm-kernel
Hello Fabio,
On Mon, Oct 24, 2011 at 05:02:09PM -0200, Fabio Estevam wrote:
> diff --git a/arch/arm/mach-imx/mach-mx31_3ds.c b/arch/arm/mach-imx/mach-mx31_3ds.c
> index c20be75..e82778c 100644
> --- a/arch/arm/mach-imx/mach-mx31_3ds.c
> +++ b/arch/arm/mach-imx/mach-mx31_3ds.c
> @@ -494,7 +494,8 @@ static struct mc13xxx_platform_data mc13783_pdata = {
> .regulators = mx31_3ds_regulators,
> .num_regulators = ARRAY_SIZE(mx31_3ds_regulators),
> },
> - .flags = MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN,
> + .flags = MC13XXX_USE_REGULATOR | MC13XXX_USE_TOUCHSCREEN |
> + MC13XXX_USE_RTC,
ok in principle but (I think mfd in) next touches this already:
$ git show next/master:arch/arm/mach-imx/mach-mx31_3ds.c | grep USE_TOUCH
.flags = MC13XXX_USE_TOUCHSCREEN,
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: mx31pdk: Add MC13783 RTC support
2011-10-25 7:20 ` Uwe Kleine-König
@ 2011-10-26 19:10 ` Fabio Estevam
0 siblings, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2011-10-26 19:10 UTC (permalink / raw)
To: linux-arm-kernel
Hi Uwe,
2011/10/25 Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>:
>> - ? ? .flags ?= MC13783_USE_REGULATOR | MC13783_USE_TOUCHSCREEN,
>> + ? ? .flags ?= MC13XXX_USE_REGULATOR | MC13XXX_USE_TOUCHSCREEN |
>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? MC13XXX_USE_RTC,
> ok in principle but (I think mfd in) next touches this already:
>
> ? ? ? ?$ git show next/master:arch/arm/mach-imx/mach-mx31_3ds.c | grep USE_TOUCH
> ? ? ? ? ? ? ? ?.flags ?= MC13XXX_USE_TOUCHSCREEN,
Ok, I will wait for this change to reach Sascha's tree first and then
I will repost this patch.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-26 19:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-24 19:02 [PATCH] ARM: mx31pdk: Add MC13783 RTC support Fabio Estevam
2011-10-25 7:20 ` Uwe Kleine-König
2011-10-26 19:10 ` Fabio Estevam
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).