I am trying to interface 4X5 keypad with i-MX6 quad . I am using linux 3.14.38 kernel with default imx_keypad.c driver.
I have done the required iomux changes
How can i do keypad mapping in dts file for standard keypad?
my keypad is 4*5 and looks similar as the attached image.
&kpp {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_kpp_1>;
keypad,num-rows = <5>;
keypad,num-columns = <4>;
linux,keymap = <
0X00040031 //number 1 with row 0 column 0 and 31 hex value for number"1"
0X00010032 //2
>;
status = "okay";
};
0X00040031 //number 1 with row 0 column 0 and 31 hex value for number"1"
i need to make a mapping for alphabets abc when 2 is pressed.
how can i make it?
please suggest
Thanks and Regards
Rizwan Syed