aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorBen Gardiner <[email protected]>2010-12-09 16:51:04 -0500
committerKevin Hilman <[email protected]>2010-12-22 11:45:18 -0800
commit75929f5e2bcba7cc328fcf9a3d7ba7076946ac3a (patch)
tree7b54c518dc0e4e6987ff58ffab9a02cac2ebf28a /net/unix/sysctl_net_unix.c
parent22ca466847ad477d060baed84733c495bc6e81c8 (diff)
da850-evm: add UI Expander pushbuttons
This patch adds EV_KEYs for each of the 8 pushbuttons on the UI board via a gpio-key device. The expander is a tca6416; it controls the SEL_{A,B,C} lines which enable and disable the peripherals found on the UI board in addition to the 8 pushbuttons mentioned above. The reason the existing tca6416-keypad driver is not employed is because there was no aparent way to keep the gpio lines used as SEL_{A,B,C} registered while simultaneously registering the pushbuttons as a tca6416-keypad instance. Some experimentation with the polling interval was performed; we were searching for the largest polling interval that did not affect the feel of the responsiveness of the buttons. It is very subjective but 200ms seems to be a good value that accepts firm pushes but rejects very light ones. The key values assigned to the buttons were arbitrarily chosen to be F1-F8. Signed-off-by: Ben Gardiner <[email protected]> Reviewed-by: Chris Cordahi <[email protected]> CC: Govindarajan, Sriramakrishnan <[email protected]> Reviewed-by: Sekhar Nori <[email protected]> Signed-off-by: Sekhar Nori <[email protected]> CC: Kevin Hilman <[email protected]> CC: Gabor Juhos <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions