v4l2: modify v4l2 compatible name
authorchanghuang.liang <changhuang.liang@starfivetech.com>
Mon, 29 Aug 2022 08:01:55 +0000 (16:01 +0800)
committerchanghuang.liang <changhuang.liang@starfivetech.com>
Wed, 31 Aug 2022 01:16:30 +0000 (09:16 +0800)
dts/starfive: modify v4l2 compatible name

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
arch/riscv/boot/dts/starfive/jh7110-common.dtsi
arch/riscv/boot/dts/starfive/jh7110.dtsi
drivers/media/platform/starfive/v4l2_driver/imx219_mipi.c
drivers/media/platform/starfive/v4l2_driver/ov4689_mipi.c
drivers/media/platform/starfive/v4l2_driver/sc2235.c
drivers/media/platform/starfive/v4l2_driver/stfcamss.c
include/video/stf-vin.h

index 8de5586..212532b 100644 (file)
        status = "okay";
 
        sc2235: sc2235@30 {
-               compatible = "sc2235";
+               compatible = "smartsens,sc2235";
                reg = <0x30>;
                clocks = <&clk_ext_camera>;
                clock-names = "xclk";
                };
        };
 
-       imx219@10 {
-               compatible = "imx219";
+       imx219: imx219@10 {
+               compatible = "sony,imx219";
                reg = <0x10>;
                clocks = <&clk_ext_camera>;
                clock-names = "xclk";
index fc25056..61ac9a3 100755 (executable)
                };
 
                vin_sysctl: vin_sysctl@19800000 {
-                       compatible = "starfive,stf-vin";
+                       compatible = "starfive,jh7110-vin";
                        reg = <0x0 0x19800000 0x0 0x10000>,
                                <0x0 0x19810000 0x0 0x10000>,
                                <0x0 0x19820000 0x0 0x10000>,
index 7c1de20..c6c80db 100644 (file)
@@ -1649,7 +1649,7 @@ static int imx219_remove(struct i2c_client *client)
 }
 
 static const struct of_device_id imx219_dt_ids[] = {
-       { .compatible = "imx219" },
+       { .compatible = "sony,imx219" },
        { /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, imx219_dt_ids);
index 25b54b2..211c24c 100644 (file)
@@ -3006,7 +3006,7 @@ static int ov4689_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ov4689_id[] = {
-       {"ov4689", 0},
+       { "ov4689", 0 },
        {},
 };
 MODULE_DEVICE_TABLE(i2c, ov4689_id);
index c1a77f8..e50de3a 100644 (file)
@@ -1926,13 +1926,13 @@ static int sc2235_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id sc2235_id[] = {
-       {"sc2235", 0},
+       { "sc2235", 0 },
        {},
 };
 MODULE_DEVICE_TABLE(i2c, sc2235_id);
 
 static const struct of_device_id sc2235_dt_ids[] = {
-       { .compatible = "sc2235" },
+       { .compatible = "smartsens,sc2235" },
        { /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, sc2235_dt_ids);
index 63f0d8e..f699766 100644 (file)
@@ -1182,7 +1182,7 @@ static int stfcamss_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id stfcamss_of_match[] = {
-       {.compatible = "starfive,stf-vin"},
+       { .compatible = "starfive,jh7110-vin" },
        { /* end node */ },
 };
 
index ee1a716..bdae4aa 100755 (executable)
@@ -15,7 +15,7 @@
 
 #include <linux/cdev.h>
 
-#define DRV_NAME "stf-vin"
+#define DRV_NAME "jh7110-vin"
 #define FB_FIRST_ADDR      0xf9000000
 #define FB_SECOND_ADDR     0xf97e9000