Re: tqm5200s i2c bus timeout

2013-01-04 Thread Johannes Braun
>> The good thing is that I can see all the devices now. Also the driver >> for the rtc clock is loading. But the time can`t be read through the >> registered rtc0 device. This is the kernel log. But I think this is a >> driver issue and I should have a look inside the driver. >> >> [1.483761]

Re: tqm5200s i2c bus timeout

2013-01-04 Thread Anatolij Gustschin
On Fri, 4 Jan 2013 08:50:03 +0100 Johannes Braun wrote: ... > The good thing is that I can see all the devices now. Also the driver > for the rtc clock is loading. But the time can`t be read through the > registered rtc0 device. This is the kernel log. But I think this is a > driver issue and I sh

Re: tqm5200s i2c bus timeout

2013-01-03 Thread Johannes Braun
> This is expected since you didn't add sub-nodes for your i2c devices > 24c32a and PCF8563 in the i2c adapter node. Ok this was the issue. >> Is there something wrong with my dtb file or is it a bug in the mpc-i2c >> driver > > It is an issue with our dtb file. Please look at the I2C eeprom > s

Re: tqm5200s i2c bus timeout

2013-01-03 Thread Anatolij Gustschin
Hi, On Thu, 3 Jan 2013 14:20:41 +0100 Johannes Braun wrote: > Hello, > > I hope someone could help me with my problem. Currently I am porting > a new kernel (3.3.8) for a tqm5200s based board. > The previous kernel was 2.6.23. The new kernel version is needed because > of support for a wireless

Re: tqm5200s i2c bus timeout

2013-01-03 Thread Johannes Braun
> The dtb file from the kernel 2.6.23 looks as follows: > i2c@3d40 { > > #address-cells = <1>; > #size-cells = <0>; > compatible = "fsl,mpc5200-i2c","fsl-i2c"; > reg = <0x3d40 0x40>; > interrupts = <2 16 0>; > fsl5200-clocking; > }; sry, but this was a mistake. This is the

tqm5200s i2c bus timeout

2013-01-03 Thread Johannes Braun
Hello, I hope someone could help me with my problem. Currently I am porting a new kernel (3.3.8) for a tqm5200s based board. The previous kernel was 2.6.23. The new kernel version is needed because of support for a wireless card. I got issues with the i2c bus and this kernel. When the kernel boot