[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110111112207.GD6616@sortiz-mobl>
Date: Tue, 11 Jan 2011 12:22:08 +0100
From: Samuel Ortiz <sameo@...ux.intel.com>
To: MyungJoo Ham <myungjoo.ham@...sung.com>
Cc: linux-kernel@...r.kernel.org, Liam Girdwood <lrg@...mlogic.co.uk>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Alessandro Zummo <a.zummo@...ertech.it>,
Kyungmin Park <kyungmin.park@...sung.com>,
Joonyoung Shim <jy0922.shim@...sung.com>,
Lukasz Majewski <l.majewski@...sung.com>,
myungjoo.ham@...il.com
Subject: Re: [PATCH v4 1/3] MFD MAX8998/LP3974: Support LP3974 RTC
Hi MyungJoo,
On Tue, Jan 04, 2011 at 02:17:39PM +0900, MyungJoo Ham wrote:
> The first releases of LP3974 have a large delay in RTC registers,
> which requires 2 seconds of delay after writing to a rtc register
> (recommended by National Semiconductor's engineers)
> before reading it.
>
> If "rtc_delay" field of the platform data is true, the rtc driver
> assumes that such delays are required. Although we have not seen
> LP3974s without requiring such delays, we assume that such LP3974s
> will be released soon (or they have done so already) and they are
> supported by "lp3974" without setting "rtc_delay" at the platform
> data.
>
> This patch adds delays with msleep when writing values to RTC registers
> if the platform data has rtc_delay set.
Patch applied, many thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists