I have successfully compiled .dts file into .dtb file including these
additions:
1.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>;
};
matrix_keypad_s0 {
pinctrl-single,pins = <0x54
0x7 0x58 0x7 0x64 0x27 0x68 0x27 0x6c 0x27>;
linux,phandle = <0x26aa>;
phandle = <0x26aa>;
};
matrix_keypad@0 {
row-gpios = <0x0 0xc 0x18>;
col-gpios = <0x0 0xc>;
};
matrix_keypad_s0 =
"/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/matrix_keypad_s0";
matrix_keypad = "/matrix_keypad@0";
*But I am unable to understand these lines:*
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>;
I want to use pins P8_39 - P8_46 as matrix keypad, How can I map these pins
to above hex values.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/56d07993-dacf-4804-9ede-27a29ca0a360%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.