linux_dsm_epyc7002/arch/arm64/boot/dts/marvell
Marcin Wojtas 8d897006fe arm64: dts: marvell: add unique identifiers for Armada A8k SPI controllers
Enabling SPI controllers, which are attached to different busses
inside an SoC, may result in overlapping enumeration and cause
sysfs registration failure. Example log after enabling two
controllers on Armada 8040 SoC with same identifiers:

[    3.740415] sysfs: cannot create duplicate filename
'/class/spi_master/spi0'
[    3.747510] ------------[ cut here ]------------
[    3.752145] WARNING: at fs/sysfs/dir.c:31
[...]
[    4.002299] orion_spi: probe of f4700600.spi failed with error -17

spi-orion driver offers dedicated DT property ('cell-index'), that
allow setting unique identifiers. Recently added support for CP110-slave
HW block introduced two new SPI controllers' nodes with same ID as
ones from CP110-master.

This commit fixes the issue by assigning different 'cell-index' values
for CP110-slave SPI controllers.

Fixes: 4eef78a009 ("arm64: dts: marvell: add description for the slave
CP110 in Armada 8K")

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-11-09 09:44:08 +01:00
..
armada-37xx.dtsi arm64: dts: marvell: Fix typo in label name on Armada 37xx 2016-11-09 09:41:26 +01:00
armada-371x.dtsi arm64: dts: add the Marvell Armada 3700 family and a development board 2016-02-17 16:09:55 +01:00
armada-372x.dtsi arm64: dts: marvell: Clean up armada-3720-db 2016-04-27 17:51:50 +02:00
armada-3720-db.dts arm64: dts: marvell: Add Aardvark PCIe support for Armada 3700 2016-07-26 16:20:35 -05:00
armada-7020.dtsi arm64: dts: marvell: initial DT description of Armada 7K/8K CP110 master 2016-04-26 15:10:21 +02:00
armada-7040-db.dts arm64: dts: marvell: enable several CP interfaces on Armada 7040-DB 2016-04-26 15:11:37 +02:00
armada-7040.dtsi arm64: dts: marvell: initial DT description of Armada 7K/8K CP110 master 2016-04-26 15:10:21 +02:00
armada-8020.dtsi arm64: dts: marvell: add description for the slave CP110 in Armada 8K 2016-08-08 17:40:03 +02:00
armada-8040-db.dts arm64: dts: marvell: add description for the Armada 8040 dev board 2016-08-08 17:40:09 +02:00
armada-8040.dtsi arm64: dts: marvell: add description for the slave CP110 in Armada 8K 2016-08-08 17:40:03 +02:00
armada-ap806-dual.dtsi arm64: dts: marvell: clean up armada-7040-db 2016-04-26 15:03:58 +02:00
armada-ap806-quad.dtsi arm64: dts: marvell: clean up armada-7040-db 2016-04-26 15:03:58 +02:00
armada-ap806.dtsi Merge branch 'dt/irq-fix' into next/dt64 2016-09-14 22:48:29 +02:00
armada-cp110-master.dtsi mvebu fixes for 4.8 (part 3) 2016-10-17 13:44:03 -07:00
armada-cp110-slave.dtsi arm64: dts: marvell: add unique identifiers for Armada A8k SPI controllers 2016-11-09 09:44:08 +01:00
berlin4ct-dmp.dts
berlin4ct-stb.dts arm64: dts: add dts file for Marvell Berlin4CT STB board 2015-09-20 21:04:02 +02:00
berlin4ct.dtsi arm64: dts: berlin4ct: Add L2 cache topology 2016-09-28 20:37:06 +02:00
Makefile arm64: dts: marvell: add description for the Armada 8040 dev board 2016-08-08 17:40:09 +02:00