]> git.baikalelectronics.ru Git - kernel.git/commit
spi: qup: Remove chip select function
authorAndy Gross <agross@codeaurora.org>
Thu, 12 Jun 2014 19:34:10 +0000 (14:34 -0500)
committerMark Brown <broonie@linaro.org>
Sun, 22 Jun 2014 10:48:09 +0000 (11:48 +0100)
commitf34d7a791f596e73fad2b7ece56062763a37f4f9
tree933fae200342e47c9bf596b31847e9477e093e38
parent79ffe227a846bfa70d0848df55976dbc52bd6991
spi: qup: Remove chip select function

This patch removes the chip select function.  Chip select should instead be
supported using GPIOs, defining the DT entry "cs-gpios", and letting the SPI
core assert/deassert the chip select as it sees fit.

The chip select control inside the controller is buggy.  It is supposed to
automatically assert the chip select based on the activity in the controller,
but it is buggy and doesn't work at all.  So instead we elect to use GPIOs.

Signed-off-by: Andy Gross <agross@codeaurora.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Documentation/devicetree/bindings/spi/qcom,spi-qup.txt
drivers/spi/spi-qup.c