Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ccfc97bd authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab
Browse files

[media] smiapp: Add driver



Add driver for SMIA++/SMIA image sensors. The driver exposes the sensor as
three subdevs, pixel array, binner and scaler --- in case the device has a
scaler.

Currently it relies on the board code for external clock handling. There is
no fast way out of this dependency before the ISP drivers (omap3isp) among
others will be able to export that clock through the clock framework
instead.

Signed-off-by: default avatarSakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent cf1c5fae
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -559,6 +559,8 @@ config VIDEO_S5K6AA
	  This is a V4L2 sensor-level driver for Samsung S5K6AA(FX) 1.3M
	  This is a V4L2 sensor-level driver for Samsung S5K6AA(FX) 1.3M
	  camera sensor with an embedded SoC image signal processor.
	  camera sensor with an embedded SoC image signal processor.


source "drivers/media/video/smiapp/Kconfig"

comment "Flash devices"
comment "Flash devices"


config VIDEO_ADP1653
config VIDEO_ADP1653
+1 −0
Original line number Original line Diff line number Diff line
@@ -79,6 +79,7 @@ obj-$(CONFIG_VIDEO_SR030PC30) += sr030pc30.o
obj-$(CONFIG_VIDEO_NOON010PC30)	+= noon010pc30.o
obj-$(CONFIG_VIDEO_NOON010PC30)	+= noon010pc30.o
obj-$(CONFIG_VIDEO_M5MOLS)	+= m5mols/
obj-$(CONFIG_VIDEO_M5MOLS)	+= m5mols/
obj-$(CONFIG_VIDEO_S5K6AA)	+= s5k6aa.o
obj-$(CONFIG_VIDEO_S5K6AA)	+= s5k6aa.o
obj-$(CONFIG_VIDEO_SMIAPP)	+= smiapp/
obj-$(CONFIG_VIDEO_ADP1653)	+= adp1653.o
obj-$(CONFIG_VIDEO_ADP1653)	+= adp1653.o
obj-$(CONFIG_VIDEO_AS3645A)	+= as3645a.o
obj-$(CONFIG_VIDEO_AS3645A)	+= as3645a.o


+2 −0
Original line number Original line Diff line number Diff line
@@ -22,6 +22,8 @@
 *
 *
 */
 */


#include "smiapp/smiapp-debug.h"

#include <linux/gcd.h>
#include <linux/gcd.h>
#include <linux/lcm.h>
#include <linux/lcm.h>
#include <linux/module.h>
#include <linux/module.h>
+13 −0
Original line number Original line Diff line number Diff line
config VIDEO_SMIAPP
	tristate "SMIA++/SMIA sensor support"
	depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
	select VIDEO_SMIAPP_PLL
	---help---
	  This is a generic driver for SMIA++/SMIA camera modules.

config VIDEO_SMIAPP_DEBUG
	bool "Enable debugging for the generic SMIA++/SMIA driver"
	depends on VIDEO_SMIAPP
	---help---
	  Enable debugging output in the generic SMIA++/SMIA driver. If you
	  are developing the driver you might want to enable this.
+3 −0
Original line number Original line Diff line number Diff line
smiapp-objs			+= smiapp-core.o smiapp-regs.o \
				   smiapp-quirk.o smiapp-limits.o
obj-$(CONFIG_VIDEO_SMIAPP)	+= smiapp.o
Loading