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

2016-10-03 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 Reviewed-by: Martin Sperl --- drivers/i2c/busses/i2c-bcm2835.c | 51

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

2016-10-03 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 Reviewed-by: Martin Sperl --- drivers/i2c/busses/i2c-bcm2835.c | 51 +--- 1 file changed, 32