Re: [PATCH 0/8] Generic I2C and SPI register map library

From: Mark Brown
Date: Thu Jun 23 2011 - 06:44:32 EST


On Thu, Jun 23, 2011 at 09:54:25AM +0100, Jonathan Cameron wrote:
> On 06/23/11 02:25, Mark Brown wrote:

> > If you're only using SMBus then the I2C interface includes SMBus based
> > register support which should do what you want. With the regmap API it
> > ought to work as a device with 8 bit registers and 8 bit values.

> The kicker here is that quite a few hosts only support the smbus subset.
> How should that be handled here?

For 8x8 registers we *should* end up only using the SMBus subset so it
should just work.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/