u-boot/arch/arm/mach-imx/mx7
Fabio Estevam c4d79448b0 mx7: clock: Use 60MHz for the I2C clocks
When an I2C clock is enabled inside enable_i2c_clk() the clock rate is
configured as PLL_SYS_MAIN_120M_CLK / 2 = 60MHz.

Currently, the I2C clock is retrieved from I2C1_CLK_ROOT, which
may not be the one that was enabled.

As there is no clock driver for the imx7d, it is better to return 60MHz
for the I2C clock.

This provides a workaround for the imx7d-pico board, where I2C4 is
connected to the PMIC.

With this change, it is possible to convert the imx7d-pico board
to DM_I2C and DM_PMIC.

Signed-off-by: Fabio Estevam <festevam@denx.de>
2023-01-30 23:23:02 +01:00
..
clock.c mx7: clock: Use 60MHz for the I2C clocks 2023-01-30 23:23:02 +01:00
clock_slice.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr.c ARM: imx: ddr: Add deskew register programming 2020-08-17 17:55:49 +02:00
Kconfig Convert CONFIG_IOMUX_SHARE_CONF_REG et al to Kconfig 2022-12-05 16:07:12 -05:00
Makefile imx: mx7: add system suspend/resume support 2018-09-04 08:47:23 +02:00
psci-mx7.c ARM: mx7: psci: fix suspend/resume e10133 workaround 2022-11-07 22:45:04 +01:00
psci-suspend.S imx: mx7: add system suspend/resume support 2018-09-04 08:47:23 +02:00
snvs.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
soc.c ARM: imx: bootaux: Fix LTO -Wlto-type-mismatch 2023-01-30 23:23:02 +01:00