]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: qcom: camss: Enable setting the rate to camnoc_rt_axi clock
authorHangxiang Ma <hangxiang.ma@oss.qualcomm.com>
Thu, 30 Oct 2025 23:38:28 +0000 (23:38 +0000)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Thu, 6 Nov 2025 11:43:55 +0000 (12:43 +0100)
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>
drivers/media/platform/qcom/camss/camss-vfe.c

index 15a1524cd2df298aa9141b5debff820f3272c9dd..55fb7547f84f1d9a7ea282fc731af8df14fcf54a 100644 (file)
@@ -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"));
 }
 
 /*