From patchwork Tue Oct 17 09:21:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raymond Hackley X-Patchwork-Id: 153981 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4003196vqb; Tue, 17 Oct 2023 02:22:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFuFkxBSuv4g8296v0986eWFeLVKsiYKFsvQjGmKdD4AlhpC1m/atVHdUghdA9W5dv93r1c X-Received: by 2002:a05:6a00:b33:b0:690:c79c:1912 with SMTP id f51-20020a056a000b3300b00690c79c1912mr1721749pfu.0.1697534533813; Tue, 17 Oct 2023 02:22:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697534533; cv=none; d=google.com; s=arc-20160816; b=eAz2WnuJYb0lA4cmkYFyUrWi+Xl9JfltYFp4MAgPkFnldKzifuvGQhzc0L1Q1fg2pR qVgmJun6grtMOpdaQKIzDl2JqCBapSA93UypXVMsx1tczC5HHYgv6xj5fDRrjnuvA2zP ESpILR+Ks/SYtjIIENvmlLtZNhzof2UWaEupy92xgYNRUhztsZ5LeZONphNIQnzf4Lub OjKGA9vXGOr0uKhkOWrT108RD0HK3enDV7TchVy6ktK0xqKVylj4kLRbFF52q2hndB4f Goxon2Qm1dkB4INQqaRg4YhDj0dDdL95DsQMUVZ2okq0bIcsRdHlPjvTqWrTGNLUNFhS ywlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:message-id:subject:cc:from:to:date:dkim-signature; bh=OFdosyKcp6PhUrJ2tCBNQ9++8yaOxAtxpU+EBRrduxk=; fh=pKgDI89O/g7pvk95mWkxwPdmV9WnS3yVP2+pEKuJ0XQ=; b=Yfx50TZDXYbmW3Mg5paFYRlcdXE4XpDE5wLXLhbiNErKtqaiX4u4WRwi2651sS/ES1 47Wlr9lvOwgVZCXxuZHwusg8c4Uxj2cp7u7ucwJqWnzCRhX+wH32wiE/VKG8cfVCD7j0 NK3D+V8jj1iCjnwLPWP8O7r+K8PFCwUsJg9JBcX9dT60hRT/jCD77BwZzaaBTT0s5Glu zuVz7WMLFN7rlH3tyqbavJvzAGww2glmUVKcyypn04Uw4idgYBn4n29hl0LJgbfHX51X 9BdAw4koZeq9YTo2xPPaKpNzTA5B7VY4SCPbi+JL09iAQazcYn7LieCaiFOQW2cZdndN qu7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=Y6ECVSLS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id t30-20020a056a00139e00b006bd5d6f7c71si1253920pfg.390.2023.10.17.02.22.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 02:22:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=Y6ECVSLS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 9E73580BD3B8; Tue, 17 Oct 2023 02:22:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343579AbjJQJWA (ORCPT + 19 others); Tue, 17 Oct 2023 05:22:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234906AbjJQJVq (ORCPT ); Tue, 17 Oct 2023 05:21:46 -0400 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E94E7106; Tue, 17 Oct 2023 02:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1697534496; x=1697793696; bh=OFdosyKcp6PhUrJ2tCBNQ9++8yaOxAtxpU+EBRrduxk=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=Y6ECVSLSwxbsC9spu35iGCIkBYplhs2ocrxGwobTOp1IeQHiBxrTITqbIBSmN350E UPAkm/sKtClLj4PWv/GgztKzCB/jhS94h27uWIovdrWaK/uK8o5QV9RZHDGQGbXo8n Xxs2WrGkhMAw6FkqR7UBz7CuhK/RBozUru/6ASbf8IRRRQmHK8HACsyUUBa9eoTpkw ZL9R2Gg8FDBVAFR/uYC6aJVIpMqA9MoQujeMoWBGL3yYoe1VKrbvx/TmP5ahRDkQaE Q4EA1bZ0bxVQP0z6Ptqd2++GrLdE7vBzUI4r67pQTJ4DxREFbEbYJnFZGyOrP4Tlxw ekPJbMgRZjVrQ== Date: Tue, 17 Oct 2023 09:21:30 +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] ARM: dts: exynos: fix input keys with Linux event codes for midas Message-ID: <20231017091953.43478-1-raymondhackley@protonmail.com> Feedback-ID: 49437091:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 17 Oct 2023 02:22:11 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779993971357489468 X-GMAIL-MSGID: 1779993971357489468 Input event code 139 stands for KEY_MENU, instead of KEY_OK as key-ok inplies. Fix all event codes with linux-event-codes.h included for midas. Signed-off-by: Raymond Hackley --- arch/arm/boot/dts/samsung/exynos4412-midas.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi b/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi index 7daf25865551..d00b500254ab 100644 --- a/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi @@ -15,6 +15,7 @@ #include #include +#include #include #include #include "exynos-pinctrl.h" @@ -137,21 +138,21 @@ gpio-keys { key-down { gpios = <&gpx3 3 GPIO_ACTIVE_LOW>; - linux,code = <114>; + linux,code = ; label = "volume down"; debounce-interval = <10>; }; key-up { gpios = <&gpx2 2 GPIO_ACTIVE_LOW>; - linux,code = <115>; + linux,code = ; label = "volume up"; debounce-interval = <10>; }; key-power { gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; - linux,code = <116>; + linux,code = ; label = "power"; debounce-interval = <10>; wakeup-source; @@ -159,7 +160,7 @@ key-power { key-ok { gpios = <&gpx0 1 GPIO_ACTIVE_LOW>; - linux,code = <139>; + linux,code = ; label = "ok"; debounce-interval = <10>; wakeup-source;