[media] s5p-fimc: Use pinctrl API for camera ports configuration
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 8 Mar 2013 13:41:47 +0000 (10:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 31 Mar 2013 13:54:59 +0000 (10:54 -0300)
commit4163851f7b997e24602cad8e0eae96d31a252548
tree4b012b4ad94b146bd8739389d1a1f330b344ccd6
parent2b13f7d4e3822ed4de37b73b009ff81932e884bb
[media] s5p-fimc: Use pinctrl API for camera ports configuration

Before the camera ports can be used the pinmux needs to be configured
properly. This patch adds a function to set the camera ports pinctrl
to a default state within the media driver's probe().
The camera port(s) are then configured for the video bus operation.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/devicetree/bindings/media/samsung-fimc.txt
drivers/media/platform/s5p-fimc/fimc-mdevice.c
drivers/media/platform/s5p-fimc/fimc-mdevice.h