Re: gpio: mvebu: switch to regmap for register access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chris,
 
 On ven., juin 09 2017, Chris Packham <Chris.Packham@xxxxxxxxxxxxxxxxxxx> wrote:

> On 09/06/17 15:36, Chris Packham wrote:
>> Hi Thomas,
>> 
>> Doing some more testing against linux-next and I've found that this
>> patch causes a flood of bad interrupts on my armada-xp-98dx3236 based
>> board (kernel startup output below). If I revert this patch I can boot
>> as normal.
>> 
>> This doesn't happen on the 98dx3236 DB or another Armada-385 based board
>> I have so it's probably related something specific to this board
>> (probably one of the i2c gpios based on the log messages).
>> 
>> Any thoughts on where I should start looking?
>
> Sure enough I think the problem is related to a pca9555 connected to one 
> of the CPU gpios.
>
> 	gpio@27 {
> 		#address-cells = <2>;
> 		#size-cells = <0>;
> 		compatible = "nxp,pca9555";
> 		reg = <0x27>;
> 		gpio-controller;
> 		#gpio-cells = <2>;
> 		interrupt-parent = <&gpio0>;
> 		interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
> 	};
>
> If I remove the interrupt properties I don't see the problem.

I found the bug and I've just sent a fix for it.

Thanks for the report,

Gregory

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux