Skip to content

Commit 7ac9bbf

Browse files
wangxiaoningnxpbroonie
authored andcommitted
dt-bindings: lpspi: New property in document DT bindings for LPSPI
Add "fsl,spi-only-use-cs1-sel" to fit i.MX8DXL-EVK. Spi common code does not support use of CS signals discontinuously. It only uses CS1 without using CS0. So, add this property to re-config chipselect value. Signed-off-by: Clark Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 4294e4a commit 7ac9bbf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ properties:
3434
- const: per
3535
- const: ipg
3636

37+
fsl,spi-only-use-cs1-sel:
38+
description:
39+
spi common code does not support use of CS signals discontinuously.
40+
i.MX8DXL-EVK board only uses CS1 without using CS0. Therefore, add
41+
this property to re-config the chipselect value in the LPSPI driver.
42+
3743
required:
3844
- compatible
3945
- reg
@@ -57,4 +63,5 @@ examples:
5763
<&clks IMX7ULP_CLK_DUMMY>;
5864
clock-names = "per", "ipg";
5965
spi-slave;
66+
fsl,spi-only-use-cs1-sel;
6067
};

0 commit comments

Comments
 (0)