From patchwork Thu Dec 8 19:20:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 31473 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp379892wrr; Thu, 8 Dec 2022 11:24:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf6XH/pUd4HoCaKAPpLkCxBKFW1+0dhOk4yuNVIf27tLo9E+JozW6aVpYofNRd7hTIY5aFwJ X-Received: by 2002:a63:d602:0:b0:478:d2ac:ebda with SMTP id q2-20020a63d602000000b00478d2acebdamr12919586pgg.99.1670527457416; Thu, 08 Dec 2022 11:24:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670527457; cv=none; d=google.com; s=arc-20160816; b=bnKBfkzllWZJ0p1hrOQfQYZLIWKJqUiULsCarJnSdcSFmn39DvKDGWlXvuSHiuMD4N 3JNNhlmPL2sIasC24DGvm6S/Ub5ghUGk9N/diM2+OAc6SZK3Kzx2SvzF/fRtGdGO+4ub 8KiATf8ej3PKHaGiotkfMFq+XMuigJC98kBDHWpXCxGjwQSzEl//EuZv6vcYG6/2UsrD NF9yc1Y5H3c4/t3QHeOkIuzYZIUuZMtwE4UtZxnsdjoMps+Pf7X3sXL4gBLVVaEGypom 8ooZNIloJRs7NCxmH8Hi6r91P0lH1PUI33x/FJ1tDvdfByByFDJIgcbtiY010c+gOsnA nPkw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SghZa+kW7wIj2RUcdePRPR1tV1IHuHFiC2Ew9exQVO0=; b=ADmyHI2st81ALmq5t+4c5oL/Lb8+d6+pTf33m5uYYdP7ZEnwaBmW4BrBTnKJiTZSVk SSNfm3WrdJcBeuXeW9Ipw7cnI3QvJ2sRYlNuyi2MWy99NI4zVsC5uMsxyKUdUNx9Wulr QrWRW9SH9xw+sanI6ST9r/v3o7efJc47iYmbXs8BwQQ309lEWZM49xP5vVUGeKTRcplO nrnD/0WRgj4hfdU+gjbmHXt2qABhyc5w1Lb2m/LbkjtCWfE7Hn+b0hg5Ezfs+KtIoVYi riPiTQxLBlW3a7E3+zbIA5nwkIAWN1Umd1iOxF/mQpEl6EsCeCYDhWBDJuWJNfmmrfMC Asug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ak7msN6A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l18-20020a170903245200b001893689660asi25793977pls.209.2022.12.08.11.24.04; Thu, 08 Dec 2022 11:24:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ak7msN6A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbiLHTVP (ORCPT + 99 others); Thu, 8 Dec 2022 14:21:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229761AbiLHTUj (ORCPT ); Thu, 8 Dec 2022 14:20:39 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4148A99F2F for ; Thu, 8 Dec 2022 11:20:37 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id k88-20020a17090a4ce100b00219d0b857bcso2554824pjh.1 for ; Thu, 08 Dec 2022 11:20:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SghZa+kW7wIj2RUcdePRPR1tV1IHuHFiC2Ew9exQVO0=; b=ak7msN6Am+PYdy9SBwDyO8HiaGzwCdF79wcoo7pb8KdOw8kNKiwvT04KD8UeG3l4yf GHh80N84AQqX/dKIQiW+9jBDoDh48Vvk/EYWPaYl9SreZxA583cg2J/RuMvZaT2uBUXF DerpsC3NQVtxvjdcQP0Sp8sv2U5KgcCeb+5A4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SghZa+kW7wIj2RUcdePRPR1tV1IHuHFiC2Ew9exQVO0=; b=LFm8ix0RLUhFSxVVEpyIstC89dArN33QLfrHM9Nn+Jiqy3AJsD/YV5oJmFTM2opmOA yYnIM5J1O9FGcGMTbsBmvHPBfLrOfiM1Hav2nmB9VLwziOLvAjAPc6YDXVyiBTCZnLUB zzvweUf4vtZKt95nFgYhLARyX1CNfdVC/aD71igIzL5NLmBeHbncJ3Awsf+vYUWJo6WG Feim42F1FbcpWwsjs48rmUCA3a4IxqrSYwOG+EJnRVK4zbKW95LNEkRpKKthT6Nu8tmM ck0vsCr94at8yySsT1GuORrrPQYIa1S5ErrFwcyiHQkg56hmsCYJJn2r01LFSIQTqrWq aZ2w== X-Gm-Message-State: ANoB5pmNR0G/i0gtv4Q5EaDXh0H9pOzviMnh5Dzd366Hw4pGDxl+uSWd zr/KGCX/pfbT5gTsbMy/dwKHZw== X-Received: by 2002:a17:902:f7ca:b0:189:b203:9e2f with SMTP id h10-20020a170902f7ca00b00189b2039e2fmr2971988plw.56.1670527236814; Thu, 08 Dec 2022 11:20:36 -0800 (PST) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:3aa1:2c62:9ac:4468]) by smtp.gmail.com with ESMTPSA id u5-20020a170902e5c500b00186a2274382sm17112019plf.76.2022.12.08.11.20.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 11:20:36 -0800 (PST) From: Douglas Anderson To: Bjorn Andersson , Dmitry Torokhov Cc: mka@chromium.org, swboyd@chromium.org, linux-arm-msm@vger.kernel.org, linux-input@vger.kernel.org, Yunlong Jia , Konrad Dybcio , Douglas Anderson , Andy Gross , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] arm64: dts: qcom: sc7180: Add pazquel360 touschreen Date: Thu, 8 Dec 2022 11:20:05 -0800 Message-Id: <20221208111910.4.Id132522bda31fd97684cb076a44a0907cd28097d@changeid> X-Mailer: git-send-email 2.39.0.rc1.256.g54fd8350bd-goog In-Reply-To: <20221208192006.1070898-1-dianders@chromium.org> References: <20221208192006.1070898-1-dianders@chromium.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751674999292086697?= X-GMAIL-MSGID: =?utf-8?q?1751674999292086697?= The touchscreen was supposed to have been added when pazquel360 first was added upstream but was missed. Add it now. Signed-off-by: Douglas Anderson Reviewed-by: Matthias Kaehlcke --- .../dts/qcom/sc7180-trogdor-pazquel360.dtsi | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360.dtsi index 5702325d0c7b..54b89def8402 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360.dtsi @@ -14,6 +14,27 @@ &alc5682 { realtek,dmic-clk-rate-hz = <2048000>; }; +ap_ts_pen_1v8: &i2c4 { + status = "okay"; + clock-frequency = <400000>; + + ap_ts: touchscreen@10 { + compatible = "elan,ekth3915", "elan,ekth3500"; + reg = <0x10>; + pinctrl-names = "default"; + pinctrl-0 = <&ts_int_l>, <&ts_reset_l>; + + interrupt-parent = <&tlmm>; + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; + + hid-descr-addr = <0x0001>; + + vcc33-supply = <&pp3300_ts>; + vccio-supply = <&pp1800_l10a>; + reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; + }; +}; + &keyboard_controller { function-row-physmap = < MATRIX_KEY(0x00, 0x02, 0) /* T1 */