button with "gpio-keys" not fired when CONFIG_PM_DEVICE_RUNTIME=y

Hi,

using nrf connect SDK v3.1.1

using nrf54L15 development board.

I am trying to run a simple button event yet callback is not fired when 

CONFIG_PM_DEVICE_RUNTIME=y

when 

CONFIG_PM_DEVICE_RUNTIME=n
it works.
single change in the project.

INPUT_CALLBACK_DEFINE(pad_input,
                      input_cb,
                      NULL);

static void input_cb(struct input_event *evt, void *user_data)
{
    LOG_DBG("Button event code %d: pressed=%d", evt->code, evt->value);

}

	///
	/// Inputs with debouncing.
	///
    pad_input:pad_input {
        compatible = "gpio-keys";
		debounce-interval-ms = <150>;                      /* Debouncing time */
        pad_state_in: pad_state_in {
            gpios = PAD_IN_GPIO_SPEC;
            label = "pad_signal_in";
            zephyr,code = <INPUT_KEY_0>;
        };

thanks

Dan

Parents Reply Children
No Data
Related