From patchwork Mon May 20 10:57:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Guido_G=C3=BCnther?= X-Patchwork-Id: 13668182 Received: from honk.sigxcpu.org (honk.sigxcpu.org [24.134.29.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F36150A72 for ; Mon, 20 May 2024 10:59:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=24.134.29.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716202749; cv=none; b=MSrVy5OHdcHY8/Imu7SZ5Sd6CY3M+j1SXkwXBZUYeD4dUJBnniVD32kgvqhBDuZkmm++iF36ubem7bnAXGZ7Mrtoi4RAxdTCRTdbujd0gJsTQMYyBvuvtWbL9C/cs1eFjzZFTxMwpdjutFYlGcw7QQxnwW8dW6lU9xwQcnGw4KU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716202749; c=relaxed/simple; bh=LVap5KcHhie4Ew1SwXzHWoCTe66JbKygQVQhZNZNkfM=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=qkMagL9p4jnMRVac5Lupj0EHvqKQwVMX3bN5U2x0t82nhObJu9QUW9ts7yrj3/KgQD4fNqMMVB9SpL1fFHsrff9yKA25ZNvE1lUjTH7BEEQB4LhdXRYZI8NC9VBswx3eebvU7rFRvrArQj1fQV7wL5l+ocVhxG/rnSf3bPbFQwY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sigxcpu.org; spf=pass smtp.mailfrom=sigxcpu.org; dkim=pass (2048-bit key) header.d=sigxcpu.org header.i=@sigxcpu.org header.b=d4uIlM+V; dkim=pass (2048-bit key) header.d=sigxcpu.org header.i=@sigxcpu.org header.b=QNc/u9i3; arc=none smtp.client-ip=24.134.29.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sigxcpu.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sigxcpu.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sigxcpu.org header.i=@sigxcpu.org header.b="d4uIlM+V"; dkim=pass (2048-bit key) header.d=sigxcpu.org header.i=@sigxcpu.org header.b="QNc/u9i3" Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id B0E6AFB03; Mon, 20 May 2024 12:58:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sigxcpu.org; s=2024; t=1716202736; bh=LVap5KcHhie4Ew1SwXzHWoCTe66JbKygQVQhZNZNkfM=; h=From:To:Subject:Date:From; b=d4uIlM+VCv4q+xSA/gVe+v8nUuH7kOkhqEvXmHJYCFyKy2Zz3nUzbE6Ro7gCOUCXW 1ApaTm+a1pDc5dg3f61kaHd50uzQkR/bYpVuuwEoBeJDo2O9Os5/4wmxvUjMSjTNY1 caGo+bl/43hwigIqXsxBqE7BEEZHU1nUy5LY8gi/XYK2PlS+NExfW6OqcjilLDKo/n 4l7CM0nJd7j7DYj675h+I7V3T918+YAdWv986SeBYFugtmb1vP+i6rA7XbinCsSdCu pUooWkjlEpMWkVVRsbnw30QtxXrO381p8uaC0zX7NKiK3nblkZJNbYRldGpmjKBbZj SMFHq7QG13aDQ== Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1t31Xa3dvWmD; Mon, 20 May 2024 12:58:56 +0200 (CEST) From: =?utf-8?q?Guido_G=C3=BCnther?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sigxcpu.org; s=2024; t=1716202735; bh=LVap5KcHhie4Ew1SwXzHWoCTe66JbKygQVQhZNZNkfM=; h=From:To:Subject:Date:From; b=QNc/u9i3S77ioYu1u/mAmNICEpCx+G5WhKGLHB5R2QX2qzV1zOHolrlirVaL4ZfN2 B/IFJjqdZsZguV+WufLE0s6xH8lh2rbM9Esg4ogcAfYt3TVpCMORbDWHV1MRrak40b 8VnUzGhv0ZPKBBhaQjjVBh0gViv/RNdmSj5hBk1C69QH6cN/GVCCzM/sGxzZ1A/Jab lD2hSnoNVOaC4GvnwSAwazDC6RphUCNHXoZiETKPw0JNB/JFQEQT2VQiYfFEFBRo/H tL9TjUqUhIXNuw7LjWaE0eSAc0ck0ild7DF13jEEvBHx2sRk5lAsBeCazldTGrqOb+ AdAamm2Qk1IQg== To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, kernel@puri.sm, Martin Kepplinger Subject: [PATCH] dts: imx8mq-librem5: Don't wake up on volume key press Date: Mon, 20 May 2024 12:57:05 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The only key that should wake up the phone is power button press. This prevents accidental wakeup due to e.g. pressing the buttons in the pocket or backpack and is in line what userspace uses to unblank the device. Signed-off-by: Guido Günther Reviewed-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index ffb5fe61630d..1b39514d5c12 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -45,7 +45,6 @@ key-vol-down { gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; linux,code = ; debounce-interval = <50>; - wakeup-source; }; key-vol-up { @@ -53,7 +52,6 @@ key-vol-up { gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; linux,code = ; debounce-interval = <50>; - wakeup-source; }; };