Re: [PATCH 2/2] i2c-stub: Add support for banked register ranges

2014-07-17 Thread Wolfram Sang
On Thu, Jul 10, 2014 at 12:56:59PM +0200, Jean Delvare wrote: > Some chips implement banked register ranges. This allows implementing > more registers than the limited 8-bit address space originally allows. > In order to access a register on these chips, you must first select > the proper bank. Add

Re: [PATCH 2/2] i2c-stub: Add support for banked register ranges

2014-07-10 Thread Guenter Roeck
On 07/10/2014 02:30 PM, Jean Delvare wrote: On Thu, 10 Jul 2014 11:40:36 -0700, Guenter Roeck wrote: On Thu, Jul 10, 2014 at 12:56:59PM +0200, Jean Delvare wrote: Some chips implement banked register ranges. This allows implementing more registers than the limited 8-bit address space originally

Re: [PATCH 2/2] i2c-stub: Add support for banked register ranges

2014-07-10 Thread Guenter Roeck
On Thu, Jul 10, 2014 at 11:30:40PM +0200, Jean Delvare wrote: > On Thu, 10 Jul 2014 11:40:36 -0700, Guenter Roeck wrote: > > On Thu, Jul 10, 2014 at 12:56:59PM +0200, Jean Delvare wrote: > > > Some chips implement banked register ranges. This allows implementing > > > more registers than the limite

Re: [PATCH 2/2] i2c-stub: Add support for banked register ranges

2014-07-10 Thread Jean Delvare
On Thu, 10 Jul 2014 11:40:36 -0700, Guenter Roeck wrote: > On Thu, Jul 10, 2014 at 12:56:59PM +0200, Jean Delvare wrote: > > Some chips implement banked register ranges. This allows implementing > > more registers than the limited 8-bit address space originally allows. > > In order to access a regi

Re: [PATCH 2/2] i2c-stub: Add support for banked register ranges

2014-07-10 Thread Guenter Roeck
On Thu, Jul 10, 2014 at 12:56:59PM +0200, Jean Delvare wrote: > Some chips implement banked register ranges. This allows implementing > more registers than the limited 8-bit address space originally allows. > In order to access a register on these chips, you must first select > the proper bank. Add

[PATCH 2/2] i2c-stub: Add support for banked register ranges

2014-07-10 Thread Jean Delvare
Some chips implement banked register ranges. This allows implementing more registers than the limited 8-bit address space originally allows. In order to access a register on these chips, you must first select the proper bank. Add support for this mechanism to the i2c-stub driver so that such chips