lkml.org 
[lkml]   [2013]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [V3,3/7] ARM: dts: Add gpio-button entries for Arndale board
From
PS:Adding linux kernel for a larger forum comments

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 ?
Also what is the significance of gpx1 and 4 1 ?

As per my understanding if 139 the GPIO number then it should be
mapped to a GPIO register where the state Input/ouput/Interrupt has to
be set.

I am not able to find that register in the
"Exynos_5_Dual_User_Manaul_Public_REV100-0", All I could find a set of
GPXXXX registers but no mapping between <139> and those registers.

Can anyone explain the steps, on how to associate the push button to INT (IRQ)

Thanks in Advance..


\
 
 \ /
  Last update: 2013-09-17 13:01    [W:0.039 / U:0.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site