Skip to content

Commit 35bd670

Browse files
Josua-SRgregkh
authored andcommitted
dt-bindings: net: dsa: nxp,sja1105: make spi-cpol optional for sja1110
[ Upstream commit 600f01d ] Currently, the binding requires 'spi-cpha' for SJA1105 and 'spi-cpol' for SJA1110. However, the SJA1110 supports both SPI modes 0 and 2. Mode 2 (cpha=0, cpol=1) is used by the NXP LX2160 Bluebox 3. On the SolidRun i.MX8DXL HummingBoard Telematics, mode 0 is stable, while forcing mode 2 introduces CRC errors especially during bursts. Drop the requirement on spi-cpol for SJA1110. Fixes: af2eab1 ("dt-bindings: net: nxp,sja1105: document spi-cpol/cpha") Signed-off-by: Josua Mayer <josua@solid-run.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://patch.msgid.link/20260409-imx8dxl-sr-som-v2-1-83ff20629ba0@solid-run.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 9927851 commit 35bd670

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ allOf:
131131
else:
132132
properties:
133133
spi-cpha: false
134-
required:
135-
- spi-cpol
136134

137135
unevaluatedProperties: false
138136

0 commit comments

Comments
 (0)