aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/spi
diff options
context:
space:
mode:
authorGravatar Han Xu <han.xu@nxp.com> 2022-12-06 16:54:10 -0600
committerGravatar Mark Brown <broonie@kernel.org> 2022-12-07 14:19:21 +0000
commitbc9ab1b7a6c687370b5d4edf34064bf04af8d369 (patch)
tree4279aa49a68b63fd365d3e079e2495b958eb21c5 /Documentation/devicetree/bindings/spi
parentspi: spi-fsl-lpspi: support multiple cs for lpspi (diff)
downloadlinux-bc9ab1b7a6c687370b5d4edf34064bf04af8d369.tar.gz
linux-bc9ab1b7a6c687370b5d4edf34064bf04af8d369.tar.bz2
linux-bc9ab1b7a6c687370b5d4edf34064bf04af8d369.zip
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 <han.xu@nxp.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20221206225410.604482-2-han.xu@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi')
-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>;
};