Skip to content
Commit c0600140 authored by Grygorii Strashko's avatar Grygorii Strashko Committed by Mark Brown
Browse files

spi: davinci: use spi_device.cs_gpio to store gpio cs per spi device



Rework Davinci SPI driver to store GPIO CS number in cs_gpio field
of SPI device structure (spi_device) for both DT and non-DT cases.
This will make Davinci SPI driver code simpler and allows to reuse
more SPI core functionality.

Signed-off-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent a88e34ea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment