dt: socfpga: Rename snps, dw-spi-mmio to snps, dw-apb-ssi
authorMarek Vasut <marex@denx.de>
Wed, 31 Dec 2014 19:14:55 +0000 (20:14 +0100)
committerJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Tue, 6 Jan 2015 10:32:58 +0000 (16:02 +0530)
Linux now also contains SPI driver, yet the name is 'snps,dw-apb-ssi'.
Fix the naming before we have to support both names.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@opensource.altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Vince Bridgers <vbridger@opensource.altera.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Acked-by: Pavel Machek <pavel@denx.de>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
arch/arm/dts/socfpga.dtsi
drivers/spi/designware_spi.c

index 969e5ad751cbcb02049fd02d6fa0c54d56a8204b..93d377676613af04baa3fb559de530bc7f39f3c0 100644 (file)
                };
 
                spi0: spi@fff00000 {
-                       compatible = "snps,dw-spi-mmio";
+                       compatible = "snps,dw-apb-ssi";
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <0xfff00000 0x1000>;
                };
 
                spi1: spi@fff01000 {
-                       compatible = "snps,dw-spi-mmio";
+                       compatible = "snps,dw-apb-ssi";
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <0xfff01000 0x1000>;
index 0210667854569d438233802b07c0f289f8b39a51..700f616ad7630608dc50136f9abf4c148714a7a3 100644 (file)
@@ -409,7 +409,7 @@ static const struct dm_spi_ops dw_spi_ops = {
 };
 
 static const struct udevice_id dw_spi_ids[] = {
-       { .compatible = "snps,dw-spi-mmio" },
+       { .compatible = "snps,dw-apb-ssi" },
        { }
 };