summaryrefslogtreecommitdiff
path: root/drivers/media/platform/qcom/camss/camss-csiphy.c
diff options
context:
space:
mode:
authorTodor Tomov <todor.tomov@linaro.org>2018-07-25 19:38:30 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-02 13:25:48 +0300
commit4138a88b6093e1f8bf1b8a95c653bec6c854f119 (patch)
tree01d616638bcd5c71528c85e62f497c4467281cb9 /drivers/media/platform/qcom/camss/camss-csiphy.c
parent369f81f350b5c03599d8f82e31f9a916d7bfe80a (diff)
downloadlinux-4138a88b6093e1f8bf1b8a95c653bec6c854f119.tar.xz
media: camss: csiphy: Add support for 8x96
Add CSIPHY hardware dependent part for 8x96. 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-csiphy.c')
-rw-r--r--drivers/media/platform/qcom/camss/camss-csiphy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/qcom/camss/camss-csiphy.c b/drivers/media/platform/qcom/camss/camss-csiphy.c
index d35eea03ebf8..7da705147966 100644
--- a/drivers/media/platform/qcom/camss/camss-csiphy.c
+++ b/drivers/media/platform/qcom/camss/camss-csiphy.c
@@ -565,6 +565,8 @@ int msm_csiphy_subdev_init(struct camss *camss,
if (camss->version == CAMSS_8x16)
csiphy->ops = &csiphy_ops_2ph_1_0;
+ else if (camss->version == CAMSS_8x96)
+ csiphy->ops = &csiphy_ops_3ph_1_0;
else
return -EINVAL;