diff options
author | Geert Uytterhoeven <geert+renesas@linux-m68k.org> | 2014-02-20 15:43:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-22 04:11:12 +0100 |
commit | 8d19534a8d539bb2e598e56e017a423f205e909e (patch) | |
tree | 3bfccab6e9f7fa585b31f88bec1cec8ebe19e98e /.mailmap | |
parent | spi: sh-msiof: Add more register documentation (diff) | |
download | linux-8d19534a8d539bb2e598e56e017a423f205e909e.tar.xz linux-8d19534a8d539bb2e598e56e017a423f205e909e.zip |
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>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions