summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHangxiang Ma <hangxiang.ma@oss.qualcomm.com>2025-10-30 23:38:28 +0000
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-11-06 12:43:55 +0100
commitec697196d6b1c292feec12e3d9c0bd45b63ce5d3 (patch)
tree4f008813ed949a936f7042c050b62d918983d6e7
parentd5479f002fe7181fa249fab9c5268ecf38258ab2 (diff)
downloadlinux-ec697196d6b1c292feec12e3d9c0bd45b63ce5d3.tar.gz
linux-ec697196d6b1c292feec12e3d9c0bd45b63ce5d3.zip
media: qcom: camss: Enable setting the rate to camnoc_rt_axi clock
On hardware architectures where a single CAMNOC module is split into two, one for each of the real time (RT) and non real time (NRT) modules within camera sub system, processing VFE output over the AXI bus requires enabling and setting the appropriate clock rate for the RT CAMNOC. This change lays the groundwork for supporting such configurations. Signed-off-by: Hangxiang Ma <hangxiang.ma@oss.qualcomm.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Vijay Kumar Tumati <vijay.tumati@oss.qualcomm.com> Signed-off-by: Bryan O'Donoghue <bod@kernel.org> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
-rw-r--r--drivers/media/platform/qcom/camss/camss-vfe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/qcom/camss/camss-vfe.c b/drivers/media/platform/qcom/camss/camss-vfe.c
index 15a1524cd2df..55fb7547f84f 100644
--- a/drivers/media/platform/qcom/camss/camss-vfe.c
+++ b/drivers/media/platform/qcom/camss/camss-vfe.c
@@ -914,7 +914,8 @@ static int vfe_match_clock_names(struct vfe_device *vfe,
return (!strcmp(clock->name, vfe_name) ||
!strcmp(clock->name, vfe_lite_name) ||
!strcmp(clock->name, "vfe_lite") ||
- !strcmp(clock->name, "camnoc_axi"));
+ !strcmp(clock->name, "camnoc_axi") ||
+ !strcmp(clock->name, "camnoc_rt_axi"));
}
/*