summaryrefslogtreecommitdiff
path: root/scripts/basic/Makefile
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2023-01-03 10:19:39 -0300
committerStefano Babic <[email protected]>2023-01-30 23:23:02 +0100
commitc4d79448b095b4f792556f361c1a3667c3375673 (patch)
treea763fab2a6b99d360957fa8615bad8d9541ec64b /scripts/basic/Makefile
parent3f7afddc9cbdcbbc47a0b814a132b76593cf8b28 (diff)
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 <[email protected]>
Diffstat (limited to 'scripts/basic/Makefile')
0 files changed, 0 insertions, 0 deletions