On Sat, 18 Apr 2009 15:20:48 +0100, Russell King wrote: > The PCON device on the LX platform is the heart of the platform, > managing the power, providing battery information, booting, suspend/ > resume and keyboard services to the PXA CPU. > > Communication between the PXA and PCON is via a multi-master I2C bus, > where both the PCON and PXA behave like an 256 byte EEPROM, and each > reads and writes locations within that namespace. > > It has a nasty habbit of resetting the PXA CPU if it sees something > it doesn't like, so we have to be careful how we communicate with the > PCON. This happens (eg) if we hold the I2C bus for any "unreasonable" > length of time, or ignore the PCON's attempt to address us as a slave. > > Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx> > CC: Ben Dooks <ben-linux@xxxxxxxxx> > CC: <linux-i2c@xxxxxxxxxxxxxxx> > --- > arch/arm/mach-pxa/include/mach/lx-pcon.h | 117 ++++++++ > drivers/i2c/chips/Kconfig | 10 + > drivers/i2c/chips/Makefile | 1 + Nack. Really, people, please read the files you modify, it isn't that hard. -- Jean Delvare -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html