Re: [PATCH 1/2] i.MX: i2c: fix i2c-fsl for non-OF boards

2017-02-14 Thread Alexander Kurz
On Tue, 14 Feb 2017, Sascha Hauer wrote: > On Sat, Feb 11, 2017 at 11:31:38PM +0100, Alexander Kurz wrote: > > With commit 4ed5b778a56b ("i.MX: i2c: Add Vybrid support") i2c-fsl probe > > returns -EINVAL for all non-OF boards. > > Since newer planforms, especially vf610 are restricted OF-only it

Re: [PATCH 1/2] i.MX: i2c: fix i2c-fsl for non-OF boards

2017-02-13 Thread Sascha Hauer
On Sat, Feb 11, 2017 at 11:31:38PM +0100, Alexander Kurz wrote: > With commit 4ed5b778a56b ("i.MX: i2c: Add Vybrid support") i2c-fsl probe > returns -EINVAL for all non-OF boards. > Since newer planforms, especially vf610 are restricted OF-only it is safe to > assume "fsl,imx21-i2c" if CONFIG_OFDEV

[PATCH 1/2] i.MX: i2c: fix i2c-fsl for non-OF boards

2017-02-11 Thread Alexander Kurz
With commit 4ed5b778a56b ("i.MX: i2c: Add Vybrid support") i2c-fsl probe returns -EINVAL for all non-OF boards. Since newer planforms, especially vf610 are restricted OF-only it is safe to assume "fsl,imx21-i2c" if CONFIG_OFDEVICE is not set. Signed-off-by: Alexander Kurz --- drivers/i2c/busses/