[PATCH v2 7/8] i2c: bcm2835: Add support for dynamic clock

2016-09-27 Thread Noralf Trønnes
Support a dynamic clock by reading the frequency and setting the divisor in the transfer function instead of during probe. Signed-off-by: Noralf Trønnes --- drivers/i2c/busses/i2c-bcm2835.c | 51 +--- 1 file changed, 32 insertions(+), 19

[PATCH v2 7/8] i2c: bcm2835: Add support for dynamic clock

2016-09-27 Thread Noralf Trønnes
Support a dynamic clock by reading the frequency and setting the divisor in the transfer function instead of during probe. Signed-off-by: Noralf Trønnes --- drivers/i2c/busses/i2c-bcm2835.c | 51 +--- 1 file changed, 32 insertions(+), 19 deletions(-) diff