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";
};
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>,
}
static const struct of_device_id imx219_dt_ids[] = {
- { .compatible = "imx219" },
+ { .compatible = "sony,imx219" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, imx219_dt_ids);
}
static const struct i2c_device_id ov4689_id[] = {
- {"ov4689", 0},
+ { "ov4689", 0 },
{},
};
MODULE_DEVICE_TABLE(i2c, ov4689_id);
}
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);
}
static const struct of_device_id stfcamss_of_match[] = {
- {.compatible = "starfive,stf-vin"},
+ { .compatible = "starfive,jh7110-vin" },
{ /* end node */ },
};
#include <linux/cdev.h>
-#define DRV_NAME "stf-vin"
+#define DRV_NAME "jh7110-vin"
#define FB_FIRST_ADDR 0xf9000000
#define FB_SECOND_ADDR 0xf97e9000