spi:starfive:Modify compatible name
authorXingyu Wu <xingyu.wu@starfivetech.com>
Thu, 1 Sep 2022 07:13:04 +0000 (15:13 +0800)
committerXingyu Wu <xingyu.wu@starfivetech.com>
Thu, 1 Sep 2022 07:13:16 +0000 (15:13 +0800)
Modify compatible name to 'starfive,jh7110-spi-pl022'.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
arch/riscv/boot/dts/starfive/evb-overlay/jh7110-evb-overlay-spi.dts
drivers/spi/spi-pl022-starfive.c

index 58e0deb..366592d 100755 (executable)
@@ -9,7 +9,7 @@
        fragment@0 {
                target-path = "/soc/spi@10060000";
                __overlay__ {
-                       compatible = "starfive-of,pl022";
+                       compatible = "starfive,jh7110-spi-pl022";
                        status = "okay";
                };
        };
@@ -18,7 +18,7 @@
        fragment@1 {
                target-path = "/soc/spi@10070000";
                __overlay__ {
-                       compatible = "starfive-of,pl022";
+                       compatible = "starfive,jh7110-spi-pl022";
                        status = "okay";
                };
        };
@@ -27,7 +27,7 @@
        fragment@2 {
                target-path = "/soc/spi@10080000";
                __overlay__ {
-                       compatible = "starfive-of,pl022";
+                       compatible = "starfive,jh7110-spi-pl022";
                        status = "okay";
                };
        };
@@ -36,7 +36,7 @@
        fragment@3 {
                target-path = "/soc/spi@12070000";
                __overlay__ {
-                       compatible = "starfive-of,pl022";
+                       compatible = "starfive,jh7110-spi-pl022";
                        status = "okay";
                };
        };
@@ -45,7 +45,7 @@
        fragment@4 {
                target-path = "/soc/spi@12080000";
                __overlay__ {
-                       compatible = "starfive-of,pl022";
+                       compatible = "starfive,jh7110-spi-pl022";
                        status = "okay";
                };
        };
@@ -54,7 +54,7 @@
        fragment@5 {
                target-path = "/soc/spi@12090000";
                __overlay__ {
-                       compatible = "starfive-of,pl022";
+                       compatible = "starfive,jh7110-spi-pl022";
                        status = "okay";
                };
        };
@@ -63,7 +63,7 @@
        fragment@6 {
                target-path = "/soc/spi@120A0000";
                __overlay__ {
-                       compatible = "starfive-of,pl022";
+                       compatible = "starfive,jh7110-spi-pl022";
                        status = "okay";
                };
        };
index dcc6551..c783cc9 100755 (executable)
@@ -2601,14 +2601,14 @@ static int starfive_of_pl022_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id starfive_of_pl022_match[] = {
-       { .compatible = "starfive-of,pl022" },
+       { .compatible = "starfive,jh7110-spi-pl022" },
        { },
 };
 MODULE_DEVICE_TABLE(of, starfive_of_pl022_match);
 
 static struct platform_driver starfive_of_pl022_driver = {
        .driver = {
-               .name = "starfive-pl022",
+               .name = "starfive-spi-pl022",
                .of_match_table = starfive_of_pl022_match,
                .pm     = &pl022_dev_pm_ops,
        },