diff options
author | Todor Tomov <todor.tomov@linaro.org> | 2018-07-25 12:38:35 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-02 06:35:09 -0400 |
commit | cba3819d1e93fb77a9323554ccf7b564276c089b (patch) | |
tree | b75b510a4be55466049d96b999c8bb8ba024dea4 /drivers/media/platform/qcom/camss/camss-csid.h | |
parent | 4e1abf66feba454b1dc3d4c7d86759346ec1f134 (diff) | |
download | linux-cba3819d1e93fb77a9323554ccf7b564276c089b.tar.bz2 |
media: camss: Format configuration per hardware version
As the 8x16 and 8x96 support different formats, separate the
arrays which contain the supported formats. For the VFE also
add separate arrays for RDI and PIX subdevices.
Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/qcom/camss/camss-csid.h')
-rw-r--r-- | drivers/media/platform/qcom/camss/camss-csid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/qcom/camss/camss-csid.h b/drivers/media/platform/qcom/camss/camss-csid.h index ed605fd3bb87..1824b3745e10 100644 --- a/drivers/media/platform/qcom/camss/camss-csid.h +++ b/drivers/media/platform/qcom/camss/camss-csid.h @@ -58,6 +58,8 @@ struct csid_device { struct v4l2_mbus_framefmt fmt[MSM_CSID_PADS_NUM]; struct v4l2_ctrl_handler ctrls; struct v4l2_ctrl *testgen_mode; + const struct csid_format *formats; + unsigned int nformats; }; struct resources; |