mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
media: i2c: maxim: driver version v3.03.00
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com> Change-Id: Id36b507fd07a4d295b0dc974c2af44ec3522cc84
This commit is contained in:
@@ -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 <linux/clk.h>
|
||||
#include <linux/i2c.h>
|
||||
|
||||
@@ -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 <linux/clk.h>
|
||||
#include <linux/i2c.h>
|
||||
|
||||
@@ -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),
|
||||
},
|
||||
|
||||
@@ -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),
|
||||
},
|
||||
|
||||
@@ -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),
|
||||
},
|
||||
|
||||
@@ -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),
|
||||
},
|
||||
|
||||
@@ -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),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user