summaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-ctrls.c
diff options
context:
space:
mode:
authorSylwester Nawrocki2013-03-29 18:12:39 +0100
committerMauro Carvalho Chehab2013-03-31 15:54:18 +0200
commit2b13f7d4e3822ed4de37b73b009ff81932e884bb (patch)
tree15a7e2ffc126318fdfd6244957ae64b18b03ddc9 /drivers/media/v4l2-core/v4l2-ctrls.c
parent[media] s5p-fimc: Add device tree support for the media device driver (diff)
downloadkernel-qcow2-linux-2b13f7d4e3822ed4de37b73b009ff81932e884bb.tar.gz
kernel-qcow2-linux-2b13f7d4e3822ed4de37b73b009ff81932e884bb.tar.xz
kernel-qcow2-linux-2b13f7d4e3822ed4de37b73b009ff81932e884bb.zip
[media] s5p-fimc: Add device tree based sensors registration
The sensor (I2C and/or SPI client) devices are instantiated by their corresponding control bus drivers. Since the I2C client's master clock is often provided by a video bus receiver (host interface) or other than I2C/SPI controller device, the drivers of those client devices are not accessing hardware in their driver's probe() callback. Instead, after enabling clock, the host driver calls back into a sub-device when it wants to activate them. This pattern is used by some in-tree drivers and this patch also uses it for DT case. This patch is intended as a first step for adding device tree support to the S5P/Exynos SoC camera drivers. The second one is adding support for asynchronous sub-devices registration and clock control from sub-device driver level. The bindings shall not change when asynchronous probing support is added. 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>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ctrls.c')
0 files changed, 0 insertions, 0 deletions