]> git.ipfire.org Git - thirdparty/linux.git/commit
media: qcom: camss: csiphy-3ph: Move CSIPHY variables to data field inside csiphy...
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Mon, 13 Jan 2025 04:31:22 +0000 (10:01 +0530)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 6 Feb 2025 12:49:31 +0000 (13:49 +0100)
commitfbce0ca24c3a171cdbbc88d59a2ec91809edc976
tree70f257e906902c7a27c27b7203449430da994995
parenta2a03937d44eaa105a2d6e6b595b180e5d624774
media: qcom: camss: csiphy-3ph: Move CSIPHY variables to data field inside csiphy struct

A .data field in the csiphy device structure allows us to extend out the
register layout of the three phase capable CSIPHY layer.

Move the existing lane configuration structure to an encapsulating
structure -> struct csiphy_device_regs which is derived from the .data
field populated at PHY init time, as opposed to calculated at lane
configuration.

Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c
drivers/media/platform/qcom/camss/camss-csiphy.h