Re: [PATCH 2/2] i2c: MPC8349E-mITX Power Management and GPIO expander driver

2008-10-10 Thread Kumar Gala
On Sep 23, 2008, at 9:13 AM, Anton Vorontsov wrote: On MPC8349E-mITX, MPC8315E-RDB and MPC837x-RDB boards there is a Freescale MC9S08QG8 (MCU) chip with the custom firmware pre-programmed. The chip is used to power-off the board by the software, and to control some GPIO pins. Signed-off-by: An

Re: [PATCH 2/2] i2c: MPC8349E-mITX Power Management and GPIO expander driver

2008-10-10 Thread Anton Vorontsov
On Fri, Oct 10, 2008 at 09:58:44AM -0500, Kumar Gala wrote: [...] >>> is the plan to connect ppc_md.machine_shutdown() with this? >> >> You mean poweroff? It's already connected. >> >> + /* XXX: this is potentially racy, but there is no lock for >> ppc_md */ >> + if (!ppc_md.power_off

Re: [PATCH 2/2] i2c: MPC8349E-mITX Power Management and GPIO expander driver

2008-10-10 Thread Kumar Gala
On Oct 10, 2008, at 9:45 AM, Anton Vorontsov wrote: On Fri, Oct 10, 2008 at 09:22:02AM -0500, Kumar Gala wrote: On Sep 23, 2008, at 9:13 AM, Anton Vorontsov wrote: On MPC8349E-mITX, MPC8315E-RDB and MPC837x-RDB boards there is a Freescale MC9S08QG8 (MCU) chip with the custom firmware pre-pr

Re: [PATCH 2/2] i2c: MPC8349E-mITX Power Management and GPIO expander driver

2008-10-10 Thread Anton Vorontsov
On Fri, Oct 10, 2008 at 09:22:02AM -0500, Kumar Gala wrote: > > On Sep 23, 2008, at 9:13 AM, Anton Vorontsov wrote: > >> On MPC8349E-mITX, MPC8315E-RDB and MPC837x-RDB boards there is a >> Freescale MC9S08QG8 (MCU) chip with the custom firmware >> pre-programmed. The chip is used to power-off the b

Re: [PATCH 2/2] i2c: MPC8349E-mITX Power Management and GPIO expander driver

2008-10-10 Thread Kumar Gala
On Sep 23, 2008, at 9:13 AM, Anton Vorontsov wrote: On MPC8349E-mITX, MPC8315E-RDB and MPC837x-RDB boards there is a Freescale MC9S08QG8 (MCU) chip with the custom firmware pre-programmed. The chip is used to power-off the board by the software, and to control some GPIO pins. Signed-off-by: An

[PATCH 2/2] i2c: MPC8349E-mITX Power Management and GPIO expander driver

2008-09-23 Thread Anton Vorontsov
On MPC8349E-mITX, MPC8315E-RDB and MPC837x-RDB boards there is a Freescale MC9S08QG8 (MCU) chip with the custom firmware pre-programmed. The chip is used to power-off the board by the software, and to control some GPIO pins. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/i2c/chips

Re: [i2c] [PATCH 2/2] i2c: MPC8349E-mITX Power Management and GPIO expander driver

2008-09-23 Thread Mark Brown
On Mon, Sep 22, 2008 at 11:45:40PM +0100, Ben Dooks wrote: > I've also a driver for a similar PMU fitted to a number > of our boards that provides basic gpio (wakeup sources) and some > minimalist power management (so isn't really fit for regulator > framwork) and isn't really a gpio chip (so driv

Re: [i2c] [PATCH 2/2] i2c: MPC8349E-mITX Power Management and GPIO expander driver

2008-09-22 Thread Ben Dooks
On Fri, Sep 19, 2008 at 10:03:54PM +0400, Anton Vorontsov wrote: > On MPC8349E-mITX, MPC8315E-RDB and MPC837x-RDB boards there is a > Freescale MC9S08QG8 (MCU) chip with the custom firmware > pre-programmed. The chip is used to power-off the board by the > software, and to control some GPIO pins.

[PATCH 2/2] i2c: MPC8349E-mITX Power Management and GPIO expander driver

2008-09-19 Thread Anton Vorontsov
On MPC8349E-mITX, MPC8315E-RDB and MPC837x-RDB boards there is a Freescale MC9S08QG8 (MCU) chip with the custom firmware pre-programmed. The chip is used to power-off the board by the software, and to control some GPIO pins. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/i2c/chips