Re: [PATCH] iio: accel: bmc150: Add OF device ID table

2017-12-10 Thread Jonathan Cameron
On Mon, 4 Dec 2017 11:24:40 +0100 Javier Martinez Canillas wrote: > Hello Jonathan, > > On 12/04/2017 10:44 AM, Jonathan Cameron wrote: > > On Mon, 4 Dec 2017 09:29:38 +0100 > > Hans de Goede wrote: > > > >> Hi, > >> > >> On 01-12-17 12:10, Javier Martinez Canillas wrote: > >>> The driver

Re: [PATCH] iio: accel: bmc150: Add OF device ID table

2017-12-04 Thread Javier Martinez Canillas
Hello Jonathan, On 12/04/2017 10:44 AM, Jonathan Cameron wrote: > On Mon, 4 Dec 2017 09:29:38 +0100 > Hans de Goede wrote: > >> Hi, >> >> On 01-12-17 12:10, Javier Martinez Canillas wrote: >>> The driver doesn't have a struct of_device_id table but supported devices >>> are registered via Device

Re: [PATCH] iio: accel: bmc150: Add OF device ID table

2017-12-04 Thread Hans de Goede
Hi, On 04-12-17 10:44, Jonathan Cameron wrote: On Mon, 4 Dec 2017 09:29:38 +0100 Hans de Goede wrote: Hi, On 01-12-17 12:10, Javier Martinez Canillas wrote: The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assu

Re: [PATCH] iio: accel: bmc150: Add OF device ID table

2017-12-04 Thread Hans de Goede
Hi, On 04-12-17 10:01, Javier Martinez Canillas wrote: Hi Hans, Thanks a lot for your feedback. On 12/04/2017 09:29 AM, Hans de Goede wrote: Hi, On 01-12-17 12:10, Javier Martinez Canillas wrote: The driver doesn't have a struct of_device_id table but supported devices are registered via De

Re: [PATCH] iio: accel: bmc150: Add OF device ID table

2017-12-04 Thread Javier Martinez Canillas
Hi Hans, Thanks a lot for your feedback. On 12/04/2017 09:29 AM, Hans de Goede wrote: > Hi, > > On 01-12-17 12:10, Javier Martinez Canillas wrote: >> The driver doesn't have a struct of_device_id table but supported devices >> are registered via Device Trees. This is working on the assumption th

Re: [PATCH] iio: accel: bmc150: Add OF device ID table

2017-12-04 Thread Hans de Goede
Hi, On 01-12-17 12:10, Javier Martinez Canillas wrote: The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS r

Re: [PATCH] iio: accel: bmc150: Add OF device ID table

2017-12-02 Thread Javier Martinez Canillas
Hello Jonathan, On 12/02/2017 01:02 PM, Jonathan Cameron wrote: > On Fri, 1 Dec 2017 12:10:58 +0100 > Javier Martinez Canillas wrote: > >> The driver doesn't have a struct of_device_id table but supported devices >> are registered via Device Trees. This is working on the assumption that a >> I2

Re: [PATCH] iio: accel: bmc150: Add OF device ID table

2017-12-02 Thread Jonathan Cameron
On Fri, 1 Dec 2017 12:10:58 +0100 Javier Martinez Canillas wrote: > The driver doesn't have a struct of_device_id table but supported devices > are registered via Device Trees. This is working on the assumption that a > I2C device registered via OF will always match a legacy I2C device ID and >

[PATCH] iio: accel: bmc150: Add OF device ID table

2017-12-01 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c