Re: [PATCH v5 6/7] i2c: designware: enable SLAVE in platform module

2017-01-05 Thread Andy Shevchenko
On Thu, 2017-01-05 at 12:13 +, Luis Oliveira wrote: > On 28-Dec-16 18:10, Luis Oliveira wrote: > > On 28-Dec-16 17:10, Andy Shevchenko wrote: > > > On Wed, 2016-12-28 at 16:41 +, Luis Oliveira wrote: > > > > On 28-Dec-16 16:31, Andy Shevchenko wrote: > > > So, ACPI has a property to suppo

Re: [PATCH v5 6/7] i2c: designware: enable SLAVE in platform module

2017-01-05 Thread Luis Oliveira
On 28-Dec-16 18:10, Luis Oliveira wrote: > On 28-Dec-16 17:10, Andy Shevchenko wrote: >> On Wed, 2016-12-28 at 16:41 +, Luis Oliveira wrote: >>> On 28-Dec-16 16:31, Andy Shevchenko wrote: On Wed, 2016-12-28 at 15:53 +, Luis Oliveira wrote: > On 28-Dec-16 15:44, Andy Shevchenko wrot

Re: [PATCH v5 6/7] i2c: designware: enable SLAVE in platform module

2016-12-28 Thread Luis Oliveira
On 28-Dec-16 17:10, Andy Shevchenko wrote: > On Wed, 2016-12-28 at 16:41 +, Luis Oliveira wrote: >> On 28-Dec-16 16:31, Andy Shevchenko wrote: >>> On Wed, 2016-12-28 at 15:53 +, Luis Oliveira wrote: On 28-Dec-16 15:44, Andy Shevchenko wrote: > On Wed, 2016-12-28 at 14:43 +, Lui

Re: [PATCH v5 6/7] i2c: designware: enable SLAVE in platform module

2016-12-28 Thread Andy Shevchenko
On Wed, 2016-12-28 at 16:41 +, Luis Oliveira wrote: > On 28-Dec-16 16:31, Andy Shevchenko wrote: > > On Wed, 2016-12-28 at 15:53 +, Luis Oliveira wrote: > > > On 28-Dec-16 15:44, Andy Shevchenko wrote: > > > > On Wed, 2016-12-28 at 14:43 +, Luis Oliveira wrote: > > > > > - Slave mode se

Re: [PATCH v5 6/7] i2c: designware: enable SLAVE in platform module

2016-12-28 Thread Carlos Palminha
On 28-12-2016 16:41, Luis Oliveira wrote: > On 28-Dec-16 16:31, Andy Shevchenko wrote: >> On Wed, 2016-12-28 at 15:53 +, Luis Oliveira wrote: >>> On 28-Dec-16 15:44, Andy Shevchenko wrote: On Wed, 2016-12-28 at 14:43 +, Luis Oliveira wrote: > - Slave mode selected in platform mod

Re: [PATCH v5 6/7] i2c: designware: enable SLAVE in platform module

2016-12-28 Thread Luis Oliveira
On 28-Dec-16 16:31, Andy Shevchenko wrote: > On Wed, 2016-12-28 at 15:53 +, Luis Oliveira wrote: >> On 28-Dec-16 15:44, Andy Shevchenko wrote: >>> On Wed, 2016-12-28 at 14:43 +, Luis Oliveira wrote: - Slave mode selected in platform module (devicetree support only) - Check for ACP

Re: [PATCH v5 6/7] i2c: designware: enable SLAVE in platform module

2016-12-28 Thread Andy Shevchenko
On Wed, 2016-12-28 at 15:53 +, Luis Oliveira wrote: > On 28-Dec-16 15:44, Andy Shevchenko wrote: > > On Wed, 2016-12-28 at 14:43 +, Luis Oliveira wrote: > > > - Slave mode selected in platform module (devicetree support only) > > > - Check for ACPI - not supported in SLAVE mode: > > >   - C

Re: [PATCH v5 6/7] i2c: designware: enable SLAVE in platform module

2016-12-28 Thread Luis Oliveira
On 28-Dec-16 15:44, Andy Shevchenko wrote: > On Wed, 2016-12-28 at 14:43 +, Luis Oliveira wrote: >> - Slave mode selected in platform module (devicetree support only) >> - Check for ACPI - not supported in SLAVE mode: >> - Changed the ifndef style to the use of ACPI_HANDLE that returns >> NUL

Re: [PATCH v5 6/7] i2c: designware: enable SLAVE in platform module

2016-12-28 Thread Andy Shevchenko
On Wed, 2016-12-28 at 14:43 +, Luis Oliveira wrote: > - Slave mode selected in platform module (devicetree support only) > - Check for ACPI - not supported in SLAVE mode: >   - Changed the ifndef style to the use of ACPI_HANDLE that returns > NULL > if the device was not enumerated from ACP

[PATCH v5 6/7] i2c: designware: enable SLAVE in platform module

2016-12-28 Thread Luis Oliveira
- Slave mode selected in platform module (devicetree support only) - Check for ACPI - not supported in SLAVE mode: - Changed the ifndef style to the use of ACPI_HANDLE that returns NULL if the device was not enumerated from ACPI namespace. Signed-off-by: Luis Oliveira --- Changes V4->V5: (A