I2C AT24 Probe is not called

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

klugja
Posts: 1
Joined: Mon Nov 26, 2018 6:29 pm

I2C AT24 Probe is not called

Mon Nov 26, 2018 7:33 pm

I am trying the linux4sam linux-at91-4.9 on a custom design.

Currently we are using Linux 3.12, which does not have this issue. I carried forward our device tree, and did make oldconfig.

I have put debug into the i2c core probe code, and it is not being called, let alone the at24 probe code.

/sys/bus/i2c/devices has nothing under it, nor is there anything in /dev

dmesg | grep i2c:
Kernel command line: mem=256M console=ttyS0,115200 root=/dev/mtdblock8 ro rootfstype=jffs2 dyndbg="file i2c-core.c +pfl"
i2c_register_driver:2191: i2c-core: driver [dummy] registered
i2c_register_driver:2191: i2c-core: driver [at24] registered
i2c /dev entries driver
i2c_register_driver:2191: i2c-core: driver [i2c-slave-eeprom] registered

We did not use i2c-slave-eeprom in 3.12.
blue_z
Location: USA
Posts: 1785
Joined: Thu Apr 19, 2007 10:15 pm

Re: I2C AT24 Probe is not called

Wed Nov 28, 2018 12:45 am

klugja wrote: I am trying the linux4sam linux-at91-4.9 on a custom design.
Using what SoC?

klugja wrote: Currently we are using Linux 3.12, which does not have this issue. I carried forward our device tree, and did make oldconfig.
Exactly what does "carried forward" mean?
FYI Device Trees are not portable, and are specific to the kernel version.

Regards

Return to “LINUX”

Who is online

Users browsing this forum: Google [Bot] and 1 guest