Hi,
I am currently facing concern to manage gpio interrupt inside my device
driver with device tree. It is working fine with static platform_data
configuration.
My device is connected to i2c. Here is my how my node looks like:
&i2c2 {
clock-frequency = <40>;
status = "okay";
foo: f
= <&gpio5>;
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
enable = <&gpio5 29 GPIO_ACTIVE_HIGH>;
};
};
Is working fine :)
On Tuesday, April 8, 2014 11:27:55 AM UTC+2, Christophe Ricard wrote:
>
> Hi,
>
> I am currently facing concern to manage gpio