media: ov6650: convert to standalone v4l2 subdevice
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>
Fri, 16 Jun 2017 19:45:33 +0000 (16:45 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 18 Jul 2017 15:14:31 +0000 (12:14 -0300)
commit23a52386fabe0e06ebaf15cd45cf86ef41bffca3
tree948d02405cf515e33ca204344e0ef77cc8950488
parent474dfccf36850818214ce23a77fc2c7cdf8a57cb
media: ov6650: convert to standalone v4l2 subdevice

Remove the soc_camera dependencies and move the diver to i2c

Lost features, fortunately not used or not critical on test platform:
- soc_camera power on/off callback - replaced with clock enable/disable
  only, no support for platform provided regulators nor power callback,
- soc_camera sense request - replaced with arbitrarily selected default
  master clock rate and pixel clock limit, no support for platform
  requested values,
- soc_camera board flags - no support for platform requested mbus config
  tweaks.

Tested on Amstrad Delta with now out of tree but still locally
maintained omap1_camera host driver.

Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/Kconfig
drivers/media/i2c/Makefile
drivers/media/i2c/ov6650.c [new file with mode: 0644]
drivers/media/i2c/soc_camera/Kconfig
drivers/media/i2c/soc_camera/Makefile
drivers/media/i2c/soc_camera/ov6650.c [deleted file]