diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2015-04-02 15:00:06 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-12-24 01:27:27 +0100 |
commit | b28c9f91698acd1057a6428a22a23a1f704c8005 (patch) | |
tree | c0bec09ff665256fdb3c2e002b65b7dabc90ba18 /drivers/media/platform | |
parent | 7d76bb0ef26aaf887880e07b7bcc6bb5f75714cd (diff) |
mxc_v4l2_capture: let the camera driver set mipi/parallel
The camera driver knows if it uses mipi or parallel, and in case a camera
can do both it makes sense that this is in the device tree node for the
camera and not the generic mxc_v4l2_capture.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 09d5f1a3ad615b96d9f01bca0622d41f20c3011b)
(cherry picked from commit c8444583c7eb6a8d5124959a30ad452fb4914dae)
(cherry picked from commit 518d4eeb0a0b2fadc32c9688aba220993a22b7c8)
Diffstat (limited to 'drivers/media/platform')
-rw-r--r-- | drivers/media/platform/mxc/capture/mxc_v4l2_capture.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/mxc/capture/mxc_v4l2_capture.h b/drivers/media/platform/mxc/capture/mxc_v4l2_capture.h index 8a18c33b48dc..00abd695d7d7 100644 --- a/drivers/media/platform/mxc/capture/mxc_v4l2_capture.h +++ b/drivers/media/platform/mxc/capture/mxc_v4l2_capture.h @@ -257,6 +257,7 @@ struct sensor_data { struct clk *sensor_clk; int ipu_id; int csi; + int mipi_camera; /* 0: parallel camera hw if, != 0: mipi csi hw if */ void (*io_init)(void); }; |