RE: [PATCH] omap: Add I2C bus 1 initialisation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>On Mon, Apr 12, 2010 at 06:31:44AM +0200, ext viral.mehta@xxxxxxxxxxxxxxx wrote:
>> static int __init omap2430_i2c_init(void)
>> {
>>-       omap_register_i2c_bus(1, 400, NULL, 0);
>>+       omap_register_i2c_bus(1, 100, sdp2430_i2c1_boardinfo,
>>+                       ARRAY_SIZE(sdp2430_i2c1_boardinfo));

>why do you decrease bus frequency ?

1. This works for me.
2. I took refernce from http://linux.omap.com/pub/kernel/2430sdp/source/linux-2.6.14-omap2-v3.tgz
It uses same clock rate, this kernel is again fully working on OMAP2430 sdp board.
3. setting bus0 speed to 100 is Standard Mode and 400 is Fast Mode, may be working on fast mode is requiring some another changes which I am not aware of.
4. Sorry, dont have access to all HW manuals so that I can clearly point out about clk rate/bus speed data and settings.

--
Viral

______________________________________________________________________

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux