]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: pic32_spi: add SPI master driver for PIC32 SoC.
authorPurna Chandra Mandal <purna.mandal@microchip.com>
Thu, 2 Jun 2016 08:56:08 +0000 (14:26 +0530)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 10 Jun 2016 10:31:12 +0000 (12:31 +0200)
commite19b9004575cacf1f64fff894621adafe0e7ea7f
tree2e282e236e11d6e43f4291b25dbe53d5ff89f982
parent4b7b0a0f0635c1d1e4a0ae2ed172530b5f78e74b
spi: pic32_spi: add SPI master driver for PIC32 SoC.

This driver implements SPI protocol in master mode to communicate
with the SPI device connected on SPI bus. It handles /CS explicitly
by controlling respective pin as gpio ('cs-gpios' property in dt node)
and uses PIO mode for SPI transaction. It is configurable based
on driver-model only.

Cc: Jagan Teki <jteki@openedev.com>
Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/pic32_spi.c [new file with mode: 0644]