v4l: vsp1: Add DT support
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 8 Apr 2014 16:40:13 +0000 (13:40 -0300)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:12 +0000 (11:14 +0100)
commit82be7b9356dc7a1ba5a0657637297a10948500f1
treee7a19006cdf31782416ec9a7e276db44cac20716
parent74b8ea165f8600c90d54aebd04549f6673540805
v4l: vsp1: Add DT support

Implement support for the VSP1 DT bindings in the VSP1 driver. The
driver now first retrieves platform data either from the platform data
pointer or by reading the device tree node, and then validates it
regardless of the platform data source.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
(cherry picked from commit 0b82fb95d9edf7bdfc6486c67a42dbf9b1e97765)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/media/platform/vsp1/vsp1_drv.c