]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: cdns: Support different bus speeds
authorMichal Simek <michal.simek@xilinx.com>
Thu, 14 Apr 2016 12:15:49 +0000 (14:15 +0200)
committerHeiko Schocher <hs@denx.de>
Tue, 17 May 2016 06:28:49 +0000 (08:28 +0200)
commitad72e7622bd587dc798fbac0351b558fb18caa97
treeac5d0eada6cd66d544a48e73e19fcc942cd65adc
parent6150be9094bb155022da3843b56e6314edf54305
i2c: cdns: Support different bus speeds

400kHz is maximum freq which can be used on Xilinx ZynqMP.
Support it with standard divider calculator.
Input freq is hardcoded to 100MHz input freq till we have clock driver
which can provide this information for exact configuration.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/i2c-cdns.c