On 17 September 2013 15:52, MJ embd mj.embd@gmail.com wrote:
Hi Linaro,
I am trying to attach interrupt handlers to the push buttons on the arndale board. Your patch adds in dts information on the push buttons
menu {
label = "SW-TACT2";gpios = <&gpx1 4 1>;linux,code = <139>;gpio-key,wakeup;};I assume that <139> is the GPU number in base 10. Is this correct ?
No, that is the key code for MENU button, as defined in include/uapi/linux/input.h.
Also what is the significance of gpx1 and 4 1 ?
This tells us that we are using GPX1[4] gpio for this operation.