Message ID | 20230206184744.7.I2d960ed7f2445db0cf3d227fde985fbd740f3c4d@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 s9csp2608149wrn; Mon, 6 Feb 2023 18:53:28 -0800 (PST) X-Google-Smtp-Source: AK7set+EY5LaBpLRW90DrL3dp+7qtiAZByWF3NrUTG/DJO6MVKWnwblKBzwY98LFcrSyQKay9TJ0 X-Received: by 2002:a05:6a20:12cc:b0:be:c80b:a8c3 with SMTP id v12-20020a056a2012cc00b000bec80ba8c3mr1928572pzg.42.1675738407853; Mon, 06 Feb 2023 18:53:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675738407; cv=none; d=google.com; s=arc-20160816; b=NQIK6qRQ++NlVqyeKj8esCi5OcSD0R+Xht6Qvzhl7OA7EFM+lH6oTY8DXztQaMKrxS UWp3+WvxnajPWBescDbeeLGTcAXqg4z09nO+U76LQFcnQxkt7hKJ57N7j/IjmjLZJg1n Gb2uLpjWRuYZiwv3Ge/AJOjIWu5l4UUko0uHCUToDqsxfv2VXveRryGU8HMgP6xwMsnp I/+vsTJXQ16NYT/C26VoYb5vNdDtubEUannCR20toWlZH0N8testAntivHL0+Tq3NdQu 45KwjAQjPjbMpd5L6ATt6rqGIQ3R3bqIjvvsbtyco61QgeGo4a6xqMe8MBeemr12w5aD 90dA== 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=IHoW6eYbAc4fXAYhlPFT1Ci+6Xw0RaXHqNRq/Iskxrc=; b=dfiuwaEgqiuErk8kmmCuTHUVxJcZy+KYQkilEygjEx3knx37O5O8eQKhR/MhxwV5KD G2FTwb8EeTvSSA2QtopgqNH47ogdmkFYa+I0F6utEeLvai1HelSeIK3odjStBqAedjKP T5VGn/RBYaAxgB3bGrgP8wBFzG41DwK2sLhQSkNOjUVbgvjKy2grTYk4fM/npDFtkC7I VzOtg1GgLTLdVjDWfzV2fOjFWmKxfwx0nNZLrzO4UP+z7gzXozFCKp91FnGfUPa9FFAk EC56ShG34mkAYiJjPdhdVvW0YIsumL4w++NRR0eGfR8DqD6vOtQ1zPN0rOVqeF9jgh3b Hfjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kT7BMzYX; 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 o10-20020a63a80a000000b004b1e9a32931si13253678pgf.595.2023.02.06.18.53.15; Mon, 06 Feb 2023 18:53:27 -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=kT7BMzYX; 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 S229923AbjBGCtj (ORCPT <rfc822;kmanaouilinux@gmail.com> + 99 others); Mon, 6 Feb 2023 21:49:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230106AbjBGCtY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Feb 2023 21:49:24 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 194E7303C6 for <linux-kernel@vger.kernel.org>; Mon, 6 Feb 2023 18:48:58 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id v6-20020a17090ad58600b00229eec90a7fso588857pju.0 for <linux-kernel@vger.kernel.org>; Mon, 06 Feb 2023 18:48:58 -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=IHoW6eYbAc4fXAYhlPFT1Ci+6Xw0RaXHqNRq/Iskxrc=; b=kT7BMzYXud6r+jZSY+nLPRfwUgsmnKvXesh1AVQcFAPTBzPv/4nhg7vAPr5s+pVHkd 1WEt3k0CjvfXwHJbSCzgtIGYtq2rEYzWkm6msNnbMvWJb2d5+bNQo+fF6h9M8lPp6zyF bgSiWjx6zCR/Boregwm3PEK4q2RR76aHTIZYc= 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=IHoW6eYbAc4fXAYhlPFT1Ci+6Xw0RaXHqNRq/Iskxrc=; b=iX+Kx4V8dev5TV6+aJCADt1e78zl+W0SOPl0jufjh5tSMSswA2eYtx2sSw7jBRiqKb 5GGHXW4yPepN2Bcpyz7lx/KafbRKboZhcRe7cOIXeAsHbochzEQaw+GxBn6z8Jqcjyse c2k68m6JpsybIL7vNiWrJuRIhrMKgjB5r6iejFgk3BIvCtuHxJha8Fd4XywR3KU0kS2c 6SBMQBRRKIvA3pnFNSfz6NhFY+wKbS+fHFXpKe7qZ38iwIEfxPAqu/TVuslsc9SQvtZd Ot5CuwUEWz5e6/bVQClz6RQSF/nyjWg6CtHgGSnq1bZ6sBDzSc+zGTOTRe83bHsv0lwq GDMw== X-Gm-Message-State: AO0yUKUy3kjE/RUnt2BACQ4V8gsRr/JHl1mtC0a6mUd9ZDA1rkoN4gNh E4HxbnwT7iWBRoAX2PnabBk9MA== X-Received: by 2002:a17:903:1cc:b0:192:5282:6833 with SMTP id e12-20020a17090301cc00b0019252826833mr1495566plh.29.1675738137588; Mon, 06 Feb 2023 18:48:57 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Feb 2023 18:48:57 -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 7/7] arm64: dts: qcom: sc7280: Hook up the touchscreen IO rail on evoker Date: Mon, 6 Feb 2023 18:48:16 -0800 Message-Id: <20230206184744.7.I2d960ed7f2445db0cf3d227fde985fbd740f3c4d@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?1757139076654500098?= X-GMAIL-MSGID: =?utf-8?q?1757139076654500098?= |
Series |
arm: qcom: Fix touchscreen voltage for sc7280-herobrine boards
|
|
Commit Message
Doug Anderson
Feb. 7, 2023, 2:48 a.m. UTC
On older revisions of evoker, the touchscreen was either
non-functional or needed special hardware magic to get it talking
properly. It's been decided that the proper way going forward is to
use L3C to power some buffers on the QCard and then configure the
touchscreens for 1.8V. Let's do that.
Note that this is safe to do even on older revs even if it might not
make the touchscreen work there (because they didn't have a properly
stuffed QCard). 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.
This patch relies on the patch ("HID: i2c-hid: goodix: Add
mainboard-vddio-supply") in order to function properly. Without that
patch this one won't do any harm but it won't actually accomplish its
goal.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
I haven't yet received real hardware to test this on, but it's a very
simple patch and, in the very least, highly unlikely to make anything
worse. No real users have these boards yet.
arch/arm64/boot/dts/qcom/sc7280-herobrine-evoker.dtsi | 1 +
1 file changed, 1 insertion(+)
Comments
On Mon, Feb 06, 2023 at 06:48:16PM -0800, Douglas Anderson wrote: > On older revisions of evoker, the touchscreen was either > non-functional or needed special hardware magic to get it talking > properly. It's been decided that the proper way going forward is to > use L3C to power some buffers on the QCard and then configure the > touchscreens for 1.8V. Let's do that. > > Note that this is safe to do even on older revs even if it might not > make the touchscreen work there (because they didn't have a properly > stuffed QCard). 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. > > This patch relies on the patch ("HID: i2c-hid: goodix: Add > mainboard-vddio-supply") in order to function properly. Without that > patch this one won't do any harm but it won't actually accomplish its > goal. > > 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-evoker.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-evoker.dtsi index 3d639c70a06e..0add7a2a099c 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-evoker.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-evoker.dtsi @@ -55,6 +55,7 @@ ap_ts: touchscreen@5d { reset-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>; vdd-supply = <&ts_avdd>; + mainboard-vddio-supply = <&ts_avccio>; }; };