]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] ov7670: add devicetree support
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 12 Dec 2016 14:08:18 +0000 (12:08 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 10 Apr 2017 10:54:06 +0000 (07:54 -0300)
commita0c4164e0ec04a0a0d947285a923864b405ce96b
treeb2b22ac9b895981d3f87405a056e5f8726bc808c
parent0a024d634cee94e9f3e3d16d90b049522845c238
[media] ov7670: add devicetree support

Add DT support. Use it to get the reset and pwdn pins (if there are any).
Tested with one sensor requiring reset/pwdn and one sensor that doesn't
have reset/pwdn pins.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ov7670.c