Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3056259rdg; Tue, 17 Oct 2023 03:21:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGBFkr5HzNn2koC8DFDVfu7cZsM9I0+R5tNZQnp/ffGOKzFDCSU6rj7JwyL8akrMEejNS5J X-Received: by 2002:a05:6871:4584:b0:1ea:3f79:defb with SMTP id nl4-20020a056871458400b001ea3f79defbmr1978683oab.52.1697538059829; Tue, 17 Oct 2023 03:20:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697538059; cv=none; d=google.com; s=arc-20160816; b=E5UL7liEkCre75p6RjZrTDAzdtQDuq5r5zGiDRXx9KZpOX3QiTs+HtRum2G+K7U42N Ok1Sp3UrrGbPYEPmNy5cUFCi+QlFWMr6PyhhkUyiMBkMshUcDbPQjJvJXp0yxneNCUh4 WB3BZ5ds10ms3FhTnC9Ei75bleRccXrjp70Up8prdr2jsYyO2AgI7F1kxvxdKLT8VXR8 FU1llqVxjIHHpciN4ioG/0G/L5r7Uct/evNaDtZkO5HKvTRtOFiZcOdp4co1FXXLRvmn nHkAN+a3fuNa4jOgZKQ6oH1z12LKAPoBp+YhsDFJH2h9qDCjDT2EJmoTwl3RJUUm3gRH F2oQ== 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:references:in-reply-to:message-id:subject:cc:from:to :date:dkim-signature; bh=tUB6w0Ph20drmiGZYYSJujiE+ggt/zuWi7AKR0FbM+A=; fh=pKgDI89O/g7pvk95mWkxwPdmV9WnS3yVP2+pEKuJ0XQ=; b=pQx7WXyl6/hd+lTXPDTDGQcLgH6GoTc49YAhGG7oIM9Q4qVokHUKAKoW71zuskzXJt Fjt/OBZel/eI98I1lrA6ZiFBZumh/kgnmQzZAd659JARyd2op5ijS6aNOSzs2yIkQC6g 8QCnFxz1/HGzfRLN/d8EWSof5Nq2bocrWkbLe+uhayvyPZGMh5R9xPH//G0ahFHXY1B4 fL0WPVMak+37q0HT9IcUE7NOJ5s4SyqAlPzy1YPEwnWvVwEpXXqti/v2vQSHPa15rsiv a2TLOhMtkZ1C26I8HdmpJpf93WyQxDK9MAh4U8YFsvRFmMvrieFrANiytQJx0rPKVfjM 6w1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=V6Gjnz01; 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 s67-20020a632c46000000b005b37abfc3b0si1411382pgs.456.2023.10.17.03.20.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 03:20:59 -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=V6Gjnz01; 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 0F4188083487; Tue, 17 Oct 2023 03:20:56 -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 S235077AbjJQKUp (ORCPT + 99 others); Tue, 17 Oct 2023 06:20:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235067AbjJQKU2 (ORCPT ); Tue, 17 Oct 2023 06:20:28 -0400 X-Greylist: delayed 3437 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 17 Oct 2023 03:18:57 PDT Received: from mail-4325.protonmail.ch (mail-4325.protonmail.ch [185.70.43.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A776E113; Tue, 17 Oct 2023 03:18:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1697537934; x=1697797134; bh=tUB6w0Ph20drmiGZYYSJujiE+ggt/zuWi7AKR0FbM+A=; 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=V6Gjnz01qj1zOsx8nMnmQ/Lv3GWM6nWGfm7XYVW+6btRn5s2Bo5PZ5kEDmb1As0S0 Jdmk0vlWoPgXaecCPSnPb377l0AAe9UEWbvKK3/b+SraHsqe19SyJ0vRVd1EO99xzM oXzdYulZ+FtDY1Z+djG/zy9rDQv7oCFs6KimbdDyUlK+Bk8SxTiMWGQ0MlkcvSNFgw 5ilsEZypHC/wYfWMdkBj/zxLCXeId1TQ3HoSHWkDtmFUegFpHqZntlLgnT1cgVBfAV wYNyywMEZ1sYmp7nhquxwT/AmIFEa/9Ha64ruvNfHig21KGIhkZWd9ekK0r6uGpvZC F/QSmuCfaxijA== Date: Tue, 17 Oct 2023 10:18:14 +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 2/2] ARM: dts: samsung: exynos4412-midas: use Linux event codes for input keys Message-ID: <20231017101647.62770-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 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 03:20:56 -0700 (PDT) Use event codes with linux-event-codes.h included for input keys on 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 3c1ae3c19828..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 <0x160>; +=09=09=09linux,code =3D ; =09=09=09label =3D "ok"; =09=09=09debounce-interval =3D <10>; =09=09=09wakeup-source; --=20 2.39.2