linux/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
bast-ide.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
bast-irq.c Merge branch 's3c-move' into devel 2008-10-14 22:24:51 +01:00
dma.c S3C24XX: Move and update IIS headers 2009-03-05 12:00:59 +00:00
gpio.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
h1940-bluetooth.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
irq.c [ARM] S3C24XX: Move files out of include/asm-arm/plat-s3c* 2008-10-07 22:26:09 +01:00
Kconfig [ARM] S3C24XX: Split DCLK/CLKOUT definitions out of clock.c 2008-12-15 21:46:00 +00:00
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
Makefile [ARM] S3C2410: Move base clock code to plat-s3c24xx 2008-12-15 21:45:47 +00:00
Makefile.boot
nor-simtec.c [ARM] S3C24XX: Fix nor-simtec driver sparse errors 2008-08-26 22:56:20 +01:00
nor-simtec.h [ARM] S3C24XX: Add physmap device for all Simtec NOR equiped boards. 2008-07-03 16:51:28 +01:00
pm-h1940.S [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
pm.c [ARM] S3C: Rename sleep.S functions to be non-cpu specific 2009-03-08 12:37:05 +00:00
s3c2410.c [ARM] S3C24XX: Update clock data on resume 2008-12-15 21:46:08 +00:00
sleep.S [ARM] S3C24XX: Move files out of include/asm-arm/plat-s3c* 2008-10-07 22:26:09 +01:00
usb-simtec.c USB: S3C: Move usb-control.h to platform include 2009-03-24 16:20:45 -07:00
usb-simtec.h [ARM] 4050/1: S3C24XX: remove old changelogs in arch/arm/mach-s3c2410 2006-12-17 23:38:02 +00:00