Welcome, Guest

Author Topic: i2c with kernel 3.10  (Read 1702 times)

wigyori

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
i2c with kernel 3.10
« on: July 10, 2013, 12:38:16 AM »
Hi all,

Has someone else tried to get i2c working with a 3.10 kernel? After forwardporting Koliqi's patchset for i2c into 3.10, inserting the i2c module fails with:

[    0.370000] mxs-i2c 80058000.i2c: could not find pctldev for node /apb@80000000/apbh@80000000/i2c1@0, deferring probe
[    0.380000] platform 80058000.i2c: Driver mxs-i2c requests probe deferral

The DMA-related commit changes a lot and it seems to be the culprit:

https://github.com/torvalds/linux/commit/f30fb03d4d3abe2da86918a92df0964cdf933e82

What I see here is that on dma_apbx, interrupt 27 is not set:

                               interrupts = <7 5 9 26
                                              19 0 25 23
                                              60 58 9 0
                                              0 0 0 0>;
                                interrupt-names = "audio-adc", "audio-dac", "spdif-tx", "i2c",
                                                  "saif0", "empty", "auart0-rx", "auart0-tx",
                                                  "auart1-rx", "auart1-tx", "saif1", "empty",
                                                  "empty", "empty", "empty", "empty";


I'm assuming this could be the issue - can someone confirm?

Regards,
-w-