mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 16:15:11 +00:00
arm64: dts: ls208xa: remove bus-num from dspi node
[ Upstream commit8240c972c1
] On LS2088A-RDB board, if the spi-fsl-dspi driver is built as module then its probe fails with the following warning: [ 10.471363] couldn't get idr [ 10.471381] WARNING: CPU: 4 PID: 488 at drivers/spi/spi.c:2689 spi_register_controller+0x73c/0x8d0 ... [ 10.471651] fsl-dspi 2100000.spi: Problem registering DSPI ctlr [ 10.471708] fsl-dspi: probe of 2100000.spi failed with error -16 Reason for the failure is that bus-num property is set for dspi node. However, bus-num property is not set for the qspi node. If probe for spi-fsl-qspi happens first then id 0 is dynamically allocated to it. Call to spi_register_controller() from spi-fsl-dspi driver then fails. Since commit29d2daf2c3
("spi: spi-fsl-dspi: Make bus-num property optional") bus-num property is optional. Remove bus-num property from dspi node to fix the issue. Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
24645668cc
commit
e082607d7d
1 changed files with 0 additions and 1 deletions
|
@ -515,7 +515,6 @@ dspi: dspi@2100000 {
|
||||||
clocks = <&clockgen 4 3>;
|
clocks = <&clockgen 4 3>;
|
||||||
clock-names = "dspi";
|
clock-names = "dspi";
|
||||||
spi-num-chipselects = <5>;
|
spi-num-chipselects = <5>;
|
||||||
bus-num = <0>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
esdhc: esdhc@2140000 {
|
esdhc: esdhc@2140000 {
|
||||||
|
|
Loading…
Reference in a new issue