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.

am437x基于linux4.1.18平台移植按键驱动失败



您好,我在am437x平台上使用的是linux4.1.18内核,添加按键驱动总是失败。我所做的步骤是:

1,修改设备树xxx.dts,红色为新增的

2,在设备树中配置对应的pin_mux

3,将drivers/input/keyboard/gpio-keys.c编译进内核,使用make menuconfig 或修改对应的Kconfig和xx_deconfig

4,编译zImage和xx.dtb

5,上电启动,使用ls /dev/input 查看没有对应的eventX节点,之前如果不修改设备树,则有对应的eventX节点,我想知道直接使用内核提供的按键驱动,只修改设备树,该怎么做。

谢谢。