Message ID | 20230206184744.3.I740d409bc5bb69bf4a7b3c4568ea6e7a92f16ccd@changeid |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2607154wrn; Mon, 6 Feb 2023 18:50:19 -0800 (PST) X-Google-Smtp-Source: AK7set9Y5R5YKiOyKcUgg0Wd5u/Tho1b4yoV2xPPEMa+WYS9TzYTuDNvjYTEyMYXYtKt/aNLUxIc X-Received: by 2002:a62:158f:0:b0:593:a800:2abc with SMTP id 137-20020a62158f000000b00593a8002abcmr1593797pfv.8.1675738219364; Mon, 06 Feb 2023 18:50:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675738219; cv=none; d=google.com; s=arc-20160816; b=XsIDt4JAgMCLlqfi6edHVoWz3yb4LkHDlD/Q21S5k77tb2a2qX0qZwPdKy6r8rkW8P MccdLXx4E/MeaGRadut41JxeMVn/G8J+WVYMD4mvat4chKUfpfAR8Hsarh6Bqek5Sw3w huUwPY7pkAuaOiK73Hz3J3REUe9Sk0QU0BnN5uziY/37gufHZcoA2VI7Egt7diUq0y0H 2S28JWeGoShPNhkPjAgDDz7ji3wjIfOunaAVrTkD9xJ69pTe65aLJOPWVcngNUVP1o84 GdWl3FBM3N9XRzFezdDeTDO+Ix4K280jQ/FszNXp94QWPZu6R6rwkDSi2cO1OhOJiiO0 HIXw== 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=sLp+h7RkE9BAbz0zHyr/CLuP3RxRPDj/C10VVagvrZo=; b=fQlZ/x3zeAIP596QnRIxMyHdj3tqH5o1HWwaJ65EXXJVy/bJmGPt3F1GSOF44yjvNt SpNJw8agFbHI/ern8ILd26G36Poe/r7CpKcfEeYaLCN6RppWp9zxwDfj17HO8A1sYGBM z6Ye7N7hVegPGNer/aHbT3VRlGbE7g4TBJzLijytMiGUg2XJ+aVGE5+d20uG8+1SCeqC XL6f9vZtfsEn4KX0EiwZNvCURBIVvE0kDvbRMjv2VLqPtuhG9MUrthaAGSKNrNz/l4ow ZTZFBraV1b6MvmiH+/ti5XhotQJcnzvdb2bo32WAE9mfD/geL4P8V9tn3KnlWVJfv7M8 DlXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Xi4CLe1Y; 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 i127-20020a625485000000b00592db3b9fd3si14114522pfb.275.2023.02.06.18.50.05; Mon, 06 Feb 2023 18:50:19 -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=Xi4CLe1Y; 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 S230080AbjBGCtX (ORCPT <rfc822;kmanaouilinux@gmail.com> + 99 others); Mon, 6 Feb 2023 21:49:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229970AbjBGCtO (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Feb 2023 21:49:14 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6966B367DA for <linux-kernel@vger.kernel.org>; Mon, 6 Feb 2023 18:48:51 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id bg10-20020a17090b0d8a00b00230c7f312d4so4044147pjb.3 for <linux-kernel@vger.kernel.org>; Mon, 06 Feb 2023 18:48:51 -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=sLp+h7RkE9BAbz0zHyr/CLuP3RxRPDj/C10VVagvrZo=; b=Xi4CLe1YUFGbQK9fHIDP7TOLa8HqqV10AofMQWhjvwuTAXDntSKh1G/0F0QlQVCzcc pEhIqIqhOmAdXm5aLGgYzXsLbW+CsNfBJpQt5WROcPEyPuuo7KN4Ys2FrBfQhEn2+/bE tham9kJH0m7c5ZHgU5I9beRFL9JBbZKhyMs5g= 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=sLp+h7RkE9BAbz0zHyr/CLuP3RxRPDj/C10VVagvrZo=; b=buPfZHSO47BmXoJIaiVc5ihO5+R3VIAQmIKL9N6Uf9dU9+Ka4XkkySBSBHx7wTgk2q FQ5BS7gCYdzUIOYW5kGmCD6K//r1Nkv/p8hXWjwOD2LAaWMBmaRpZgjWpfF79kRpUvV7 bzcahlxYCz4CWaRNh7NFJjq7XqJKB5YlZ2E2Ifa4z+vi/oQjnZvTHXShw+hGeiYvE0PK oZZ3KfJEWvI72+syAtCPPxXqvnCLwAZ0M3Cc5FxfqPqiFR0z1B+1RWiEL6vMJ0u7eV6J 13Rk6mVlhnj0Ylu5nmqvKDq64xwsSR/2ickyjT1i0eVhJu8+0J7m6F8rTJOdzIlr9yq4 mgiw== X-Gm-Message-State: AO0yUKWBuoDpT1W+TZDIwdmJmHb61Z+0+Sb6G0CXHYa9zvMZU+9ME+Q+ QVkzWdz4R7TYGQ9JJABNvM9ksw== X-Received: by 2002:a05:6a20:4421:b0:b9:2705:4e46 with SMTP id ce33-20020a056a20442100b000b927054e46mr2102261pzb.22.1675738130907; Mon, 06 Feb 2023 18:48:50 -0800 (PST) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:29fb:a635:f0df:f45a]) by smtp.gmail.com with ESMTPSA id s17-20020a63a311000000b0045dc85c4a5fsm6882430pge.44.2023.02.06.18.48.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Feb 2023 18:48:50 -0800 (PST) From: Douglas Anderson <dianders@chromium.org> To: Bjorn Andersson <andersson@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Jiri Kosina <jikos@kernel.org>, Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Dmitry Torokhov <dmitry.torokhov@gmail.com>, devicetree@vger.kernel.org, Stephen Kitt <steve@sk2.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Douglas Anderson <dianders@chromium.org>, Andy Gross <agross@kernel.org>, linux-kernel@vger.kernel.org Subject: [PATCH 3/7] arm64: dts: qcom: sc7280: Hook up the touchscreen IO rail on villager Date: Mon, 6 Feb 2023 18:48:12 -0800 Message-Id: <20230206184744.3.I740d409bc5bb69bf4a7b3c4568ea6e7a92f16ccd@changeid> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230207024816.525938-1-dianders@chromium.org> References: <20230207024816.525938-1-dianders@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757138879224611046?= X-GMAIL-MSGID: =?utf-8?q?1757138879224611046?= |
Series |
arm: qcom: Fix touchscreen voltage for sc7280-herobrine boards
|
|
Commit Message
Doug Anderson
Feb. 7, 2023, 2:48 a.m. UTC
On never revs of sc7280-herobrine-villager (rev2+) the L3C rail is
provided to the touchscreen as the IO voltage rail. Let's add it in
the device tree.
NOTE: Even though this is only really needed on rev2+ villagers (-rev0
had non-functioning touchscreen and -rev1 had some hacky hardware
magic), it doesn't actually hurt to do this for old villager revs. As
talked about in the patch ("arm64: dts: qcom: sc7280: On QCard,
regulator L3C should be 1.8V") the L3C regulator didn't go anywhere at
all on older revs. That means that turning it on for older revs
doesn't hurt other than drawing a tiny bit of extra power. Since -rev0
and -rev1 villagers will never make it to real customers and it's nice
not to have too many old device trees, the better tradeoff seems to be
to enable it everywhere.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
arch/arm64/boot/dts/qcom/sc7280-herobrine-villager.dtsi | 1 +
1 file changed, 1 insertion(+)
Comments
On Mon, Feb 06, 2023 at 06:48:12PM -0800, Douglas Anderson wrote: > On never revs of sc7280-herobrine-villager (rev2+) the L3C rail is nit: s/never/newer/ no need to re-spin just for this. > provided to the touchscreen as the IO voltage rail. Let's add it in > the device tree. > > NOTE: Even though this is only really needed on rev2+ villagers (-rev0 > had non-functioning touchscreen and -rev1 had some hacky hardware > magic), it doesn't actually hurt to do this for old villager revs. As > talked about in the patch ("arm64: dts: qcom: sc7280: On QCard, > regulator L3C should be 1.8V") the L3C regulator didn't go anywhere at > all on older revs. That means that turning it on for older revs > doesn't hurt other than drawing a tiny bit of extra power. Since -rev0 > and -rev1 villagers will never make it to real customers and it's nice > not to have too many old device trees, the better tradeoff seems to be > to enable it everywhere. > > Signed-off-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager.dtsi index 17553e0fd6fd..818d4046d2c7 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager.dtsi @@ -55,6 +55,7 @@ ap_ts: touchscreen@10 { reset-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>; vcc33-supply = <&ts_avdd>; + vccio-supply = <&ts_avccio>; }; };