media: camss: csiphy: Move to hardcode CSI Clock Lane number
authorRobert Foss <robert.foss@linaro.org>
Mon, 6 Dec 2021 15:18:10 +0000 (16:18 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 17 Feb 2022 08:39:04 +0000 (09:39 +0100)
commit4abb21309fdac4fa0eb119faadc79803c30cdf97
tree1a4e613760708ba26b92b5df637b0fa58b852838
parent4a92fc6e55da5b87cecb572275deaff6ac9dd27e
media: camss: csiphy: Move to hardcode CSI Clock Lane number

QCOM ISPs do not support having a programmable CSI Clock Lane number.

In order to accurately reflect this, the different CSIPHY HW versions
need to have their own register layer for computing lane masks.

Signed-off-by: Robert Foss <robert.foss@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c
drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c
drivers/media/platform/qcom/camss/camss-csiphy.c
drivers/media/platform/qcom/camss/camss-csiphy.h