OpenCloudOS-Kernel/arch/arm/plat-s3c
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
..
include i2c-s3c2410: Simplify bus frequency calculation 2009-04-07 10:18:33 +01:00
Kconfig [ARM] s3c: S3C options should depend on PLAT_S3C 2008-12-21 15:02:07 +00:00
Makefile [ARM] S3C: Split the resume memory check code from pm.c 2009-03-08 12:33:39 +00:00
clock.c [ARM] S3C: Remove unnecessary <linux/delay.h> includes 2008-12-18 16:36:02 +00:00
dev-fb.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
dev-hsmmc.c [ARM] S3C6410: Add helper for setting SDHCI device information 2008-12-15 23:39:34 +00:00
dev-hsmmc1.c [ARM] S3C: Add SDHCI (HSMMC) channel 1 device definition 2008-12-15 23:40:07 +00:00
dev-i2c0.c i2c-s3c2410: Simplify bus frequency calculation 2009-04-07 10:18:33 +01:00
dev-i2c1.c i2c-s3c2410: Simplify bus frequency calculation 2009-04-07 10:18:33 +01:00
gpio-config.c [ARM] S3C: Add new GPIO configuration calls 2008-12-15 23:34:15 +00:00
gpio.c [ARM] S3C: Add GPIO chip tracking 2008-12-15 23:33:42 +00:00
init.c [ARM] S3C: Remove unnecessary <linux/delay.h> includes 2008-12-18 16:36:02 +00:00
pm-check.c [ARM] S3C: Do not kmalloc/kfree during inner suspend code. 2009-03-08 13:19:54 +00:00
pm.c [ARM] S3C: Tidy sleep code path to fix call flow 2009-03-10 11:48:07 +00:00
pwm-clock.c [ARM] S3C: Update time initialisation to fix S3C64XX time problems 2008-12-16 10:13:02 +00:00
time.c [ARM] S3C: Update time initialisation to fix S3C64XX time problems 2008-12-16 10:13:02 +00:00