]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: designware: Get clock rate from clock DM
authorLey Foon Tan <ley.foon.tan@intel.com>
Wed, 12 Jun 2019 01:48:04 +0000 (09:48 +0800)
committerHeiko Schocher <hs@denx.de>
Tue, 9 Jul 2019 05:02:11 +0000 (07:02 +0200)
commit2d1e879c79f922a2d4c18c09c9363b76ce9e5643
tree1f9cf63ce20d539bca9adb5f38e5268b6ce9dede
parente3b93dcee88ff2c782790f8ad556d12f142efc4e
i2c: designware: Get clock rate from clock DM

Get clock rate from clock DM if CONFIG_CLK is enabled.
Otherwise, uses IC_CLK define.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/i2c/designware_i2c.c