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.

DM385: Cannot load the gpio-keys driver

Part Number: DM385

We are currently developing on the CSK development board and want to test out button handling.  There are a number of button switches on the carrier board and we thought we could map SW7 to generate a user event.  After editing our config to include:

CONFIG_INPUT_EVDEV=y
CONFIG_INPUT_KEYBOARD=y
CONFIG_INPUT_POLLDEV=y
CONFIG_KEYBOARD_ATKBD=y
CONFIG_KEYBOARD_GPIO_POLLED=y
CONFIG_KEYBOARD_GPIO=y
CONFIG_SERIO_LIBPS2=y
CONFIG_INPUT_EVBUG=m

and our DTS file to include:

    gpio-keys {
        compatible = "gpio-keys";

        switch1 {
            label = "Switch 1";
            gpio = <&gpio1 12 0>;
            linux,code = <89>; /* Unmapped keycode */
        };
    };

and

    switch_pins: pinmux_switch_pins {
        pinctrl-single,pins =<
            0x0A0 (PULL_UP | MUX_MODE7)
            0x0A4 (PULL_UP | MUX_MODE7)
            0x39C (PULL_DOWN | MUX_MODE7)
        >;
    };

under &ti81xx_pincntl, we are still not seeing any of the event devices showing up in /dev/input.  Any ideas?