From 2de7444888dda33d38373f1b339db84dd6fdca97 Mon Sep 17 00:00:00 2001 From: Alexander Stein Date: Wed, 16 Aug 2023 09:54:51 +0200 Subject: [PATCH] ARM: dts: imx6ul: mba6ulx: Mark gpio-buttons as wakeup-source I2C expander is capable of generating an IRQ during powersave, so the attached buttons can be used for waking up the system. Signed-off-by: Alexander Stein Signed-off-by: Shawn Guo --- arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi b/arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi index ebf97fcdd8ea2..632ceadcca411 100644 --- a/arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi +++ b/arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi @@ -39,18 +39,21 @@ label = "s14"; linux,code = ; gpios = <&expander_in0 0 GPIO_ACTIVE_LOW>; + wakeup-source; }; button2 { label = "s6"; linux,code = ; gpios = <&expander_in0 1 GPIO_ACTIVE_LOW>; + wakeup-source; }; button3 { label = "s7"; linux,code = ; gpios = <&expander_in0 2 GPIO_ACTIVE_LOW>; + wakeup-source; }; power-button { -- 2.30.2