aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHan Xu <[email protected]>2022-12-06 16:54:10 -0600
committerMark Brown <[email protected]>2022-12-07 14:19:21 +0000
commitbc9ab1b7a6c687370b5d4edf34064bf04af8d369 (patch)
tree4279aa49a68b63fd365d3e079e2495b958eb21c5
parent5f947746f0089529c85654704643f158b420ff92 (diff)
spi: spi-fsl-lpspi: add num-cs binding for lpspi
Add num-cs property to support multiple cs for lpspi. This property is optional. Signed-off-by: Han Xu <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
index 8b44284d30c6..94caa2b7e241 100644
--- a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
@@ -56,6 +56,13 @@ properties:
this property to re-config the chipselect value in the LPSPI driver.
type: boolean
+ num-cs:
+ description:
+ number of chip selects.
+ minimum: 1
+ maximum: 2
+ default: 1
+
required:
- compatible
- reg
@@ -80,4 +87,5 @@ examples:
clock-names = "per", "ipg";
spi-slave;
fsl,spi-only-use-cs1-sel;
+ num-cs = <2>;
};