clk: imx8mq: add PLL monitor output
authorLucas Stach <l.stach@pengutronix.de>
Mon, 25 Jan 2021 17:41:33 +0000 (18:41 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sat, 30 Jan 2021 13:35:15 +0000 (21:35 +0800)
commit75a352bc6611e79227328e39d42086b0eebf24f3
tree66a8b3c98cb794fb2d6eb50ac780e7f17a56e094
parent62a7c1c47ad54b3688c2763c6fa0d0c43af0ccad
clk: imx8mq: add PLL monitor output

The PLL monitor is mentioned as a debug feature in the reference manual,
but there are some boards that use this clock output as a reference clock
for board level components. Add support for those clocks in the clock
driver, so this clock output can be used properly.

Note that the VIDEO1, GPU and VPU mux inputs are rotated compared to the
description in the reference manual. The order in this patch has been
empirically validated.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx8mq.c
include/dt-bindings/clock/imx8mq-clock.h