android_kernel_xiaomi_sm8350/arch/arm/plat-s3c/include/plat
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
..
adc.h [ARM] S3C24XX: ADC driver core 2008-12-18 14:20:04 +00:00
audio.h S3C: Move <mach/audio.h> to <plat/audio.h> 2009-03-05 12:01:00 +00:00
clock.h [ARM] S3C: Update time initialisation to fix S3C64XX time problems 2008-12-16 10:13:02 +00:00
cpu-freq.h [ARM] S3C: Add <plat/cpu-freq.h> for initial cpufreq definitions 2008-12-15 21:45:45 +00:00
cpu.h [ARM] S3C64XX: Fix missing definition of s3c64xx_init_io() 2008-12-15 23:48:20 +00:00
debug-macro.S [ARM] S3C24A0: Debug macro definitions 2008-12-15 21:46:33 +00:00
devs.h [ARM] S3C: Add new FB device definition 2008-12-15 23:56:53 +00:00
fb.h [ARM] S3C: Add register defines for new style framebuffer 2008-12-15 23:55:10 +00:00
gpio-cfg-helpers.h [ARM] S3C: Add new GPIO configuration calls 2008-12-15 23:34:15 +00:00
gpio-cfg.h [ARM] S3C: Add new GPIO configuration calls 2008-12-15 23:34:15 +00:00
gpio-core.h [ARM] S3C: Add new GPIO configuration calls 2008-12-15 23:34:15 +00:00
iic-core.h [ARM] S3C: Add header for initial i2c device core setup. 2008-12-15 23:47:03 +00:00
iic.h i2c-s3c2410: Simplify bus frequency calculation 2009-04-07 10:18:33 +01:00
map-base.h [ARM] S3C24XX: Split map.h into plat-s3c24xx and mach-s3c2410 2008-12-15 21:46:38 +00:00
nand.h [ARM] S3C: Move nand headers to arch/arm/plat-s3c/include/plat 2008-10-30 10:17:13 +00:00
pm.h [ARM] S3C: Tidy sleep code path to fix call flow 2009-03-10 11:48:07 +00:00
regs-ac97.h [ARM] S3C: Move regs-ac97.h to arch/arm/plat-s3c/include/plat. 2008-10-30 10:17:14 +00:00
regs-adc.h
regs-fb.h [ARM] S3C: Add register defines for new style framebuffer 2008-12-15 23:55:10 +00:00
regs-iic.h [ARM] S3C: Move i2c headers to arch/arm/plat-s3c/include/plat. 2008-10-30 10:17:12 +00:00
regs-irqtype.h [ARM] S3C: Move S3C2410_EXTINT to common regs-irqtype.h header 2008-12-15 21:46:13 +00:00
regs-nand.h [ARM] S3C: Move nand headers to arch/arm/plat-s3c/include/plat 2008-10-30 10:17:13 +00:00
regs-rtc.h [ARM] S3C: Move regs-rtc.h to arch/arm/plat-s3c/include/plat 2008-10-30 10:17:12 +00:00
regs-s3c2412-iis.h ASoC: Fix Samsung S3C2412_IISMOD_SDF_{MSB,LSB} definitions 2009-03-09 18:28:17 +00:00
regs-sdhci.h [ARM] S3C: Add Samsung SDHCI register definitions 2008-12-15 23:39:24 +00:00
regs-serial.h [ARM] S3C24XX: Add fourth UART definition for S3C2443 2008-12-18 16:26:16 +00:00
regs-timer.h [ARM] S3C64XX: Update TCFG for new timer divider settings. 2008-12-16 10:01:23 +00:00
regs-watchdog.h [ARM] S3C: Move regs-watchdog.h to arch/arm/plat-s3c/include/plat 2008-10-30 10:17:12 +00:00
sdhci.h [ARM] S3C: Fix SDHCI setup compilation 2008-12-15 23:54:21 +00:00
uncompress.h [ARM] 5376/1: S3C24XX: Fix sparse errors in platform uncompress.h 2009-02-19 11:30:19 +00:00
usb-control.h USB: S3C: Move usb-control.h to platform include 2009-03-24 16:20:45 -07:00