i2c stops working
Posted: 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:
Any tips? Thanks in advance!
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;
};
};