The easiest way is to search Google for "how to use a matrix keyboard in linux”. Here is one example that was listed.
https://wiki.analog.com/resources/tools-software/linux-drivers/input-keyboard/adp5589 <https://wiki.analog.com/resources/tools-software/linux-drivers/input-keyboard/adp5589> Regards, John > On Feb 10, 2017, at 12:57 AM, Gurpartap Singh <gurpartapsingh...@gmail.com> > wrote: > > I want to use matrix-keypad with beaglebone black.I completed these steps: > 1.Modprobe matrix_keypad > output of zcat /proc/config.gz | grep MATRIX > CONFIG_INPUT_MATRIXKMAP=m > CONFIG_KEYBOARD_MATRIX=m > > I am looking into am335x-evm.dts > It has pin settings as: > matrix_keypad@0 { > compatible = "gpio-matrix-keypad"; > debounce-delay-ms = <0x5>; > col-scan-delay-us = <0x2>; > row-gpios = <0x5a 0x19 0x0 0x5a 0x1a 0x0 0x5a 0x1b 0x0>; > col-gpios = <0x5a 0x15 0x0 0x5a 0x16 0x0>; > linux,keymap = <0x8b 0x100009e 0x2000069 0x1006a 0x101001c > 0x201006c>; > linux,phandle = <0xdd>; > phandle = <0xdd>; > }; > How can I use this information in am335x-boneblack-emmc-overlay.dts > Please guide me: > > -- > For more options, visit http://beagleboard.org/discuss > <http://beagleboard.org/discuss> > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard+unsubscr...@googlegroups.com > <mailto:beagleboard+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/85a1495b-302d-48ff-af1b-619242539f92%40googlegroups.com > > <https://groups.google.com/d/msgid/beagleboard/85a1495b-302d-48ff-af1b-619242539f92%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/E3B7B6E7-1C97-4B15-A351-6E6F46E119B6%40gmail.com. For more options, visit https://groups.google.com/d/optout.