Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-06-04 Thread Andreas Werner
On Tue, May 27, 2014 at 04:05:47PM +0100, Lee Jones wrote: > > The MEN 14F021P00 Board Management Controller provides an > > I2C interface to the host to access the feature implemented in the BMC. > > The BMC is a PIC Microntroller assembled on CPCI Card from MEN > > Mikroelektronik > > and on a

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-06-04 Thread Andreas Werner
On Tue, May 27, 2014 at 04:05:47PM +0100, Lee Jones wrote: The MEN 14F021P00 Board Management Controller provides an I2C interface to the host to access the feature implemented in the BMC. The BMC is a PIC Microntroller assembled on CPCI Card from MEN Mikroelektronik and on a few

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-06-02 Thread Andreas Werner
On Wed, May 28, 2014 at 06:52:56AM -0700, Guenter Roeck wrote: > On 05/28/2014 06:29 AM, Guenter Roeck wrote: > >On 05/28/2014 04:51 AM, Andreas Werner wrote: > >>aOn Wed, May 28, 2014 at 09:24:05AM +0100, Lee Jones wrote: > >>The MEN 14F021P00 Board Management Controller provides an >

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-06-02 Thread Andreas Werner
On Wed, May 28, 2014 at 06:52:56AM -0700, Guenter Roeck wrote: On 05/28/2014 06:29 AM, Guenter Roeck wrote: On 05/28/2014 04:51 AM, Andreas Werner wrote: aOn Wed, May 28, 2014 at 09:24:05AM +0100, Lee Jones wrote: The MEN 14F021P00 Board Management Controller provides an I2C interface to the

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-28 Thread Guenter Roeck
On 05/28/2014 06:29 AM, Guenter Roeck wrote: On 05/28/2014 04:51 AM, Andreas Werner wrote: aOn Wed, May 28, 2014 at 09:24:05AM +0100, Lee Jones wrote: The MEN 14F021P00 Board Management Controller provides an I2C interface to the host to access the feature implemented in the BMC. The BMC is a

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-28 Thread Guenter Roeck
On 05/28/2014 04:51 AM, Andreas Werner wrote: aOn Wed, May 28, 2014 at 09:24:05AM +0100, Lee Jones wrote: The MEN 14F021P00 Board Management Controller provides an I2C interface to the host to access the feature implemented in the BMC. The BMC is a PIC Microntroller assembled on CPCI Card from

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-28 Thread Guenter Roeck
On 05/28/2014 12:02 AM, Johannes Thumshirn wrote: [ ... ] + +static int menf21bmc_write_byte(struct i2c_client *client, u8 val) +{ + int ret; + struct menf21bmc *data = i2c_get_clientdata(client); + + mutex_lock(>lock); + ret = i2c_smbus_write_byte(client, val); +

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-28 Thread Andreas Werner
aOn Wed, May 28, 2014 at 09:24:05AM +0100, Lee Jones wrote: > > > > The MEN 14F021P00 Board Management Controller provides an > > > > I2C interface to the host to access the feature implemented in the BMC. > > > > The BMC is a PIC Microntroller assembled on CPCI Card from MEN > > > >

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-28 Thread Lee Jones
> > > The MEN 14F021P00 Board Management Controller provides an > > > I2C interface to the host to access the feature implemented in the BMC. > > > The BMC is a PIC Microntroller assembled on CPCI Card from MEN > > > Mikroelektronik > > > and on a few Box/Display Computer. > > > > > > Added MFD

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-28 Thread Johannes Thumshirn
On Tue, May 27, 2014 at 04:05:47PM +0100, Lee Jones wrote: > > The MEN 14F021P00 Board Management Controller provides an > > I2C interface to the host to access the feature implemented in the BMC. > > The BMC is a PIC Microntroller assembled on CPCI Card from MEN > > Mikroelektronik > > and on a

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-28 Thread Johannes Thumshirn
On Tue, May 27, 2014 at 04:05:47PM +0100, Lee Jones wrote: The MEN 14F021P00 Board Management Controller provides an I2C interface to the host to access the feature implemented in the BMC. The BMC is a PIC Microntroller assembled on CPCI Card from MEN Mikroelektronik and on a few

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-28 Thread Lee Jones
The MEN 14F021P00 Board Management Controller provides an I2C interface to the host to access the feature implemented in the BMC. The BMC is a PIC Microntroller assembled on CPCI Card from MEN Mikroelektronik and on a few Box/Display Computer. Added MFD Core driver,

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-28 Thread Andreas Werner
aOn Wed, May 28, 2014 at 09:24:05AM +0100, Lee Jones wrote: The MEN 14F021P00 Board Management Controller provides an I2C interface to the host to access the feature implemented in the BMC. The BMC is a PIC Microntroller assembled on CPCI Card from MEN Mikroelektronik and on a

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-28 Thread Guenter Roeck
On 05/28/2014 12:02 AM, Johannes Thumshirn wrote: [ ... ] + +static int menf21bmc_write_byte(struct i2c_client *client, u8 val) +{ + int ret; + struct menf21bmc *data = i2c_get_clientdata(client); + + mutex_lock(data-lock); + ret = i2c_smbus_write_byte(client, val); +

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-28 Thread Guenter Roeck
On 05/28/2014 04:51 AM, Andreas Werner wrote: aOn Wed, May 28, 2014 at 09:24:05AM +0100, Lee Jones wrote: The MEN 14F021P00 Board Management Controller provides an I2C interface to the host to access the feature implemented in the BMC. The BMC is a PIC Microntroller assembled on CPCI Card from

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-28 Thread Guenter Roeck
On 05/28/2014 06:29 AM, Guenter Roeck wrote: On 05/28/2014 04:51 AM, Andreas Werner wrote: aOn Wed, May 28, 2014 at 09:24:05AM +0100, Lee Jones wrote: The MEN 14F021P00 Board Management Controller provides an I2C interface to the host to access the feature implemented in the BMC. The BMC is a

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-27 Thread Lee Jones
> The MEN 14F021P00 Board Management Controller provides an > I2C interface to the host to access the feature implemented in the BMC. > The BMC is a PIC Microntroller assembled on CPCI Card from MEN Mikroelektronik > and on a few Box/Display Computer. > > Added MFD Core driver, supporting the I2C

[PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-27 Thread Andreas Werner
The MEN 14F021P00 Board Management Controller provides an I2C interface to the host to access the feature implemented in the BMC. The BMC is a PIC Microntroller assembled on CPCI Card from MEN Mikroelektronik and on a few Box/Display Computer. Added MFD Core driver, supporting the I2C

[PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-27 Thread Andreas Werner
The MEN 14F021P00 Board Management Controller provides an I2C interface to the host to access the feature implemented in the BMC. The BMC is a PIC Microntroller assembled on CPCI Card from MEN Mikroelektronik and on a few Box/Display Computer. Added MFD Core driver, supporting the I2C

Re: [PATCH v2 1/3] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-05-27 Thread Lee Jones
The MEN 14F021P00 Board Management Controller provides an I2C interface to the host to access the feature implemented in the BMC. The BMC is a PIC Microntroller assembled on CPCI Card from MEN Mikroelektronik and on a few Box/Display Computer. Added MFD Core driver, supporting the I2C