spi: renesas,rzv2m-csi: Add CSI (SPI) target related property
authorFabrizio Castro <fabrizio.castro.jz@renesas.com>
Wed, 27 Sep 2023 16:25:07 +0000 (17:25 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Oct 2023 12:14:27 +0000 (13:14 +0100)
commit4056d88866e5941ebd15fb2523119f0ddc5186da
treebe79629fe42b378f36fcf5482de74b284c68ecde
parentdf22568ad8ed317db95acc11e1c08bae7a0fba5d
spi: renesas,rzv2m-csi: Add CSI (SPI) target related property

The CSI IP found inside the Renesas RZ/V2M SoC can also work
in SPI target mode.
When working in target mode, the IP will make use of the SS
(Slave Selection) pin, with "low" as default active level.
The active level of SS can be changed to "high" upon setting
property "spi-cs-high" to true.
By default, the SS will be used in target mode, unless property
"renesas,csi-no-ss" is set to true, in which case data will be
shifted in and out purely based on clock activity, and the
logic level of the SS pin will be completely ignored.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230927162508.328736-2-fabrizio.castro.jz@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml