Other Parts Discussed in Thread: AM5728
Hi Ti forum I want to interface the custom keypad with am3358 board.
I followed few process but nothing got workout.please help me I need it urgently.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Jianzhong Xu Thanks for the replay actually i have an idea how to interface keypad with am5728 board.but i want to know how it can be done for am3358 board and i had a snippet shown in below for am5728 in which it is done in dra7.dtsi but for am3358 in which file it has to be done.
keypad: keypad@4ae1c000 {
compatible = "ti,omap4-keypad";
reg = <0x4ae1c000 0x80>;
keypad,num-rows = <3>;
keypad,num-columns = <4>;
interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
ti,hwmods = "kbd";
linux,keymap = <0x00000041 0x00010042 0x00020043 0x00030044
0x01000045 0x01010046 0x01020047 0x01030048
0x02000049 0x0201004a 0x0202004b 0x0203004c>;
};
&keypad {
status = "okay";
}
and coming to OS i am using ti-processor generated zimage and dts files
Thanks in advance
Hey Raj,
I am the SPI subject owner, more than happy to assist you with this! I am currently getting up to speed on your issue and researching to see if I can find if any others have encountered something similar. In the meantime, may I ask have there been any developments or changes to the problem your facing on your end?
Best regards,
Andrew
Hi Andrew Shutzberg Thanks for your replay .I been trying to resolve the issue but i can't find any resources regarding my issue .it could be more helpful if you can guide me to resolve the issue.please just tell me if you find any resource.
Thanks in Advance
Hello Raj,
I apologize for the delay, I was out of office. Upon investigating this issue I have found this E2E thread that describes a similar issue with AM5728: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/634114/linux-am5728-keypad-driver-not-working . Please review the two suggested (green highlighted) answers. Let me know if this helps, or if there are any additional developments on your end.
-Andrew
Hi Andrew
Thanks for the replay I have gone through the link and my doubt is the above link is for am57xx board.but my board is am335x beaglebone black both are different boards.can I apply the same procedure which is given for am57xx to my board am335x.please answer i am in doubt.
Thanks in Advance
Hey Raj,
I relayed you to above thread for AM57x because you said you working from interface instructions for an AM57x device as a basis, and trying to re-create this process for AM335x. Upon further research: I did find this thread that goes into great detail for interfacing a keypad with the AM335x: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/321543/am335x-evm-daughter-board-push-buttons
Additionally, here is another thread that outline the process for a different device, but the answers are generic, but detailed, enough to be applicable to AM335x: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/369278/4x4-matrix-keypad-on-am1808-omapl138
Please let me know if these provide any additional clarity.
Best regards,
Andrew