msm: vidc: Read platform data from board file in V4L2 driver

Add support for board files and platform private data in the probe.
Based on whether target and kernel supports DT, read the platform
specific data from the board file or DT.
This is required for supporting V4L2 video driver on A-family chipsets.

Change-Id: Id5b89c5eef329dc4e5c5ba6255985bfd39fcbdb2
Signed-off-by: Arun Menon <menon@codeaurora.org>
[smuckle@codeaurora.org: backported from msm-3.7]
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
8 files changed