summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_stm32x7.c
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2016-05-03 02:02:21 (GMT)
committerSimon Glass <sjg@chromium.org>2016-05-17 15:54:43 (GMT)
commit102412c415b5e51b01ed5797c965d0feaa065439 (patch)
tree60836d7e1174ffcc4a67b7d5279031a8ae10719c /drivers/serial/serial_stm32x7.c
parentb6d54d527325f27c460777b882e23d21a935765a (diff)
downloadu-boot-102412c415b5e51b01ed5797c965d0feaa065439.tar.xz
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 'drivers/serial/serial_stm32x7.c')
0 files changed, 0 insertions, 0 deletions