Hello @Zhiming_Liu
I would like to know how to configure your pinctrl_gpio_keys. I haven't used gpiof.
Compilation error "Reference to non-- existent node or label "gpiof" ".
I have tried using other pins. They can standby but can't be awakened. They need to be awakened through ONOFF, but there is a problem with this method.
key-1 { //P-button
debounce_interval = <50>;
wakeup-source;
linux,code = <116>;
label = "POWER";
gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
};
MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19 0x1d6 // P_button