From patchwork Fri Dec 9 17:12:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 31888 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp896151wrr; Fri, 9 Dec 2022 09:17:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf55Hrbdivpq3f04FferSYYTwZk8qXrRTWdJfBd7sYG5eQ0epvIkHJO9dBfbD8bj2OXhyuzs X-Received: by 2002:aa7:de04:0:b0:46a:8a79:377d with SMTP id h4-20020aa7de04000000b0046a8a79377dmr6143811edv.34.1670606276394; Fri, 09 Dec 2022 09:17:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670606276; cv=none; d=google.com; s=arc-20160816; b=pkRwpcK43GQ1vI0jfmb3scZFaQNV4wGCKy+3rh2pz3pAeqJZ2ZmDY+4m2OOvtTM05p +Vs3WXTqdThEHRy7mSinONbPJmKyOtSAV6t1wuhoultjF8GS6TJJ495u3H2qRqqWZvx6 9v4SlIYGY3lmvTOYgeo1V0TgI4N6P1o9YaY22RvMGhO3mcoVKDSS2xtGLkS2rML7/S9j CSnNv4kIQw+55h9SwDztIE2efw+aUPMnVTqRS8V1tFFfzKg62OfLVSyCKXrU6YiF/bac hSsLqh9JwGhNSOqOgDnIY9jrJmgmZy00f7YP19KRP/q8c7I3q6fTkxfmhtMfLtrpZz1E 9B0A== 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=PXmK3nCiI+cY6qMJ9PawYnDke2Ff9u+237akMobAAqY=; b=VpA/hGXpa+Updpnr/nWyVJhwIW0U6ulPs9jFGlp8dlhtTqAxgf4u0/dUksBhJl3c1z HpyGqwqSx2NQcq2oJcrzo2zimFrsBBYEiz28RMAbmyFQIgDl/IbRR3rHFlUtR3pkW37t W/ca8tWQOqDRLVc1CNP9ep0fLzxyNjsarkgt48MxkxU5SwRtOvGiiE8GmcdWzst9M3cU ChplHCztauGlu3Q4YznwcoxLvbNNyhYk9jzn4MG7gLLKQG8x/uc5KTa2g0mewCZs7pJ3 c9sijESsix+mtKJVFh5AQYErYJplerhUZ1fwlNq2Dp9byG9l88PjAn+kCCpwJvpWQR4f GKkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IqgadLnj; 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 b9-20020a056402084900b0046b1827eda2si2331527edz.74.2022.12.09.09.17.33; Fri, 09 Dec 2022 09:17: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=IqgadLnj; 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 S230121AbiLIRNp (ORCPT + 99 others); Fri, 9 Dec 2022 12:13:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbiLIRNY (ORCPT ); Fri, 9 Dec 2022 12:13:24 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A49A450BA for ; Fri, 9 Dec 2022 09:13:20 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id u5so5423591pjy.5 for ; Fri, 09 Dec 2022 09:13:20 -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=PXmK3nCiI+cY6qMJ9PawYnDke2Ff9u+237akMobAAqY=; b=IqgadLnjVNwyCp2QMMG0Nu8AsLBPgJgJ3n8Je131hOobY9YARQ0RMklSCn/mpKZ/DP Ro2PNmTYWvF/xo/40eE+NsHshil39bw/D+I2JWiRk3M1SRUzPSiTLu6MpVQlMSzjfcYl fZUOMiob21JBgRv01lTZvlInVn+OKcqRRPHgE= 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=PXmK3nCiI+cY6qMJ9PawYnDke2Ff9u+237akMobAAqY=; b=mCRKUXw023ksoFjKuj43X1mz8HlRTZG6wWv7/q+6DHumKfRM8we93EsPiaROTb1SWS UrcvJ2atlohY/0zrN1g7r9D0aLWsw79MR8ARcgr7drjQsWY2OWgoLpmlnaL/uf5JAuyK 32CxMlQztODbnjVTbrydZsKZUTT3ebG8QV/YMLhT9yEGtj+5ZsymK/O3KPoPve47uVqY 4FeoC1Us8iGeSeEAgBsO+BzSB02aW5PrjFC5rO5PSCM3bOcA8oi8cDoLnyrU2D4zXM7z En/us4b7u7hvnrZ2UnBLXYsus6DBevwI4tu81+kGKbepAkoGP8mApb8tyqGCGyN+4UcC Tsjg== X-Gm-Message-State: ANoB5pnDP+mPRYkxCGykpIojGJ0I8nMpnw0tRhhl1a7rAc0+2LGbkCTE NfRtLLw1I3qsJrzkQUPxrZOlGg== X-Received: by 2002:a17:903:4283:b0:189:7100:c50e with SMTP id ju3-20020a170903428300b001897100c50emr7136974plb.48.1670605999890; Fri, 09 Dec 2022 09:13:19 -0800 (PST) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:9a82:7898:7bf4:b4f]) by smtp.gmail.com with ESMTPSA id j16-20020a170902da9000b00189c62eac37sm1597503plx.32.2022.12.09.09.13.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Dec 2022 09:13:19 -0800 (PST) From: Douglas Anderson To: Bjorn Andersson Cc: swboyd@chromium.org, Dmitry Torokhov , mka@chromium.org, Yunlong Jia , linux-arm-msm@vger.kernel.org, Konrad Dybcio , linux-input@vger.kernel.org, Douglas Anderson , Andy Gross , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 4/4] arm64: dts: qcom: sc7180: Add pazquel360 touschreen Date: Fri, 9 Dec 2022 09:12:40 -0800 Message-Id: <20221209091234.v3.4.Id132522bda31fd97684cb076a44a0907cd28097d@changeid> X-Mailer: git-send-email 2.39.0.rc1.256.g54fd8350bd-goog In-Reply-To: <20221209171240.1614904-1-dianders@chromium.org> References: <20221209171240.1614904-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?1751757646825765627?= X-GMAIL-MSGID: =?utf-8?q?1751757646825765627?= 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 --- Changes in v3: - Removed hid-descr-addr .../dts/qcom/sc7180-trogdor-pazquel360.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 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..ff9dd6857f8b 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360.dtsi @@ -14,6 +14,25 @@ &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>; + + 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 */