]> git.baikalelectronics.ru Git - uboot.git/commit
arm: imx: imx8mq: add support to get values for more clocks
authorHeiko Thiery <heiko.thiery@gmail.com>
Thu, 9 Sep 2021 12:59:18 +0000 (14:59 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 12:38:38 +0000 (13:38 +0100)
commit1e705d33998ce6a2a794f90bb3155a768fd5cc3c
tree54ef8c763801b149850af6948214f096bfc66cb5
parentfa20cda137c847b5dafabaa35999924eff40bf27
arm: imx: imx8mq: add support to get values for more clocks

Return the root clock values for MXC_CSPI_CLK, MXC_I2C_CLK,
MXC_UART_CLK and MXC_QSPI_CLK.

At least for the I2C clock the missing support leads to a wrong
configured I2C frequency. The expected value is 100kHz but the resulting
value is about 1MHz.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/mach-imx/imx8m/clock_imx8mq.c