]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: camss: csiphy: Make CSIPHY status macro cross-platform
authorHangxiang Ma <hangxiang.ma@oss.qualcomm.com>
Mon, 1 Dec 2025 06:25:36 +0000 (22:25 -0800)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 13 Jan 2026 09:25:00 +0000 (10:25 +0100)
commit26efe43f2ecd11de15c430a5e5069a6fc1372a5c
treee2ecf9bfb398a7f5c7fe24b137dfde3b907295eb
parent94d14ac1f2d385e57b651b3bef1026a7b8f9cf38
media: camss: csiphy: Make CSIPHY status macro cross-platform

The current value of '0xb0' that represents the offset to the status
registers within the common registers of the CSIPHY has been changed on
the newer SOCs and it requires generalizing the macro using a new
variable 'common_status_offset'. This variable is initialized in the
csiphy_init() function.

Signed-off-by: Hangxiang Ma <hangxiang.ma@oss.qualcomm.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c
drivers/media/platform/qcom/camss/camss-csiphy.h