android_kernel_xiaomi_sm8350/arch/arm/mach-s3c2412
Daniel Silverstone c564e6ae6c i2c-s3c2410: Simplify bus frequency calculation
The platform data for the i2c-s3c2410 driver used to allow a min,
max and desired frequency for the I2C bus. This patch reduces it
to simply a desired frequency ceiling and corrects all the uses
of the platform data appropriately.

This means, for example, that on a system with a 66MHz fclk, a
request for 100KHz will achieve 65KHz which is safe and
acceptable, rather than 378KHz which it would have achieved
without this change.

Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Daniel Silverstone <dsilvers@simtec.co.uk>
[ben-linux@fluff.org: tidy subject and description]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2009-04-07 10:18:33 +01:00
..
clock.c [ARM] S3C: Update time initialisation to fix S3C64XX time problems 2008-12-16 10:13:02 +00:00
dma.c S3C24XX: Move and update IIS headers 2009-03-05 12:00:59 +00:00
gpio.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
irq.c Merge branch 's3c-move' into devel 2008-10-14 22:24:51 +01:00
Kconfig [ARM] Arrange for platforms to select appropriate CPU support 2008-11-27 12:38:00 +00:00
mach-jive.c i2c-s3c2410: Simplify bus frequency calculation 2009-04-07 10:18:33 +01:00
mach-smdk2413.c [ARM] S3C: Make i2c device definition common to plat-s3c 2008-12-15 23:40:26 +00:00
mach-vstms.c [ARM] S3C: Make i2c device definition common to plat-s3c 2008-12-15 23:40:26 +00:00
Makefile
pm.c [ARM] S3C: Move PM support functions to common location 2009-03-08 12:23:51 +00:00
s3c2412.c [ARM] S3C24XX: Update clock data on resume 2008-12-15 21:46:08 +00:00
sleep.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00