How to define gpio irq with device tree
Shawn Guo
shawn.guo at linaro.org
Tue Aug 14 02:46:16 EDT 2012
On Tue, Aug 14, 2012 at 01:46:46PM +0800, Hui Wang wrote:
> I generated a similar patch on the last week, only the linux-input
> part. please refer to https://patchwork.kernel.org/patch/1293451/
>
Ok. But can you rename property "irq-gpio" to "wakeup-gpios"?
Firstly, the idiom of gpio naming in DT is *-gpios, even though
most of time, it could be just one gpio. Secondly, as the pin is
accessed as a gpio only in egalax_wake_up_device for waking up the
device, "wakeup-gpios" sounds better?
--
Regards,
Shawn
More information about the linux-arm-kernel
mailing list