Re: [PATCH 1/5] [ARM] pxa: lx: add PCON i2c driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 18, 2009 at 04:29:00PM +0200, Jean Delvare wrote:
> 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.

Maybe you can suggest a better place for it?
--
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

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux