spi: soft_spi: Support the recommended soft spi properties
authorFabio Estevam <festevam@denx.de>
Thu, 18 May 2023 22:22:40 +0000 (19:22 -0300)
committerJagan Teki <jagan@edgeble.ai>
Thu, 13 Jul 2023 08:29:57 +0000 (13:59 +0530)
commit2e9fe73a883ae3ff4692714d8bbccae0f4f3ba4e
tree6f9a0cf52f5b4b40600648504bbfb6c41109038c
parent486f4d5a5379b2b857854810a6af686175df4965
spi: soft_spi: Support the recommended soft spi properties

According to Documentation/devicetree/bindings/spi/spi-gpio.yaml
from Linux, the recommended spio-gpio properties are:

sck-gpios, miso-gpios and mosi-gpios.

gpio-sck, gpio-mosi and gpio-miso are considered deprecated.

Currently, U-Boot only supports the deprecated properties.

Allow the soft_spi driver to support both the new and old properties.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/soft_spi.c