projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f94774
)
spi: spi-fsl-lpspi: add num-cs binding for lpspi
author
Han Xu
<han.xu@nxp.com>
Tue, 6 Dec 2022 22:54:10 +0000
(16:54 -0600)
committer
Mark Brown
<broonie@kernel.org>
Wed, 7 Dec 2022 14:19:21 +0000
(14:19 +0000)
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>
Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
patch
|
blob
|
history
diff --git
a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
index 8b44284d30c6c7066c9e9981a64f8873a3bf2ac0..94caa2b7e2417d83f9c2c0e5dcf9f21c4940cde2 100644
(file)
--- 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>;
};