[RFC 1/2] ARM: OMAP2+: AM33XX: I2C Sleep/wake sequence support
Tony Lindgren
tony at atomide.com
Wed May 1 19:54:08 EDT 2013
* Russ Dill <Russ.Dill at ti.com> [130501 16:43]:
> On Wed, May 1, 2013 at 4:26 PM, Tony Lindgren <tony at atomide.com> wrote:
> >
> > Looks like you should make that into just a regular device driver that lives
> > under drivers/ somewhere?
>
> This code has to be copied to, and run from SRAM. What would that even
> look like? Additionally, there is also code under drivers/ that
> manages this piece of hardware, i2c-omap.c. The code in this patch
> differs in that it accesses no system memory, no stack, only knows how
> to write, and it runs without interrupts.
Well we should move to using the generic drivers/misc/sram.c, so
you should be able to load the code to SRAM using that. Then you
can probably register some callback function based on the compatible
flag with i2c-omap.c?
Regards,
Tony
More information about the linux-arm-kernel
mailing list