spi: ti_qspi: Add support for CS other than CS0
authorVignesh Raghavendra <vigneshr@ti.com>
Wed, 11 Dec 2019 13:29:36 +0000 (18:59 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 27 Jan 2020 16:57:22 +0000 (22:27 +0530)
commit5502c88e67dbe61e7ed0779c527f328890ab23b5
treea73fb746f7183ad1bd9e1b5fe1831b814e6c4f31
parentf7dd5370986087af9b9cfa601f34b344ec910b87
spi: ti_qspi: Add support for CS other than CS0

Make sure corresponding setup registers are updated depending on CS.
This ensures that driver can support QSPI flashes on ChipSelects other
than on CS0

Reported-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/ti_qspi.c