Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3031169rdg; Tue, 17 Oct 2023 02:22:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF+Fv3rQ19JjaOIZuEY10h+BgMD8oIg6W3qkfEZqjkIYg1avK/qrYRSMVIAcIc9yBF4YdF0 X-Received: by 2002:a17:902:fa8e:b0:1c9:d90b:c3e4 with SMTP id lc14-20020a170902fa8e00b001c9d90bc3e4mr1751427plb.10.1697534530514; Tue, 17 Oct 2023 02:22:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697534530; cv=none; d=google.com; s=arc-20160816; b=DBDvqmvYLo/QlNftKidXja3KoIKT873MgJhOB3iBDxiWgfym8SfCN6JMOvb/zeuFIO bdnN5Jpx43y72exwXyZCnZQaHGpgGwX7uVnS4CXNDt+/lp0IHurHZgTnvkFPmv8RxNUu Ax4aaCSK3TynjptCRCb99B8PvzCVf+yxI8hWKboQtsFAzd6sFXHROLXBiLgNUspqbUAP ufwkISUIQeBvlnORugjvWo4fg5WgeMYZ7db70aUYvqC5RM3Qgy17royGwIH9gf9LszKh AWAbUxDuL0RR7MlwBuv/n7wBGe4ds/Nta+pOC5jjRQo1MAVEqIc4LpRVHkjQ7L9y/bnB LgYw== 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 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id u6-20020a170902e5c600b001c6223663b2si1456826plf.339.2023.10.17.02.22.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 02:22:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; 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 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 5A3F6807E446; Tue, 17 Oct 2023 02:22:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234594AbjJQJWA (ORCPT + 99 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 pete.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 (pete.vger.email [0.0.0.0]); Tue, 17 Oct 2023 02:22:08 -0700 (PDT) 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/boo= t/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 @@ =20 #include #include +#include #include #include #include "exynos-pinctrl.h" @@ -137,21 +138,21 @@ gpio-keys { =20 =09=09key-down { =09=09=09gpios =3D <&gpx3 3 GPIO_ACTIVE_LOW>; -=09=09=09linux,code =3D <114>; +=09=09=09linux,code =3D ; =09=09=09label =3D "volume down"; =09=09=09debounce-interval =3D <10>; =09=09}; =20 =09=09key-up { =09=09=09gpios =3D <&gpx2 2 GPIO_ACTIVE_LOW>; -=09=09=09linux,code =3D <115>; +=09=09=09linux,code =3D ; =09=09=09label =3D "volume up"; =09=09=09debounce-interval =3D <10>; =09=09}; =20 =09=09key-power { =09=09=09gpios =3D <&gpx2 7 GPIO_ACTIVE_LOW>; -=09=09=09linux,code =3D <116>; +=09=09=09linux,code =3D ; =09=09=09label =3D "power"; =09=09=09debounce-interval =3D <10>; =09=09=09wakeup-source; @@ -159,7 +160,7 @@ key-power { =20 =09=09key-ok { =09=09=09gpios =3D <&gpx0 1 GPIO_ACTIVE_LOW>; -=09=09=09linux,code =3D <139>; +=09=09=09linux,code =3D ; =09=09=09label =3D "ok"; =09=09=09debounce-interval =3D <10>; =09=09=09wakeup-source; --=20 2.39.2