original_kernel/arch/arm/mach-s3c2410
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/mach Merge branch 'origin' into devel 2009-03-28 20:29:51 +00:00
Kconfig
Makefile
Makefile.boot
bast-ide.c
bast-irq.c
dma.c S3C24XX: Move and update IIS headers 2009-03-05 12:00:59 +00:00
gpio.c
h1940-bluetooth.c
irq.c
mach-amlm5900.c [ARM] S3C: Make i2c device definition common to plat-s3c 2008-12-15 23:40:26 +00:00
mach-bast.c i2c-s3c2410: Simplify bus frequency calculation 2009-04-07 10:18:33 +01:00
mach-h1940.c [ARM] S3C: Rename s3c2410_pm_init to s3c_pm_init. 2009-03-08 12:35:47 +00:00
mach-n30.c i2c-s3c2410: Simplify bus frequency calculation 2009-04-07 10:18:33 +01:00
mach-otom.c [ARM] S3C: Make i2c device definition common to plat-s3c 2008-12-15 23:40:26 +00:00
mach-qt2410.c [ARM] S3C: Rename s3c2410_pm_init to s3c_pm_init. 2009-03-08 12:35:47 +00:00
mach-smdk2410.c [ARM] S3C: Make i2c device definition common to plat-s3c 2008-12-15 23:40:26 +00:00
mach-tct_hammer.c [ARM] S3C: Make i2c device definition common to plat-s3c 2008-12-15 23:40:26 +00:00
mach-vr1000.c [ARM] S3C: Make i2c device definition common to plat-s3c 2008-12-15 23:40:26 +00:00
nor-simtec.c
nor-simtec.h
pm-h1940.S
pm.c [ARM] S3C: Rename sleep.S functions to be non-cpu specific 2009-03-08 12:37:05 +00:00
s3c2410.c
sleep.S
usb-simtec.c USB: S3C: Move usb-control.h to platform include 2009-03-24 16:20:45 -07:00
usb-simtec.h