Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Hangxiang Ma and committed by
Hans Verkuil
ec697196 d5479f00

+2 -1
+2 -1
drivers/media/platform/qcom/camss/camss-vfe.c
··· 914 914 return (!strcmp(clock->name, vfe_name) || 915 915 !strcmp(clock->name, vfe_lite_name) || 916 916 !strcmp(clock->name, "vfe_lite") || 917 - !strcmp(clock->name, "camnoc_axi")); 917 + !strcmp(clock->name, "camnoc_axi") || 918 + !strcmp(clock->name, "camnoc_rt_axi")); 918 919 } 919 920 920 921 /*