spi: dw: Add SoC-specific compatible strings
authorSean Anderson <seanga2@gmail.com>
Fri, 16 Oct 2020 22:57:50 +0000 (18:57 -0400)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 18 Dec 2020 10:46:37 +0000 (16:16 +0530)
commit237e5880f8778ef2d26d029f53b57df56a72db4e
treeb6d716a0255591c19c5b59b80df55c156dd983d4
parentddd3450f399051478263e823f5f778745824bdb3
spi: dw: Add SoC-specific compatible strings

This adds SoC-specific compatible strings to all users of the designware
spi device. This will allow for the correct driver to be selected for each
device. Where it is publicly documented, a compatible string for the
specific device version has also been added. Devices without
publicly-documented device versions include MSCC SoCs, and Arc Socs. All
compatible strings except those for SoCFPGAs and some of the versioned
strings have been taken from Linux.

Since SSI_MAX_XFER_SIZE is determined at runtime, this is not strictly
necessary. However, it is a good cleanup and brings things closer to Linux.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Tested-by Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arc/dts/axs10x_mb.dtsi
arch/arc/dts/hsdk-common.dtsi
arch/arm/dts/socfpga.dtsi
arch/arm/dts/socfpga_agilex.dtsi
arch/arm/dts/socfpga_arria10.dtsi
arch/arm/dts/socfpga_stratix10.dtsi
arch/mips/dts/mscc,jr2.dtsi
arch/mips/dts/mscc,ocelot.dtsi
arch/riscv/dts/k210.dtsi