summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2016-05-03 10:02:21 +0800
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commit102412c415b5e51b01ed5797c965d0feaa065439 (patch)
tree60836d7e1174ffcc4a67b7d5279031a8ae10719c /include
parentb6d54d527325f27c460777b882e23d21a935765a (diff)
downloadtalos-obmc-uboot-102412c415b5e51b01ed5797c965d0feaa065439.tar.gz
talos-obmc-uboot-102412c415b5e51b01ed5797c965d0feaa065439.zip
dm: spi: soft_spi: switch to use linux compatible string
1. Support compatible string "spi-gpio" which is used by Linux Linux use different bindings, so use UBOOT_COMPAT and LINUX_COMPAT to differentiate them. 2. Introduce SPI_MASTER_NO_RX and SPI_MASTER_NO_TX to handle no rx or no tx case. 3. Tested on i.MX6 UltraLite board with 74LV595 spi-gpio chip. Signed-off-by: Peng Fan <van.freenix@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Przemyslaw Marczak <p.marczak@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud