Document the fact that ds driver works also with DS real-time clock chip. Is there an entry in your device tree for the I2C, with the proper compatible string? I’m not sure if adding yet another driver specific header is a good idea. Do you know what means this part of the. Hold down a key during boot from power-up or reset, and at the u-boot prompt enter help to see if there are I2C tools built-in.
|Date Added:||23 May 2008|
|File Size:||49.86 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Hold down a key during boot from power-up or reset, and at the u-boot prompt enter help to see if there are I2C tools built-in. I had to do similar thing for Ethernet ds1393 in u-boot script, but this was to enable external PHY through gpio: But still after I2C probing there was nothing on oscilloscope.
I am having troubles with I2C driver. Adding a new RTC to i2c-rtc-overlay. In the command list you should see a line that looks like this:. In the meantime you posted reply with pre-loader issue, and after re-compiling the pre-loader, now I can see transmission on scope, as well as:.
I will try your other recommendations and let you know. This driver can also be built as a module. I have played around with u-boot, and noticed that I2C was held in reset. I2C tools returns following:.
I have no concrete proposal but it really sounds like a common RTC interface would be needed here – if it doesn’t exist already. Does anyone knows where could be the problem. There is no reason why it can’t be initialised during the normal driver initialisation – which is how we do it on a number of ARM platforms.
I2C Help Pic 18f with RTC DS | Microchip
Select all date Thu Jan 1 I submitted a small patch to the driver to enable this when the “wakeup-source” property is specified along with “m41t62”. Then you can write the time in seconds to that file and the alarm interrupt will occur at that time.
A line similar to this:. It should be available even sooner than rootfs is mounted. Therefore RTC drivers are usualy compiled in ds13339. And scan is finished instantly.
CONFIG_SENSORS_DS1337: Dallas Semiconductor DS1337 and DS1339 Real Time Clock
Linux has booted, and now shows [ 1. I had to do similar thing for Ethernet controller in u-boot script, but this was to enable external PHY through gpio:. Is there an entry in your device tree for the I2C, with the proper compatible string? Hello Tim, linkx is the entry for I2C in my device tree. If hwclock at the linux prompt works, your I2C bus is working. Actually, I have tried to add another driver file name in device tree. A Gossamer Threads company. Ds13339 not sure if adding yet another driver specific header is a good idea.
Document the fact that ds driver works also with DS real-time clock chip. Those with an ack get listed.
Select all hwclock -r hwclock: Vs1339 index All times are UTC. Make sure the pre-loader is generated with the output from your design, and that your BSEL pins are pointing to the right place to get it. The problem is that Linux is not loading the driver.