From 765d26b690cc17eb5751b1b8328416d7b783cbc2 Mon Sep 17 00:00:00 2001 From: Cai Wenzhong Date: Fri, 19 Apr 2024 10:56:58 +0800 Subject: [PATCH] media: i2c: maxim: driver version v3.03.00 Signed-off-by: Cai Wenzhong Change-Id: Id36b507fd07a4d295b0dc974c2af44ec3522cc84 --- drivers/media/i2c/maxim/local/maxim2c/maxim2c_drv.c | 4 ++++ drivers/media/i2c/maxim/local/maxim4c/maxim4c_drv.c | 4 ++++ drivers/media/i2c/maxim/remote/dummy.c | 6 +++--- drivers/media/i2c/maxim/remote/ov231x.c | 4 ++-- drivers/media/i2c/maxim/remote/ox01f10.c | 4 ++-- drivers/media/i2c/maxim/remote/ox03j10.c | 4 ++-- drivers/media/i2c/maxim/remote/sc320at.c | 4 ++-- 7 files changed, 19 insertions(+), 11 deletions(-) diff --git a/drivers/media/i2c/maxim/local/maxim2c/maxim2c_drv.c b/drivers/media/i2c/maxim/local/maxim2c/maxim2c_drv.c index 7438a159efad..b206c7d2e9ca 100644 --- a/drivers/media/i2c/maxim/local/maxim2c/maxim2c_drv.c +++ b/drivers/media/i2c/maxim/local/maxim2c/maxim2c_drv.c @@ -34,6 +34,10 @@ * 3. remote serializer support more chip id * 4. support mode add crop rect dts config * + * V3.03.00 + * 1. remote sensor Makefile rename module ko + * 2. remote sensor rename driver name + * */ #include #include diff --git a/drivers/media/i2c/maxim/local/maxim4c/maxim4c_drv.c b/drivers/media/i2c/maxim/local/maxim4c/maxim4c_drv.c index b326d4762b00..53785ee1e89d 100644 --- a/drivers/media/i2c/maxim/local/maxim4c/maxim4c_drv.c +++ b/drivers/media/i2c/maxim/local/maxim4c/maxim4c_drv.c @@ -57,6 +57,10 @@ * 3. remote serializer support more chip id * 4. support mode add crop rect dts config * + * V3.03.00 + * 1. remote sensor Makefile rename module ko + * 2. remote sensor rename driver name + * */ #include #include diff --git a/drivers/media/i2c/maxim/remote/dummy.c b/drivers/media/i2c/maxim/remote/dummy.c index c2a3007ce59b..b04531418323 100644 --- a/drivers/media/i2c/maxim/remote/dummy.c +++ b/drivers/media/i2c/maxim/remote/dummy.c @@ -26,13 +26,13 @@ #include "maxim_remote.h" -#define DRIVER_VERSION KERNEL_VERSION(1, 0x00, 0x00) +#define DRIVER_VERSION KERNEL_VERSION(1, 0x00, 0x01) #ifndef V4L2_CID_DIGITAL_GAIN #define V4L2_CID_DIGITAL_GAIN V4L2_CID_GAIN #endif -#define SENSOR_NAME "maxim-dummy" +#define SENSOR_NAME "dummy" #define SENSOR_CHIP_ID 0x5809 #define SENSOR_REG_CHIP_ID 0x300A @@ -1472,7 +1472,7 @@ MODULE_DEVICE_TABLE(of, sensor_of_match); static struct i2c_driver sensor_i2c_driver = { .driver = { - .name = SENSOR_NAME, + .name = "maxim-dummy", .pm = &sensor_pm_ops, .of_match_table = of_match_ptr(sensor_of_match), }, diff --git a/drivers/media/i2c/maxim/remote/ov231x.c b/drivers/media/i2c/maxim/remote/ov231x.c index 9309be42ebc0..0a592f6e3173 100644 --- a/drivers/media/i2c/maxim/remote/ov231x.c +++ b/drivers/media/i2c/maxim/remote/ov231x.c @@ -24,7 +24,7 @@ #include "maxim_remote.h" -#define DRIVER_VERSION KERNEL_VERSION(1, 0x00, 0x00) +#define DRIVER_VERSION KERNEL_VERSION(1, 0x00, 0x01) #ifndef V4L2_CID_DIGITAL_GAIN #define V4L2_CID_DIGITAL_GAIN V4L2_CID_GAIN @@ -1173,7 +1173,7 @@ MODULE_DEVICE_TABLE(of, ov231x_of_match); static struct i2c_driver ov231x_i2c_driver = { .driver = { - .name = OV231X_NAME, + .name = "maxim-ov231x", .pm = &ov231x_pm_ops, .of_match_table = of_match_ptr(ov231x_of_match), }, diff --git a/drivers/media/i2c/maxim/remote/ox01f10.c b/drivers/media/i2c/maxim/remote/ox01f10.c index 01fe29f20665..c69bd6b125a9 100644 --- a/drivers/media/i2c/maxim/remote/ox01f10.c +++ b/drivers/media/i2c/maxim/remote/ox01f10.c @@ -24,7 +24,7 @@ #include "maxim_remote.h" -#define DRIVER_VERSION KERNEL_VERSION(1, 0x00, 0x00) +#define DRIVER_VERSION KERNEL_VERSION(1, 0x00, 0x01) #ifndef V4L2_CID_DIGITAL_GAIN #define V4L2_CID_DIGITAL_GAIN V4L2_CID_GAIN @@ -1172,7 +1172,7 @@ MODULE_DEVICE_TABLE(of, ox01f10_of_match); static struct i2c_driver ox01f10_i2c_driver = { .driver = { - .name = OX01F10_NAME, + .name = "maxim-ox01f10", .pm = &ox01f10_pm_ops, .of_match_table = of_match_ptr(ox01f10_of_match), }, diff --git a/drivers/media/i2c/maxim/remote/ox03j10.c b/drivers/media/i2c/maxim/remote/ox03j10.c index 3bcead6bdca2..847291a23632 100644 --- a/drivers/media/i2c/maxim/remote/ox03j10.c +++ b/drivers/media/i2c/maxim/remote/ox03j10.c @@ -24,7 +24,7 @@ #include "maxim_remote.h" -#define DRIVER_VERSION KERNEL_VERSION(1, 0x00, 0x00) +#define DRIVER_VERSION KERNEL_VERSION(1, 0x00, 0x01) #ifndef V4L2_CID_DIGITAL_GAIN #define V4L2_CID_DIGITAL_GAIN V4L2_CID_GAIN @@ -1172,7 +1172,7 @@ MODULE_DEVICE_TABLE(of, ox03j10_of_match); static struct i2c_driver ox03j10_i2c_driver = { .driver = { - .name = OX03J10_NAME, + .name = "maxim-ox03j10", .pm = &ox03j10_pm_ops, .of_match_table = of_match_ptr(ox03j10_of_match), }, diff --git a/drivers/media/i2c/maxim/remote/sc320at.c b/drivers/media/i2c/maxim/remote/sc320at.c index 0d051278647c..041aaaaa4f78 100644 --- a/drivers/media/i2c/maxim/remote/sc320at.c +++ b/drivers/media/i2c/maxim/remote/sc320at.c @@ -24,7 +24,7 @@ #include "maxim_remote.h" -#define DRIVER_VERSION KERNEL_VERSION(1, 0x00, 0x00) +#define DRIVER_VERSION KERNEL_VERSION(1, 0x01, 0x00) #ifndef V4L2_CID_DIGITAL_GAIN #define V4L2_CID_DIGITAL_GAIN V4L2_CID_GAIN @@ -1172,7 +1172,7 @@ MODULE_DEVICE_TABLE(of, sc320at_of_match); static struct i2c_driver sc320at_i2c_driver = { .driver = { - .name = SC320AT_NAME, + .name = "maxim-sc320at", .pm = &sc320at_pm_ops, .of_match_table = of_match_ptr(sc320at_of_match), },