From patchwork Tue Oct 17 10:18:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raymond Hackley X-Patchwork-Id: 734492 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0EAACDB483 for ; Tue, 17 Oct 2023 10:26:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234999AbjJQK0F (ORCPT ); Tue, 17 Oct 2023 06:26:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234840AbjJQKZ6 (ORCPT ); Tue, 17 Oct 2023 06:25:58 -0400 Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62C682D7C; Tue, 17 Oct 2023 03:19:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1697537940; x=1697797140; bh=SzTv8Fcb4hwq7Dtnm5h/o3jhzCSwX34AJg/3WWk7Qz8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=JSKHE33tKsGkZ6lMXp/H2d9fFMgePevjoGa4ZaS84a5v6sHiczcXQ/lMI8uCxtsu2 ngKHyIz7B+5d8sOXb0b7XpOlAsC04zfNeT75vJE3dKP+Pg6s1hcr2xDTJnzn3yua6+ U5t4hfmdlLtuCdwhaZ6hBUTZpHdTKyYTjDKFBYxPbxQ8UJ953VhDxOT2smwR5sMhiT 1A/PRAUQ4VxnpTxUWE6LwNSn1I6EHgC5yPpHuEzwUQQO4iWeFo13ylHF7rGgG9+P7B mA2MifJ03pLNb6XOwDp534vVKais67TDCaYo4M4qp4aYp96AJXA4uHNlEYZ0hll3Z5 uyxutOH9h97jQ== Date: Tue, 17 Oct 2023 10:18:04 +0000 To: linux-kernel@vger.kernel.org From: Raymond Hackley Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Raymond Hackley Subject: [PATCH v2 1/2] ARM: dts: samsung: exynos4412-midas: fix key-ok event code Message-ID: <20231017101636.62755-1-raymondhackley@protonmail.com> In-Reply-To: <20231017101402.62740-1-raymondhackley@protonmail.com> References: <20231017101402.62740-1-raymondhackley@protonmail.com> Feedback-ID: 49437091:user:proton MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Input event code 139 stands for KEY_MENU, instead of KEY_OK as node name key-ok inplies. Fix it with correct event code 0x160. Signed-off-by: Raymond Hackley --- arch/arm/boot/dts/samsung/exynos4412-midas.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi b/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi index 7daf25865551..3c1ae3c19828 100644 --- a/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi @@ -159,7 +159,7 @@ key-power { key-ok { gpios = <&gpx0 1 GPIO_ACTIVE_LOW>; - linux,code = <139>; + linux,code = <0x160>; label = "ok"; debounce-interval = <10>; wakeup-source;