Re: [PATCH 08/10] i2c: support 10 bit and slave addresses in sysfs 'new_device'

2015-08-10 Thread Wolfram Sang
On Mon, Aug 10, 2015 at 03:17:03PM +0200, Geert Uytterhoeven wrote: > Hi Wolfram, > > On Sat, Aug 8, 2015 at 10:33 PM, Wolfram Sang wrote: > > diff --git a/Documentation/i2c/slave-interface > > b/Documentation/i2c/slave-interface > > index 2dee4e2d62df19..61ed05cd95317f 100644 > > --- a/Document

Re: [PATCH 08/10] i2c: support 10 bit and slave addresses in sysfs 'new_device'

2015-08-10 Thread Geert Uytterhoeven
Hi Wolfram, On Sat, Aug 8, 2015 at 10:33 PM, Wolfram Sang wrote: > diff --git a/Documentation/i2c/slave-interface > b/Documentation/i2c/slave-interface > index 2dee4e2d62df19..61ed05cd95317f 100644 > --- a/Documentation/i2c/slave-interface > +++ b/Documentation/i2c/slave-interface > @@ -31,10 +3

Re: unmet direct dependencies in -next

2015-08-10 Thread Michal Marek
On 2015-08-10 13:55, Wolfram Sang wrote: > >> The result of the given .config does not matter as much. The point of >> the warnings is that there are missing select statements in the Kconfig >> files. > > For the I2C part, I think they should rather depend on I2C_MUX. > Selecting I2C should be ra

Re: unmet direct dependencies in -next

2015-08-10 Thread Wolfram Sang
> The result of the given .config does not matter as much. The point of > the warnings is that there are missing select statements in the Kconfig > files. For the I2C part, I think they should rather depend on I2C_MUX. Selecting I2C should be rare, like when you really need that PMIC to boot.

Re: unmet direct dependencies in -next

2015-08-10 Thread Richard Weinberger
Am 10.08.2015 um 13:12 schrieb Michal Marek: > On 2015-08-10 11:14, Richard Weinberger wrote: >> Am 10.08.2015 um 11:10 schrieb Lee Jones: >>> On Sun, 09 Aug 2015, Richard Weinberger wrote: >>> Hi! -next faces some build issues on UML because of unmet direct dependencies. Mostly

Re: unmet direct dependencies in -next

2015-08-10 Thread Michal Marek
On 2015-08-10 11:14, Richard Weinberger wrote: > Am 10.08.2015 um 11:10 schrieb Lee Jones: >> On Sun, 09 Aug 2015, Richard Weinberger wrote: >> >>> Hi! >>> >>> -next faces some build issues on UML because of unmet direct dependencies. >>> Mostly due to HAS_IOMEM and I2C. >>> >>> warning: (MEDIA_SUB

Re: [PATCH] i2c: core: add support for read commands longer than byte

2015-08-10 Thread Wolfram Sang
On Mon, Aug 10, 2015 at 12:06:07PM +0200, Crt Mori wrote: > On 10 August 2015 at 11:13, Wolfram Sang wrote: > > > > > > > This debate is what I wanted to have. The new Melexis sensor will be > > > using it and since I think some others might also be using it in > > > future I would rather put it t

Re: [PATCH] i2c: core: add support for read commands longer than byte

2015-08-10 Thread Crt Mori
On 10 August 2015 at 11:13, Wolfram Sang wrote: > > > > This debate is what I wanted to have. The new Melexis sensor will be > > using it and since I think some others might also be using it in > > future I would rather put it to i2c. It is more i2c command than > > sensor specific so I think it f

Re: unmet direct dependencies in -next

2015-08-10 Thread Richard Weinberger
Am 10.08.2015 um 11:10 schrieb Lee Jones: > On Sun, 09 Aug 2015, Richard Weinberger wrote: > >> Hi! >> >> -next faces some build issues on UML because of unmet direct dependencies. >> Mostly due to HAS_IOMEM and I2C. >> >> warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) >>

Re: [PATCH] i2c: core: add support for read commands longer than byte

2015-08-10 Thread Wolfram Sang
> This debate is what I wanted to have. The new Melexis sensor will be > using it and since I think some others might also be using it in > future I would rather put it to i2c. It is more i2c command than > sensor specific so I think it fits into i2c. There is no thing as 'I2C command'. There are

Re: unmet direct dependencies in -next

2015-08-10 Thread Lee Jones
On Sun, 09 Aug 2015, Richard Weinberger wrote: > Hi! > > -next faces some build issues on UML because of unmet direct dependencies. > Mostly due to HAS_IOMEM and I2C. > > warning: (MEDIA_SUBDRV_AUTOSELECT && VIDEO_CX231XX && INV_MPU6050_IIO) > selects I2C_MUX which has unmet direct dependencies

Re: [PATCH] i2c: core: add support for read commands longer than byte

2015-08-10 Thread Crt Mori
On 10 August 2015 at 09:26, Crt Mori wrote: > On 9 August 2015 at 09:40, Wolfram Sang wrote: >> On Fri, Jul 24, 2015 at 03:20:42PM +0200, Crt Mori wrote: >>> If you want to send more than 1 byte as command to slave you need to go away >>> from the smbus (which has a 8 bit command defined in speci

Re: [PATCH] i2c: core: add support for read commands longer than byte

2015-08-10 Thread Crt Mori
On 9 August 2015 at 09:40, Wolfram Sang wrote: > On Fri, Jul 24, 2015 at 03:20:42PM +0200, Crt Mori wrote: >> If you want to send more than 1 byte as command to slave you need to go away >> from the smbus (which has a 8 bit command defined in specification). i2c has >> no such limitation in specif