From patchwork Fri Dec 9 02:06:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 31594 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp535061wrr; Thu, 8 Dec 2022 18:11:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf5cl9G2LHycyYlv/GHRtNLbIdhOCt8AbWnjMEtGQV6ThlbFcxaliWSYLcNeuNmrBqu246+P X-Received: by 2002:a05:6402:444c:b0:45a:7d2:9b35 with SMTP id o12-20020a056402444c00b0045a07d29b35mr3416095edb.0.1670551916078; Thu, 08 Dec 2022 18:11:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670551916; cv=none; d=google.com; s=arc-20160816; b=eCtotQl8WXLWdjQDbdwGENFrNWMXM582lzUh5PTQiOjas27r75C0X/onG7/0PFR1zH ADCX4K5KFSWLl0awcCvYvLBEyOmTkZ7q1gdi3P0IMUiuWZtQUoj8BcK8WnXs9mw+8wVL p0la+aupR3hbsFI76crJob2qQ0V6064thF4ICoTdGxbIJY+8Xp40a4l7epI7/s1Vw5ow xtYh0bgDeiWVhjXtUvNusytcfDjXsIIoDskzoXbpYAaX0gru9gQnuOYOARscblE7su2A RzSZ/xMsyVhJMoCt89gCR4HY2f7Mtr4DPPwhMq7YVBQdq0x0gJAxFMCWzWNJP2RGLhjR D+zw== 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=riB7LtyZ0lleKlmY9G6ocrA6pcHo/IAGW1ay3iZp0eQ=; b=XZNdGdRxSUiEnzKbiEr/EWM+PR+aC9C4oFAGjHygoTcxfPfHDUd/b3cIqi9yGu2/ou 1+kRULo+ftCuwrEnRvMWGlskQyRl+ena37TTW2K6s20VfLJ1TGb+PQDEivoXy0EaZjsP tgbyHC+e91Fhu1SuhBGBRvhQlspkK8UYtXSQtq1wrD21zfjWfkh/Tp/A6pgpWgzpYNJ7 PXsMqqFIj0Hg2Y8dCeqxB/F3zwbL93DIkjat3ixfj4SGgCetykRSiPJpkapgSPt2bsZ6 kMlHsJq0OAAyhl29Tb3BpzO2LqCkDCri+inkyPsfYVOPWtM14e6hky4MqfXEG13XJI+H gqew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=X+JYtgj8; 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 s14-20020a056402036e00b0045bfaaab6d1si276665edw.48.2022.12.08.18.11.33; Thu, 08 Dec 2022 18:11:56 -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=X+JYtgj8; 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 S229601AbiLICGw (ORCPT + 99 others); Thu, 8 Dec 2022 21:06:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbiLICGe (ORCPT ); Thu, 8 Dec 2022 21:06:34 -0500 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 646F19B292 for ; Thu, 8 Dec 2022 18:06:33 -0800 (PST) Received: by mail-pl1-x62f.google.com with SMTP id a9so3380984pld.7 for ; Thu, 08 Dec 2022 18:06:33 -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=riB7LtyZ0lleKlmY9G6ocrA6pcHo/IAGW1ay3iZp0eQ=; b=X+JYtgj8sgUEsF7jToHxDCYTMglL0aIOZ4+loh9W8HStvg47PVkIykK/WViQN8qXBK GjYQ508/LrXK1k0wxNZCEu3/JqnBdZOnrAFBorD3+i/CA07NkAFrocN78evZiRColHr5 uftETNCdoUP898da50ms6V//mnUDPs9xOTcmU= 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=riB7LtyZ0lleKlmY9G6ocrA6pcHo/IAGW1ay3iZp0eQ=; b=2Qdgv8Etk7uuonBut6tr3MBn0h0xMsxb6uca3+QCGZZWERknzVtHqTtD5+5gKxEMDr ONJtbZY4HbBPuJEZxYU1SO4I9RpD9E5M1cyA2i2kw6y0MPRgZ20qLWk83pk79l3HV1BQ L3Tni68sJUC8rYzQkrz4mFMYNat/GgsabPBP932sBzgIhvJe3+RRRdW8aFxmYPO4oz35 IfwiCwV5VhEUoETkl/Y/xP/e65uRrZ7XxQq819m3h8rOQ+pfBkmW+IbWsfM0LVTwx8TA 749vNgW9+IT5JpvEDgJ1obsBkkt4WG4AQKR6FcdhJTOVP+RQ6KDXV2OdK0ymRL0MLV/W 4v6w== X-Gm-Message-State: ANoB5pl/9Sy9x7UT9sxVDwI6hgyXHtWvutxKE/myY6pYeElrNQg+a2R8 Udck19xh3r5QKnkuy5mtz5gGFQ== X-Received: by 2002:a17:90a:199b:b0:218:72de:1f77 with SMTP id 27-20020a17090a199b00b0021872de1f77mr4054831pji.6.1670551592946; Thu, 08 Dec 2022 18:06:32 -0800 (PST) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:9a82:7898:7bf4:b4f]) by smtp.gmail.com with ESMTPSA id h3-20020a17090a648300b00218ddc8048bsm233473pjj.34.2022.12.08.18.06.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 18:06:32 -0800 (PST) From: Douglas Anderson To: Bjorn Andersson , Dmitry Torokhov Cc: linux-arm-msm@vger.kernel.org, mka@chromium.org, Yunlong Jia , Konrad Dybcio , linux-input@vger.kernel.org, swboyd@chromium.org, Douglas Anderson , Andy Gross , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/5] arm64: dts: qcom: sc7180: Add pazquel360 touschreen Date: Thu, 8 Dec 2022 18:06:11 -0800 Message-Id: <20221208180603.v2.4.Id132522bda31fd97684cb076a44a0907cd28097d@changeid> X-Mailer: git-send-email 2.39.0.rc1.256.g54fd8350bd-goog In-Reply-To: <20221209020612.1303267-1-dianders@chromium.org> References: <20221209020612.1303267-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?1751700646329388976?= X-GMAIL-MSGID: =?utf-8?q?1751700646329388976?= 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 --- (no changes since v1) .../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 */