media: i2c: mt9t112: Remove soc_camera dependencies
Remove soc_camera framework dependencies from mt9t112 sensor driver. - Handle clk, gpios and power routines - Register async subdev - Remove deprecated g/s_mbus_config operations - Remove driver flags - Change driver interface and add kernel doc - Adjust build system - Fix code style issues reported by checkpatch in strict mode This commit does not remove the original soc_camera based driver as long as other platforms depends on soc_camera framework. As I don't have access to a working camera module, this change has only been compile tested. Signed-off-by:Jacopo Mondi <jacopo+renesas@jmondi.org> Signed-off-by:
Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@s-opensource.com>
Showing
- drivers/media/i2c/Kconfig 11 additions, 0 deletionsdrivers/media/i2c/Kconfig
- drivers/media/i2c/Makefile 1 addition, 0 deletionsdrivers/media/i2c/Makefile
- drivers/media/i2c/mt9t112.c 190 additions, 213 deletionsdrivers/media/i2c/mt9t112.c
- drivers/media/i2c/soc_camera/mt9t112.c 1 addition, 1 deletiondrivers/media/i2c/soc_camera/mt9t112.c
- include/media/i2c/mt9t112.h 7 additions, 10 deletionsinclude/media/i2c/mt9t112.h
Loading
Please register or sign in to comment