Message ID | 20230207024816.525938-1-dianders@chromium.org |
---|---|
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 s9csp2606937wrn; Mon, 6 Feb 2023 18:49:44 -0800 (PST) X-Google-Smtp-Source: AK7set8AikgkfPZVgeb/JaKGPxAbcsoWxEO1E6EZnc0jOeLakHdtBhsWeXruXgvI1GaDgU6zhNWp X-Received: by 2002:a17:902:c612:b0:196:3f29:779f with SMTP id r18-20020a170902c61200b001963f29779fmr970745plr.6.1675738184588; Mon, 06 Feb 2023 18:49:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675738184; cv=none; d=google.com; s=arc-20160816; b=NnsxthP1rGEX3qSMZoYRHnxFoFdwr3FxeGllzM7jmwgqwAMCNJ0VKBYJLgw+g4aY10 IHncovP+IVdrsSVz8lHXlrHnLRLtGK0kk/AmE/SB/bCmO0bejIYSa1n9gBX0qt1/eeTS yw62rN2o9oVOb81LaFbwZksFkwfTrKHrs5SbITnK+gRd/0AtFBq9lOZ+IXcrliCboj+d aMGMnYAmyDPmeFSj7ct4dYE0CHI/FJAm2InBCToiYtFf9NB5zRraBYyPgbjf/AUPmrxQ g1zA1FWukc0ZWu4qqwUd6PhMnAbk0YwhPhBRACgIA81DLe70GOI/Qr4g5a0BY3UXMw5G fCxA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=wLClDN2mw8UPzR2Mt0bhcLHPl8f4SmjcZHaBzl3SwMQ=; b=LHdd047XAbwJSd9tDRdkUtpUjegfNxRfKSVYqcXUpMu09BQxgoo0yxxGJFdrpPA+cl o4JgrGZb3w/4xqgm5V+Etyd9CbK+cOcUI2YnOdXj9JYKTXv6Buy55hMDXOQ0WEL9BtV6 TJC0HFrnUYuOR4eQh+8M91YVKGACNWZmLUUgXHsKCjtjszd9fyltdaGNLY2CTXZ9RotW fgtJiYaWHV/2h2MqzA6YVsYcvreBaBl/MJOfKzzaXUpKwTvfLbmMUG5tq8U99+0UFh0W zK0i8JnjD9bNIrnkM82E1V5Zo2UfXURucZkm6+f3JBYEFAgd5ArmhL8iLE8TFrwFLKT9 WCbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=W0W7US80; 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 x20-20020a1709027c1400b001949482830esi12047837pll.414.2023.02.06.18.49.31; Mon, 06 Feb 2023 18:49:44 -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=W0W7US80; 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 S229910AbjBGCtE (ORCPT <rfc822;kmanaouilinux@gmail.com> + 99 others); Mon, 6 Feb 2023 21:49:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229822AbjBGCsz (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Feb 2023 21:48:55 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7341436463 for <linux-kernel@vger.kernel.org>; Mon, 6 Feb 2023 18:48:46 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id e19so6339074plc.9 for <linux-kernel@vger.kernel.org>; Mon, 06 Feb 2023 18:48:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wLClDN2mw8UPzR2Mt0bhcLHPl8f4SmjcZHaBzl3SwMQ=; b=W0W7US80iiNOz0nxN4KOFrjFuNsG9BK93IQfqi2yAaf/IQw25EYxXvAAzjrbpsTx1Z Qqf1SoXTX2tzuE1q7Az7/AWdpnqzb9oDfsoOgiqLT+owtX39aZRghRJwUwspUZN55btY HZwkoAUfUXOwX5ujJDuSyOQvp1N8iqD5ojSAo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wLClDN2mw8UPzR2Mt0bhcLHPl8f4SmjcZHaBzl3SwMQ=; b=4E/XSGVNCDoQoJzqnBSAdPF811JJ+AFxFMWn18WdML9I2/odtnmzBjhuAOVGCRT2BU aUE8w/OCcfYfunD310Ek9Rj2Q8SZOLxUt2L648RJJ6O5foeCoCeQlUC29KonAvlTwYM6 qiHEvsLB0cGGV2BkH3HGviPDxEz+ZXwEOvPYFuosWc8a6YBrlAqE11aDuo3/vUSDTGgp cHznn7E4SXreu897QS2gpMYwq/PPYsuS3hZQlo/AamHF8lMw4Oh0AwpyJFpYw/4rHnlo OhPq90jTIMNE3UfWGp54rts8VAyWTaUUx8c1aEEsYTlh9R0BwSwiHREdxLsiveUjQv8F iBvw== X-Gm-Message-State: AO0yUKUmlG7UhQsc8xFbbrp30ZOKP0SNU5r8UubnYDlq8CaP7EwQFECS EFV1hlKITXDQ0hSjGieHh0eurQ== X-Received: by 2002:a17:90b:2251:b0:230:c57b:7c24 with SMTP id hk17-20020a17090b225100b00230c57b7c24mr2034728pjb.26.1675738125883; Mon, 06 Feb 2023 18:48:45 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Feb 2023 18:48:45 -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 0/7] arm: qcom: Fix touchscreen voltage for sc7280-herobrine boards Date: Mon, 6 Feb 2023 18:48:09 -0800 Message-Id: <20230207024816.525938-1-dianders@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog 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=ham 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?1757138842596976508?= X-GMAIL-MSGID: =?utf-8?q?1757138842596976508?= |
Series |
arm: qcom: Fix touchscreen voltage for sc7280-herobrine boards
|
|
Message
Doug Anderson
Feb. 7, 2023, 2:48 a.m. UTC
Trying to figure out how to talk to the touchscreen properly on sc7280-herobrine boards was a long and difficult process. Many Engineering hours were spent deciding how exactly one should talk over i2c to a peripheral. In the end, a solution has been found and this patch series attempts to implement it in a way that will work for all herobrine-based boards. Validation of this code has actually been done on sc7280-herobrine-villager. Those patches are device-tree only and are placed first. They shouldn't be super controversial, I hope. In order to make this work, we also need to support sc7280-herobrine-evoker. For evoker, things are a bit tricker, though (I think) the solution we ended up with is not terrible. See the "Goodix" bindings patch for the full details. Unfortunately, I haven't tested the final version of these patches on evoker hardware. Thus those patches are at the end of the series and marked as such. It still wouldn't hurt to land them, if people are OK with it, since nobody in the wild has this hardware and and the evoker-specific parts of the patch are very easy to validate. Douglas Anderson (7): arm64: dts: qcom: sc7280: On QCard, regulator L3C should be 1.8V arm64: dts: qcom: sc7280: Add 3ms ramp to herobrine's pp3300_left_in_mlb arm64: dts: qcom: sc7280: Hook up the touchscreen IO rail on villager HID: i2c-hid: goodix: Stop tying the reset line to the regulator dt-bindings: HID: i2c-hid: goodix: Add mainboard-vddio-supply HID: i2c-hid: goodix: Add mainboard-vddio-supply arm64: dts: qcom: sc7280: Hook up the touchscreen IO rail on evoker .../bindings/input/goodix,gt7375p.yaml | 7 ++ .../dts/qcom/sc7280-herobrine-evoker.dtsi | 1 + .../dts/qcom/sc7280-herobrine-villager.dtsi | 1 + .../arm64/boot/dts/qcom/sc7280-herobrine.dtsi | 2 + arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 10 +- drivers/hid/i2c-hid/i2c-hid-of-goodix.c | 98 +++++-------------- 6 files changed, 42 insertions(+), 77 deletions(-)
Comments
On Mon, 6 Feb 2023 18:48:09 -0800, Douglas Anderson wrote: > Trying to figure out how to talk to the touchscreen properly on > sc7280-herobrine boards was a long and difficult process. Many > Engineering hours were spent deciding how exactly one should talk over > i2c to a peripheral. In the end, a solution has been found and this > patch series attempts to implement it in a way that will work for all > herobrine-based boards. > > [...] Applied, thanks! [1/7] arm64: dts: qcom: sc7280: On QCard, regulator L3C should be 1.8V commit: 428df177013bad1a0a062878e3d5224122b7a5fe [2/7] arm64: dts: qcom: sc7280: Add 3ms ramp to herobrine's pp3300_left_in_mlb commit: 4261cea17a2f5e0ec78eb3ceebb68dddb918aee9 [3/7] arm64: dts: qcom: sc7280: Hook up the touchscreen IO rail on villager commit: d90b98f5702dccc41a5885b65361573654fcaabf [7/7] arm64: dts: qcom: sc7280: Hook up the touchscreen IO rail on evoker commit: ef29188fe0b4de5c04b833378db92d3a3e0709e8 Best regards,
On Mon, 06 Feb 2023 18:48:09 -0800, Douglas Anderson wrote: > Trying to figure out how to talk to the touchscreen properly on > sc7280-herobrine boards was a long and difficult process. Many > Engineering hours were spent deciding how exactly one should talk over > i2c to a peripheral. In the end, a solution has been found and this > patch series attempts to implement it in a way that will work for all > herobrine-based boards. > > [...] Applied to hid/hid.git (for-6.3/i2c-hid), thanks! [4/7] HID: i2c-hid: goodix: Stop tying the reset line to the regulator https://git.kernel.org/hid/hid/c/557e05fa9fdd [5/7] dt-bindings: HID: i2c-hid: goodix: Add mainboard-vddio-supply https://git.kernel.org/hid/hid/c/1d18c1f3b7d9 [6/7] HID: i2c-hid: goodix: Add mainboard-vddio-supply https://git.kernel.org/hid/hid/c/eb16f59e8e58 Cheers,