Re: [PATCH] spi: mediatek: single device does not require cs_gpios

2015-11-05 Thread Nicolas Boichat
On Thu, Nov 5, 2015 at 5:16 PM, Andy Shevchenko wrote: > On Thu, Nov 5, 2015 at 7:50 AM, Nicolas Boichat wrote: [...] >> diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c >> index 563954a..f694031 100644 >> --- a/drivers/spi/spi-mt65xx.c >> +++ b/drivers/spi/spi-mt65xx.c >> @@

Re: [PATCH] spi: mediatek: single device does not require cs_gpios

2015-11-05 Thread Andy Shevchenko
On Thu, Nov 5, 2015 at 7:50 AM, Nicolas Boichat wrote: > When only one device is present, it is not necessary to specify > cs_gpios, as the CS line can be controlled by the hardware > module. > > Without this patch, older device tree bindings used before > 37457607 "spi: mediatek: mt8173 spi

Re: [PATCH] spi: mediatek: single device does not require cs_gpios

2015-11-05 Thread Andy Shevchenko
On Thu, Nov 5, 2015 at 7:50 AM, Nicolas Boichat wrote: > When only one device is present, it is not necessary to specify > cs_gpios, as the CS line can be controlled by the hardware > module. > > Without this patch, older device tree bindings used before > 37457607 "spi:

Re: [PATCH] spi: mediatek: single device does not require cs_gpios

2015-11-05 Thread Nicolas Boichat
On Thu, Nov 5, 2015 at 5:16 PM, Andy Shevchenko wrote: > On Thu, Nov 5, 2015 at 7:50 AM, Nicolas Boichat wrote: [...] >> diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c >> index 563954a..f694031 100644 >> ---

[PATCH] spi: mediatek: single device does not require cs_gpios

2015-11-04 Thread Nicolas Boichat
When only one device is present, it is not necessary to specify cs_gpios, as the CS line can be controlled by the hardware module. Without this patch, older device tree bindings used before 37457607 "spi: mediatek: mt8173 spi multiple devices support" would cause a panic on boot. This fixes the

[PATCH] spi: mediatek: single device does not require cs_gpios

2015-11-04 Thread Nicolas Boichat
When only one device is present, it is not necessary to specify cs_gpios, as the CS line can be controlled by the hardware module. Without this patch, older device tree bindings used before 37457607 "spi: mediatek: mt8173 spi multiple devices support" would cause a panic on boot. This fixes the