Re: [U-Boot] [PATCH v2] i2c: designware: Get clock rate from clock DM

2019-06-24 Thread Simon Goldschmidt
Am 12.06.2019 um 03:48 schrieb Ley Foon Tan: Get clock rate from clock DM if CONFIG_CLK is enabled. Otherwise, uses IC_CLK define. Signed-off-by: Ley Foon Tan Acked-by: Marek Vasut Reviewed-by: Simon Goldschmidt --- v2: - Changed u32 to unsigned int for bus_mhz. - Added ACK from Marek --

[U-Boot] [PATCH v2] i2c: designware: Get clock rate from clock DM

2019-06-11 Thread Ley Foon Tan
Get clock rate from clock DM if CONFIG_CLK is enabled. Otherwise, uses IC_CLK define. Signed-off-by: Ley Foon Tan Acked-by: Marek Vasut --- v2: - Changed u32 to unsigned int for bus_mhz. - Added ACK from Marek --- drivers/i2c/designware_i2c.c | 55 +--- 1 file c