How to customize kpp(keypad port) in device tree

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to customize kpp(keypad port) in device tree

ソリューションへジャンプ
1,600件の閲覧回数
asmaa
Contributor V

Hello everyone,

I am working on imx6ul using linux yocto. I want to use imx6 keypad port. I have enabled it in imx6ul.dtsi. 

But I just want to use 4x4 keypad instead of 8x8 as defined by kpp. 

what changes I would have to make to do it 4x4 in device tree?

I am reading AN5125 -Introduction to device tree but not getting how to change it. Please help.

Thanks,

Asma

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,492件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Asma

one can look at linux/Documentation/devicetree/bindings/input/imx-keypad.txt

imx-keypad.txt\input\bindings\devicetree\Documentation - linux-imx - i.MX Linux kernel 

and select necessary "pinctrl_kpp" configuration and mapping.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

1 返信
1,493件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Asma

one can look at linux/Documentation/devicetree/bindings/input/imx-keypad.txt

imx-keypad.txt\input\bindings\devicetree\Documentation - linux-imx - i.MX Linux kernel 

and select necessary "pinctrl_kpp" configuration and mapping.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------