i2c stops working

Discussion around products based on ARM Cortex-A5 core.

Moderator: nferre

lgiordano
Posts: 9
Joined: Mon Nov 30, 2015 10:47 pm

i2c stops working

Fri May 20, 2016 3:00 pm

Hi,
Im using a SAMA5D36 module on my custom board.

On my board I added an i2c IC (ADP5588 matrix keyboard scanner) to i2c-1. It is already supported by linux and it is working fine.
However, suddenly, the following message shows up:
at91_i2c f0018000.i2c: controller timed out

Then, i2c-1 stops working. A reboot doesn't solve the issue, only a power off and power on.

I found some similar posts:
discussions/viewtopic.php/p,43801.html#p43801
discussions/viewtopic.php/f,12/t,23496.html

However, they point out a known bug at ACT8865 IC (which seems not to be present in my module, I have just sent an email to manufacturer for confirmation)

This is my dts file i2c-1 section:

Code: Select all

                        
i2c1: i2c@f0018000 {
    status = "okay";
    adp5588: keyboard@1b {
        compatible = "adp5588";
        reg = <0x1b>;
        interrupt-parent = <&pioC>;
        interrupts = <1 0x0>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_adp5588_irq>;
        wakeup-source;
    };
};
Any tips? Thanks in advance!

Return to “SAMA5D Cortex-A5 MPU”

Who is online

Users browsing this forum: No registered users and 1 guest