Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4322147rwd; Tue, 23 May 2023 06:21:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4MoYI02QTtLn1C1zILXt9FclqmElrTQ8E2Y2yFojEWVGTSr1t8gfOZ9CyP3o2yAe/PDfvl X-Received: by 2002:a17:90a:64c4:b0:253:749d:205 with SMTP id i4-20020a17090a64c400b00253749d0205mr11043194pjm.35.1684848076293; Tue, 23 May 2023 06:21:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684848076; cv=none; d=google.com; s=arc-20160816; b=bKTeq2mgpTvaFcvzbFhQXmW+Xew5qoFej5VrpDAOFo/GbAY6Q8q/v4k6QJUaL4jkFb 0dXkvgPUrsLAKOVS1XWOTuJI7Ijdzm+79jcCAyo4re2D2jlRgqvM6v+ET7bwrMp4kA1x Gq+R2/EEBk2JT7BCZ+GQmKBD7nH5KJnEB/JOn3Kw3VwJhM/yTV9Kv1aH14/G+1WZ19Nz bKzn4FJTFyY/RgKQH5c7spT/Sij1xlarRSCKZrFCA0VhqWvQj/VjDZF+J20KiORv3yWf HwbmWhHY+8fOlE4A0jBxMx0V9Z0iuzwZPX4XM8F+tseQq9jk2OEDHDkkugR6zGXlEQz9 aMCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=6m5Yf0KMdA8LDE+11LBMRA61gUdFtv3bjHZyucN29n4=; b=O/50dSPLw1H6T/D4fqSIBn2inxdh7gP7l1qaRI0Sw8NK9hg8XWH1BEH0Z+BAZE3tnl pNGPqgOZfgp34U0KNdamRrVrBWAaeiOpdf8iuyJlSg5iNK87rFVqHIWVPfmFZllBJApN RYClzSJTlQ9uraMNrf1FFf0mGTzQu1mJMtBQGHEalGZVvM/f9xgO8Mz1dfZqID1WGlfP WIv/nWrOvGI5K/z3Wj9GySNz47sP4EYD7Z7Yutk/JR+9QSMKeYKYhPjAgcf5jwkAJDDs H5xQ/+BA0NT6mcuJa0DsIcDng65EZtjnmzb3Jj9lRSb8dt/wncrs4QVq6Y18NlZ1ffHI CE+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s9zE2SLW; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t14-20020a17090aba8e00b0024e0eec665fsi4902314pjr.73.2023.05.23.06.21.02; Tue, 23 May 2023 06:21:16 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=s9zE2SLW; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234683AbjEWNLW (ORCPT + 99 others); Tue, 23 May 2023 09:11:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236428AbjEWNLS (ORCPT ); Tue, 23 May 2023 09:11:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9BDBDB; Tue, 23 May 2023 06:11:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7D3CA60BA6; Tue, 23 May 2023 13:11:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 471A2C433EF; Tue, 23 May 2023 13:11:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684847475; bh=Sddi6O0W7Q4lS+qA4cWluXzgfscZUqbIj8VrG2ya2OU=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=s9zE2SLW1Kcosn3utWP71RzVK9W9s7NPberv0YFBtxz1tMovUCjSnHPexxHdIJ4LI P57uNVw8heqJLBVr7lnN7bV2qC2bJbunDvXVETzYJVNIg6EHh1vcJs4wFOI052YcaL XjSv0SFKKf09sW03GjkO9iXinC1C8IDBXgkJ7tFan+sHkIyoSN81qw1KZWyrtuy6+i JpdDh2zJP4VsmggP6dGodjbRvZXp8ST8NoY+0x4WSuIRClUOEKeiXHAq/+A9axcPX8 2uTLQiiCWLSqsWExsj0K4v3iIM8hUSCzbY4oeB0h8RvOlWWYtKGwS/s1cGcqhon1YZ zRLl+FHmHIi/g== Date: Tue, 23 May 2023 15:11:11 +0200 (CEST) From: Jiri Kosina To: Doug Anderson cc: Fei Shao , Jeff LaBundy , Benjamin Tissoires , Rob Herring , linux-mediatek , Dmitry Torokhov , Krzysztof Kozlowski , Matthias Kaehlcke , Stephen Kitt , devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 0/2] Fix Goodix touchscreen power leakage for MT8186 boards In-Reply-To: Message-ID: References: <20230427035656.1962698-1-fshao@chromium.org> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 19 May 2023, Doug Anderson wrote: > > These changes are based on the series in [1], which modified the > > i2c-hid-of-goodix driver and removed the workaround for a power leakage > > issue, so the issue revisits on Mediatek MT8186 boards (Steelix). > > > > The root cause is that the touchscreen can be powered in different ways > > depending on the hardware designs, and it's not as easy to come up with > > a solution that is both simple and elegant for all the known designs. > > > > To address the issue, I ended up adding a new boolean property for the > > driver so that we can control the power up/down sequence depending on > > that. > > > > Adding a new property might not be the cleanest approach for this, but > > at least the intention would be easy enough to understand, and it > > introduces relatively small change to the code and fully preserves the > > original control flow. > > I hope this is something acceptable, and I'm open to any better > > approaches. > > > > [1] https://lore.kernel.org/all/20230207024816.525938-1-dianders@chromium.org/ > > > > Changes in v4: > > - Minor coding style improvement > > > > Changes in v3: > > - In power-down, only skip the GPIO but not the regulator calls if the > > flag is set > > > > Changes in v2: > > - Use a more accurate property name and with "goodix," prefix. > > - Do not change the regulator_enable logic during power-up. > > > > Fei Shao (2): > > dt-bindings: input: goodix: Add "goodix,no-reset-during-suspend" > > property > > HID: i2c-hid: goodix: Add support for "goodix,no-reset-during-suspend" > > property > > > > .../bindings/input/goodix,gt7375p.yaml | 9 +++++++++ > > drivers/hid/i2c-hid/i2c-hid-of-goodix.c | 16 +++++++++++++++- > > 2 files changed, 24 insertions(+), 1 deletion(-) > > Just double-checking if there is any work needed on this series. I > think it's ready to land but I wanted to double-check. I don't think I've been CCed on the dt-binding part (patch 1/2 I guess). Has it been Acked? If so, I will happily take it through hid.git, but please send it my way. Thanks, -- Jiri Kosina SUSE Labs