mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
[media] marvell-cam: Basic working MMP camera driver
Now we have a camera working over the marvell cam controller core. It works like the cafe driver and has all the same limitations, contiguous DMA only being one of them. But it's a start. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
595a93a47a
commit
67a8dbbc4e
7 changed files with 386 additions and 9 deletions
9
include/media/mmp-camera.h
Normal file
9
include/media/mmp-camera.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* Information for the Marvell Armada MMP camera
|
||||
*/
|
||||
|
||||
struct mmp_camera_platform_data {
|
||||
struct platform_device *i2c_device;
|
||||
int sensor_power_gpio;
|
||||
int sensor_reset_gpio;
|
||||
};
|
||||
|
|
@ -185,8 +185,9 @@ enum {
|
|||
/* module wm8775: just ident 8775 */
|
||||
V4L2_IDENT_WM8775 = 8775,
|
||||
|
||||
/* module cafe_ccic, just ident 8801 */
|
||||
/* Marvell controllers starting at 8801 */
|
||||
V4L2_IDENT_CAFE = 8801,
|
||||
V4L2_IDENT_ARMADA610 = 8802,
|
||||
|
||||
/* AKM AK8813/AK8814 */
|
||||
V4L2_IDENT_AK8813 = 8813,
|
||||
|
|
|
|||
Loading…
Reference in a new issue