diff options
author | Han Xu <han.xu@nxp.com> | 2022-12-07 01:54:10 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-12-07 17:19:21 +0300 |
commit | bc9ab1b7a6c687370b5d4edf34064bf04af8d369 (patch) | |
tree | 4279aa49a68b63fd365d3e079e2495b958eb21c5 /Documentation/devicetree/bindings/spi | |
parent | 5f947746f0089529c85654704643f158b420ff92 (diff) | |
download | linux-bc9ab1b7a6c687370b5d4edf34064bf04af8d369.tar.xz |
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.yaml | 8 |
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>; }; |