Geert Uytterhoeven 8d19534a8d spi: sh-msiof: Use the core cs_gpio field, and make it optional
In current implementation, CS is controlled by GPIO, which is passed
through spi->controller_data.  However, the MSIOF HW module has a function
to output CS by itself, which is already enabled and actual switch will be
done by pinmux.

Store the GPIO number in the core cs_gpio field, and ignore it if it is
an invalid (negative) GPIO number.

Loosely based on a patch from Takashi Yoshii <takasi-y@ops.dti.ne.jp>.

Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-02-22 12:11:12 +09:00
..
2014-01-25 13:20:36 -08:00
2013-12-17 22:53:36 +00:00
2013-11-14 11:04:38 -08:00
2013-12-31 12:30:18 +00:00
2013-08-29 13:56:23 +01:00
2013-12-09 17:31:38 +00:00
2014-01-13 11:30:41 +00:00
2014-01-25 13:20:36 -08:00
2014-01-25 13:20:36 -08:00
2014-01-25 13:20:36 -08:00
2013-08-29 13:56:23 +01:00
2014-01-25 13:20:36 -08:00
2013-10-15 13:15:52 +01:00