Messages in this thread | | | Date | Thu, 14 Jan 2010 07:39:47 -0700 | From | Dale Farnsworth <> | Subject | Re: [PATCH] rtc: rtc-max6900: SMBus support. |
| |
On Thu, Jan 14, 2010 at 08:32:35PM +0900, Paul Mundt wrote: > The current rtc-max6900 driver only supports getting and setting the time > through bursting, which requires a controller capable of such. As > bursting is merely an optimization, we can also opt for the non-burst > fallback path that pokes at the date/time registers individually. > > By opting for the fallback solution, it's possible to fully support the > RTC on controllers that only implement I2C_FUNC_SMBUS_BYTE_DATA instead > of requiring master transfers via I2C_FUNC_I2C. > > This was tested with an I2C_FUNC_SMBUS_BYTE_DATA controller with a MAX6909 > attached. Currently only a subset of the MAX6909 functionality is supported, > patches to extend the current driver to be forthcoming. > > There are no functional changes for I2C_FUNC_I2C controllers. > > Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Dale Farnsworth <dale@farnsworth.org>
| |