media: mach-pxa: Register the camera sensor fixed-rate clock
authorEzequiel Garcia <ezequiel@collabora.com>
Tue, 12 Jan 2021 19:49:14 +0000 (20:49 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 6 Feb 2021 08:37:14 +0000 (09:37 +0100)
commita52e17361987782ecea7cc6ed0dc1f37a11949a8
tree2317f087e45562e1cd966f780cf983106e993981
parent9fda25332c4b9e193f11f34130b6f3fdbafc11dc
media: mach-pxa: Register the camera sensor fixed-rate clock

The pxa-camera capture driver currently registers a v4l2-clk
clock, named "mclk", to represent the mt9m111 sensor clock.

Register a proper fixed-rate clock using the generic clock framework,
which will allow to remove the v4l2-clk clock in the pxa-camera
driver in a follow-up commit.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Acked-by: Arnd Bergmann <arnd@arndb.de> (for arch/arm/mach-*/)
Acked-by: Petr Cvek <petrcvekcz@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
arch/arm/mach-pxa/devices.c