Skip to content

Commit 4056d88

Browse files
Fabrizio Castrobroonie
authored andcommitted
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 <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent df22568 commit 4056d88

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ properties:
3939
power-domains:
4040
maxItems: 1
4141

42+
renesas,csi-no-ss:
43+
type: boolean
44+
description:
45+
The CSI Slave Selection (SS) pin won't be used to enable transmission and
46+
reception. Only available when in target mode.
47+
4248
required:
4349
- compatible
4450
- reg
@@ -50,6 +56,9 @@ required:
5056
- '#address-cells'
5157
- '#size-cells'
5258

59+
dependencies:
60+
renesas,csi-no-ss: [ spi-slave ]
61+
5362
unevaluatedProperties: false
5463

5564
examples:

0 commit comments

Comments
 (0)