On 13:39 Thu 05 Dec , Baruch Siach wrote:
> Commit 743179849015 (of_spi: add generic binding support to specify cs gpio)
> introduced generic binding for gpio chip-select. The cs_gpio struct field,
> however, is an internal implementation detail of the Linux SPI subsystem, and
> should not be mentioned in the device tree binding documentation. Mention the
> previously defined cs-gpios master node property instead.
>
> Cc: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
> Cc: Grant Likely <[email protected]>
> Signed-off-by: Baruch Siach <[email protected]>
> ---
> Documentation/devicetree/bindings/spi/spi-bus.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/spi/spi-bus.txt
> b/Documentation/devicetree/bindings/spi/spi-bus.txt
> index 800dafe..e5a4d1b 100644
> --- a/Documentation/devicetree/bindings/spi/spi-bus.txt
> +++ b/Documentation/devicetree/bindings/spi/spi-bus.txt
> @@ -67,7 +67,7 @@ only 1(SINGLE), 2(DUAL) and 4(QUAD).
> Dual/Quad mode is not allowed when 3-wire mode is used.
>
> If a gpio chipselect is used for the SPI slave the gpio number will be passed
> -via the cs_gpio
> +via the SPI master node cs-gpios property.
here it's an information about the c structure
Best Regards,
J.
>
> SPI example for an MPC5200 SPI bus:
> spi@f00 {
> --
> 1.8.4.3
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html