Fwd: [PATCH] spi: zynq_spi: add chip select decoder support

Nikita Vasilev vasilevnikitad at gmail.com
Fri Mar 18 15:06:03 CET 2022


Since zynq_spi device is compatible with Linux Cadence SPI driver, which
supports chip select (CS) decoder, this patch adds the same logic for
u-boot Zynq SPI driver. As a reference, I have used Xilinx Linux kernel
93dc4dbd16d (xilinx-v2020.2).

The SPI decoder feature has been tested on ZynqMP ARM processor and
result has been compared with Linux Cadence SPI driver.

Signed-off-by: Nikita Vasilev <vasilevnikitad at gmail.com>
Cc: Jagan Teki <jteki at openedev.com>
---
 drivers/spi/zynq_spi.c | 33 ++++++++++++++++++++++++---------
 1 file changed, 24 insertions(+), 9 deletions(-)



-- 
Best regards,
Nikita Vasilev
vasilevnikitad at gmail.com
M:
+31 6 57423319
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-spi-zynq_spi-add-chip-select-decoder-support.patch
Type: application/x-patch
Size: 2616 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220318/2e4be44d/attachment.bin>


More information about the U-Boot mailing list