On Wednesday 24 August 2011 01:55:04 Angelo Dureghello wrote:

> Great, bingo.
>
> The board is a custom board designed by me, and a good reason why the
> ds1307 don't work is that has been powered at 3.3V. I will try, just for
> test to add some diodes to go almost over > 4.5, and let you know. Pullups
> are good, as specified in the datasheet. Once it work there must be a kind
> of autodetection/probe, right ?

Documentation/i2c/instantiating-devices describes the various ways to get an 
i2c device instantiated.

Typically with embedded systems you use method 1 which means you'll have to 
explicitly setup the device.   I usually put this in 
platform/<target>/config.c, with the call to i2c_register_board_info in 
init_bsp() just before the call to platform_add_devices.
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to