Message ID | 20231204094649.10094-1-matti.lehtimaki@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp2651406vqy; Mon, 4 Dec 2023 01:47:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqqZxvoMX2PVPleMuJlFvcKm5a0QY/sl1AW42AAkW1R7kdc6riGtfW/l9O2ozyDJ10p0ty X-Received: by 2002:a17:903:264e:b0:1d0:6ffe:a0e with SMTP id je14-20020a170903264e00b001d06ffe0a0emr3640847plb.108.1701683234678; Mon, 04 Dec 2023 01:47:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701683234; cv=none; d=google.com; s=arc-20160816; b=ZcQOvTcRSoqAql8qZz2rQZBpJ50v3KHm41Ls6Q1WyckMz/HIt3/WfCs/ODHjvqkpoE SNLd/ObKAg/x4F+K4ngCyQ1bH650WddDdskgnxUL70Q1xuAK6PxZyjVnYjP6UYGMdBk9 wqoulHGWtSJpFFWJdASoExcSd+KjkVhVaMWOizC2nfpmWgtrBdL2SCTUoW45Y7+s2xFC uAX++t38P/WBkDtyH1vTJytu8+rerdfowHpgQCi06ktpzeM97XTEMn6CIXCxGmwkTlv0 8PRwYKEvSCa5F+tN6hhIMbw0AyG+V+OqlGTBRv+uCz66O2Q49dZGvNrBwhXWK3eUzfqG JqLQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=6V8QqKWWTE8K+zwNUZJ+bcoYIRF8fZi/ENlPiKMrff8=; fh=IBC6KrtlLl1nc5Mrg2fjZkgou8tZnnYWoejUSlpuLzY=; b=lLx2RikChZtqAxBTRa62RArZA0Duap5LDf7vWyMyLAY4IifFDRDN4+/rJyYTnrrO5l pFL3+oWVJHaUXY3nKEiQzoTJm8mj6+u2H9PW2n0NayQBZI23dHRNSLg6GVrba9RtDh9B fSkBTuH04owFpT2JmhFKyck9aX8ELVADrejATjx9uCrXwIYnoJ9iwkWbS29sY0oRpSLj c9MkPKI38dpdkfMKe2xX3/tOU+2dO0973iNEyJ31ctsP/LsGWsRU8Zih5BknqcNX+SZV i0E5wX5cCVzMkkw8hToR+SQUNe51/MeUQb30q4SLWtyzAZbdH76DQ93E/VsY/o/b7+Sn SSjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lfilP1x5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id u13-20020a17090341cd00b001c754f13381si2972763ple.455.2023.12.04.01.47.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 01:47:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lfilP1x5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8E5C68077505; Mon, 4 Dec 2023 01:47:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229723AbjLDJq6 (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Mon, 4 Dec 2023 04:46:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229713AbjLDJq4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 4 Dec 2023 04:46:56 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70B86E6; Mon, 4 Dec 2023 01:47:02 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50be3611794so2344365e87.0; Mon, 04 Dec 2023 01:47:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701683221; x=1702288021; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=6V8QqKWWTE8K+zwNUZJ+bcoYIRF8fZi/ENlPiKMrff8=; b=lfilP1x5S+R0uNXyNrJ2bcRUN6ChJVwL6RSdxX+D0ZZ0neu6hkc0ZWQ22tqHvIFXfL Ta9UJkwGXjwjAQk9Zz9t0gPuyy9iLeGySIjxVkl7pxNU2igwFkzLui/vDapXeNMm6ysr Q16ALpRMgXop9V19Y/Idd92ZGxxmVsIJ3JKF8DvoEVTZgYNYq8TOE3NG/p0yKYaKfvu5 KVIYEjDGNlDs02D6a45kV6LcLINEiDxLnBbXb4Ez8HrOen53gcDYD7Y4dpocJCpVOcKr sYqdkK2SULtzGN94wGFhlZ5nNLvz0hfjZfL2CrlS9Np9lMBpAUrLZPf/lLNC4vWlgwuG sNbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701683221; x=1702288021; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6V8QqKWWTE8K+zwNUZJ+bcoYIRF8fZi/ENlPiKMrff8=; b=Kz6TS8qK8bDtbxGvNbIzGRvPAS1RgTG79CgaQovO8lVrnxO1YV9YrugnN7tKe8jBC0 dTlFLFHiERrOCiznZ+Gl1AeerTtMEp3igPDiUr2OxmKs+tfypCee/yue25F/FUsPCALp StiVvcQOaW4ad9J4NgENs5+vEYFh9+RihUunQhdaXoHKDgOpgyXRNQPlKtuS2iMSmNLC 4vDx8cujv0OWI9P8EtzgS8qEPSMxTUZhuKYMkFGceOR/WF9YOXMKe0tsfk1pk1hyzdiZ 4/GoABPcLQiXJFxCGC33NoZjeYH+t3RKPBaTfMq9QMcNYgw1Tes4qJzdnodRSU7cvJ7M F5hg== X-Gm-Message-State: AOJu0YyuPzOUtYe6HDhFHYlwY6Kca/e2xfVudxg6gRdQderNC9Da1HGk MteHyB46tnegZHfwM5IGEmJRPPBwOv5iQQ== X-Received: by 2002:a05:6512:1381:b0:50b:fa1d:aecc with SMTP id fc1-20020a056512138100b0050bfa1daeccmr531819lfb.29.1701683220468; Mon, 04 Dec 2023 01:47:00 -0800 (PST) Received: from i-vetokaappi.home.lan (dsl-hkibng42-56733b-36.dhcp.inet.fi. [86.115.59.36]) by smtp.gmail.com with ESMTPSA id dw5-20020a0565122c8500b0050bfe28cd8fsm41506lfb.43.2023.12.04.01.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 01:46:59 -0800 (PST) From: =?utf-8?q?Matti_Lehtim=C3=A4ki?= <matti.lehtimaki@gmail.com> To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, =?utf-8?q?Matti_Lehtim=C3=A4ki?= <matti.lehtimaki@gmail.com>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: qcom: apq8026-samsung-matissewifi: Configure touch keys Date: Mon, 4 Dec 2023 11:46:49 +0200 Message-Id: <20231204094649.10094-1-matti.lehtimaki@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 04 Dec 2023 01:47:12 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784344199528786365 X-GMAIL-MSGID: 1784344199528786365 |
Series |
ARM: dts: qcom: apq8026-samsung-matissewifi: Configure touch keys
|
|
Commit Message
Matti Lehtimäki
Dec. 4, 2023, 9:46 a.m. UTC
Add touch keys which are handled in touchscreen driver.
Use KEY_APPSELECT for the left button because other devices use that
even though downstream kernel uses KEY_RECENT.
Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
---
.../boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts | 7 +++++++
1 file changed, 7 insertions(+)
Comments
On 4.12.2023 10:46, Matti Lehtimäki wrote: > Add touch keys which are handled in touchscreen driver. > Use KEY_APPSELECT for the left button because other devices use that > even though downstream kernel uses KEY_RECENT. > > Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad
On Montag, 4. Dezember 2023 10:46:49 CET Matti Lehtimäki wrote: > Add touch keys which are handled in touchscreen driver. > Use KEY_APPSELECT for the left button because other devices use that > even though downstream kernel uses KEY_RECENT. > > Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com> > --- > .../boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts > b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts index > f516e0426bb9..8a2ba2aadf23 100644 > --- a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts > +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts > @@ -268,6 +268,13 @@ touchscreen@4a { > interrupt-parent = <&tlmm>; > interrupts = <17 IRQ_TYPE_LEVEL_LOW>; > > + linux,keycodes = <KEY_RESERVED > + KEY_RESERVED > + KEY_RESERVED > + KEY_RESERVED > + KEY_APPSELECT > + KEY_BACK>; Might be prettier like this since it's 6 items you're adding, not one long property? linux,keycodes = <KEY_RESERVED>, <KEY_RESERVED>, <KEY_RESERVED>, <KEY_RESERVED>, <KEY_APPSELECT>, <KEY_BACK>; Resulting dtb should be the same, so it's just a stylistic thing. In any case: Reviewed-by: Luca Weiss <luca@z3ntu.xyz> > + > pinctrl-names = "default"; > pinctrl-0 = <&tsp_int_rst_default_state>;
On Mon, 04 Dec 2023 11:46:49 +0200, Matti Lehtimäki wrote: > Add touch keys which are handled in touchscreen driver. > Use KEY_APPSELECT for the left button because other devices use that > even though downstream kernel uses KEY_RECENT. > > Applied, thanks! [1/1] ARM: dts: qcom: apq8026-samsung-matissewifi: Configure touch keys commit: ffb05e91b68bc58484b94b5d3d1aa8e559278fd6 Best regards,
diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts index f516e0426bb9..8a2ba2aadf23 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts @@ -268,6 +268,13 @@ touchscreen@4a { interrupt-parent = <&tlmm>; interrupts = <17 IRQ_TYPE_LEVEL_LOW>; + linux,keycodes = <KEY_RESERVED + KEY_RESERVED + KEY_RESERVED + KEY_RESERVED + KEY_APPSELECT + KEY_BACK>; + pinctrl-names = "default"; pinctrl-0 = <&tsp_int_rst_default_state>;