]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
clk: meson: axg: add Video Clocks
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 15 Sep 2020 12:45:52 +0000 (14:45 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 23 Nov 2020 08:08:22 +0000 (09:08 +0100)
commit14ebb3154b8f3d562cb18331b08ff1a22609ae59
tree2b5402daa73712d5d3f68bd13ee5ecb081ac9a86
parentf069e7e752dbb5b69c919ed3eb1c3cfff780fc42
clk: meson: axg: add Video Clocks

Add the clocks entries used in the video clock path, the clock path is
doubled to permit having different synchronized clocks for different parts
of the video pipeline.

The AXG only has a single ENCL CTS clock and even if VCLK exist along
VCLK2, only VCLK2 is used since it clocks the MIPI DSI IP directly.

All dividers are flagged with CLK_GET_RATE_NOCACHE, and all gates are
flagged with CLK_IGNORE_UNUSED since they are currently directly handled by
the Meson DRM Driver.  Once the DRM Driver is fully migrated to using the
Common Clock Framework to handle the video clock tree, the
CLK_GET_RATE_NOCACHE and CLK_IGNORE_UNUSED will be dropped.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20200915124553.8056-4-narmstrong@baylibre.com
drivers/clk/meson/axg.c
drivers/clk/meson/axg.h