spi: Add SPI mode enums
authorSimon Glass <sjg@chromium.org>
Wed, 8 Apr 2020 22:57:21 +0000 (16:57 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 16 Apr 2020 06:36:28 +0000 (14:36 +0800)
commitb14ccfcf091f6d8f075043569b28ab385f5a481f
tree4980284d96c6f0654ae19485c145d9a1ae5c0e92
parent600f584d8191799acc19464c4a07f3056083057a
spi: Add SPI mode enums

With ACPI we need to describe the settings of the SPI bus. Add enums to
handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
include/spi.h