mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
doc: bindings: soft-spi: Remove the usage of deprecated 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. Update the bindings to suggest the recommeded properties. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
This commit is contained in:
parent
2e9fe73a88
commit
a9ab9f7c37
1 changed files with 6 additions and 6 deletions
|
@ -9,10 +9,10 @@ The soft SPI node requires the following properties:
|
|||
Mandatory properties:
|
||||
compatible: "spi-gpio"
|
||||
cs-gpios: GPIOs to use for SPI chip select (output)
|
||||
gpio-sck: GPIO to use for SPI clock (output)
|
||||
sck-gpios: GPIO to use for SPI clock (output)
|
||||
And at least one of:
|
||||
gpio-mosi: GPIO to use for SPI MOSI line (output)
|
||||
gpio-miso: GPIO to use for SPI MISO line (input)
|
||||
mosi-gpios: GPIO to use for SPI MOSI line (output)
|
||||
miso-gpios: GPIO to use for SPI MISO line (input)
|
||||
|
||||
Optional propertie:
|
||||
spi-delay-us: Number of microseconds of delay between each CS transition
|
||||
|
@ -27,9 +27,9 @@ Example:
|
|||
soft-spi {
|
||||
compatible = "spi-gpio";
|
||||
cs-gpios = <&gpio 235 0>; /* Y43 */
|
||||
gpio-sck = <&gpio 225 0>; /* Y31 */
|
||||
gpio-mosi = <&gpio 227 0>; /* Y33 */
|
||||
gpio-miso = <&gpio 224 0>; /* Y30 */
|
||||
sck-gpios = <&gpio 225 0>; /* Y31 */
|
||||
mosi-gpios = <&gpio 227 0>; /* Y33 */
|
||||
miso-gpios = <&gpio 224 0>; /* Y30 */
|
||||
spi-delay-us = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
|
Loading…
Reference in a new issue