Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp763563rwd; Thu, 8 Jun 2023 07:27:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5EV/wdKZ99FVMZSGo8xMEVi0A4ITjzTwO/YAqo4wcgopekatmxMlnJjVdDMMpq6Cbh9ef9 X-Received: by 2002:a05:6a21:1509:b0:111:a0e5:d26e with SMTP id nq9-20020a056a21150900b00111a0e5d26emr6453179pzb.53.1686234450127; Thu, 08 Jun 2023 07:27:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686234450; cv=none; d=google.com; s=arc-20160816; b=Xx6O5xhXHdZ0oD269q+di6rMfZM7Kw7waudP25Ybz3mPD7isx8p69inDmIoI8myoYq Z6whu8AYds1kZdGtEJzTbAPDf0wYyHhM2RdndNtQJXPU7gxbnzHsJqvaztuJ/I5wIgn1 fg1lL/SBIFFke3VzKoRhd0+nc/AJIK5V30BOTsclTR+xWefS0SehYwPu+Lst6toisVWp f5+rDqHeWaae+OEt9bsFgPODog+Vb7tmDFiF28DV82ELygHZ4jAVsPr26hVhxG+FRJq+ 51QVpFH8YoTRzwRM0UTqgZAhIMsj7cswZPmFFfjvIztv73a0M9rJ6meobkmLLHhFNqQ8 bpYA== 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=X3t2+VicqWZyWSqMvGHuZbjdQLftCqpRUh36HcJZFkY=; b=TVBIuLqUXnQEsotceDVXFSPIkq7KQwogNPYYh02YFu/VQlCkdL5REeDIB233mbeabJ GOBLaoOd9V9q/BwQy1OVtxnGCkXyF0rJ5GTiF/y0g0hIGjCwz3/TIPGp80/QikFlGaI2 YCZ17KDTBTVQnhLroqQis4fReWuOe/AGBoJ9erh8EB3iLiwZOETd9REM2n1QN4BO1lth yBcQejItqWmutH6R3qbp5ix4rTjDOEBNEmzNd55FUbfYADUq00kYbossqhrsPKv+yhWn BzPCkZuuxw+xFMCpyJfMpr8xPC5BIVC6Bjy5Gz2u7hwZFiiVBf4OPzXhp3e1tS2zJTLH dJJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rTUDLf9q; 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 z10-20020aa7948a000000b0065a4bc8a998si856914pfk.385.2023.06.08.07.27.16; Thu, 08 Jun 2023 07:27:30 -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=rTUDLf9q; 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 S236830AbjFHOUb (ORCPT + 99 others); Thu, 8 Jun 2023 10:20:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbjFHOU3 (ORCPT ); Thu, 8 Jun 2023 10:20:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D22561730; Thu, 8 Jun 2023 07:20:26 -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 5E19864AE0; Thu, 8 Jun 2023 14:20:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA543C433EF; Thu, 8 Jun 2023 14:20:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686234025; bh=Th1LxrT8KdmLSh3YIuh2Q25jf9THPmdHaJyxevJaMSo=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=rTUDLf9qOVFeZzKzI8cahDWYq5vldNr97JiP2rUutibt8l76hmUuot/905aAv91iM Tsdvp8LqZ5x/4fYbVPOaPJujmOtLx3YTv1dxppAPQTc2RVZTc4Aoy3pP/PZEiLdgj1 ydRlumN2v4zSUsYf43NHnMCpq0x0wA2CmcZckRgCtnqknj/zgsvATxXZM8WjTa5doz F/IlysnPgKhT+4bYt2Dz1XT513JS+ix6GGG5xvr7EuzmUzzog9kwOasRqK7LbVkfUR Yb7ljPaJ5ruM+5Tk0NSaUkM01wxdllsI/yNAUdBmwFokTJpi1uDmABIpHSCLSPu7U4 OVmiEUrlmIkdw== Date: Thu, 8 Jun 2023 16:20:11 +0200 (CEST) From: Jiri Kosina To: Fei Shao cc: Rob Herring , Matthias Brugger , Jeff LaBundy , Douglas Anderson , Benjamin Tissoires , Conor Dooley , 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 RESEND v4 0/2] Fix Goodix touchscreen power leakage for MT8186 boards In-Reply-To: <20230524114233.RESEND.v4.2.I424e840ae6de3cdbd67394cf4efd24534f6434ba@changeid> Message-ID: References: <20230524114233.RESEND.v4.2.I424e840ae6de3cdbd67394cf4efd24534f6434ba@changeid> 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=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Wed, 24 May 2023, Fei Shao 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. Please apologize the delay. Now applied. -- Jiri Kosina SUSE Labs