clk: imx6q: Register UART clocks
authorAdam Ford <aford173@gmail.com>
Tue, 18 Mar 2025 23:38:30 +0000 (18:38 -0500)
committerFabio Estevam <festevam@gmail.com>
Wed, 19 Mar 2025 16:17:21 +0000 (13:17 -0300)
commitc60bdd27401131ef46e6127e293ea489855a3cef
tree26cee12f9ac1a6521e25154b4c42dcb0cd54f97d
parent4e73c627cb5e53a058b8dbc2ede32f8a473acdd1
clk: imx6q: Register UART clocks

In order to use the driver model and clock system to enable UART
clocks from the serial driver, it's necessary to register the UART
clocks.  With the helper function to check for imx6qp vs other
variants, the UART can register for both scenarios.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/clk/imx/clk-imx6q.c