]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: stm32: dcmipp: add has_csi2 & needs_mclk in match data
authorAlain Volmat <alain.volmat@foss.st.com>
Mon, 13 Jan 2025 08:57:59 +0000 (09:57 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Sat, 15 Feb 2025 14:22:50 +0000 (15:22 +0100)
commit09518df7856e36b221b4012a69a6854797d46925
tree4fe49d772881ee770ae475ac4a111198e0385f1d
parent052b228faaf47aa3cb5aba9abdbb70622f20959e
media: stm32: dcmipp: add has_csi2 & needs_mclk in match data

Introduce two variable has_csi and has_mclk within the
match data of the driver in order to know, depending on
the compatible if CSI-2 interface is available and if
the mclk clk should be retrieved.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-core.c