Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1590130rwb; Fri, 28 Jul 2023 11:39:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlGKbGo8qW/UzcnOFkNm29Jpx/DU8dYNekPUOpqnpNny7OTb0Xi6CJT6q/JRGbV4OrTMGaC2 X-Received: by 2002:a17:902:c20c:b0:1b8:5735:2850 with SMTP id 12-20020a170902c20c00b001b857352850mr2246397pll.32.1690569576918; Fri, 28 Jul 2023 11:39:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690569576; cv=none; d=google.com; s=arc-20160816; b=ZPtEUezl6tWhCYoE0pcoZ8BifZqA8iY9yS9Mm8MuFs3RLMUccuzaaEQY6UAMxRVddq Ze/871tzTdLlmHm1jIKz8mPz8HsySuu/sY9CjfZE0hmzu23NQBl//UtpD8lxlboNQE35 zlS+D1AZPcUVu4QYYB4UxbPFeTyOJWL/siz+3uQl1767vr74XutOoH5otGTgG7fnORMk LP+Spv990/ar2kFcqCSpiVf/Y5aAk40G7x2XqjaHaR4FMrXG13niwj5xHyIcj+y2aBp+ Kh+hW6N3xhTgpAONGUUf9VSrO4Ww0avia82Y5yw9AqkD06bJJbHMAl5g8Jo/RwTspn5g vduw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=OksjTSbasaKDlLBRiSbrJQqC1q20sr1fdGQKMyKb9RQ=; fh=ijDscjCjV1z2X1cCzIpGQFsyapWx72FnFVe3waDLo6I=; b=Kr6jcVZ6Lu3GUUy16wEYgIM6oGWzJaZNiVNBomOuem+Jlmq1BH0ARVqCB8vzt5JD/3 PwcO8owZX9BIp02oKrKI4efMS6BFTvBTiPIeFD7UUvVVNIzoh3bJPKHpWp3M/otkkrXQ 8ZqSqIX9u5fkpGaKb4814H/N+orHt+9kLf69fajrL3bOIPNvs8WKB8QKCBSA9gwRqpuP bT5XeczlstH9c/cbs9nJxdOC8oyS0RBdvjE6aPIayN0dnczeLthw3UjmvdtG4r4JxoSm ujnGaUgKoL+8auAqdIcoprRTb1aIhqHsPwmd4cTcuhOPREILpZ2XKwLpqepCeLTJx0a/ c06Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ioM7av1Y; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d7-20020a170902cec700b001b89bd6fd59si3656234plg.215.2023.07.28.11.39.24; Fri, 28 Jul 2023 11:39:36 -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=@chromium.org header.s=google header.b=ioM7av1Y; 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 S232624AbjG1RY7 (ORCPT + 99 others); Fri, 28 Jul 2023 13:24:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230022AbjG1RY6 (ORCPT ); Fri, 28 Jul 2023 13:24:58 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF3C93A94 for ; Fri, 28 Jul 2023 10:24:53 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-5221b90f763so3067522a12.0 for ; Fri, 28 Jul 2023 10:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1690565092; x=1691169892; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=OksjTSbasaKDlLBRiSbrJQqC1q20sr1fdGQKMyKb9RQ=; b=ioM7av1YzBaFvfjIOPF/f2zM1OSDbDtHwJBng+JaV3GrX8NcGb39/dabdNWrq1XyrR Y4Ex/6wFZL21InBLOLzmmb6ATsrs5s1cfyqmE4MY8MAdNypLB0nDvVs7DRepi9KvJc61 mod6RIUS8zYoTctpxzT2aoNAVqUm409uFPR/8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690565092; x=1691169892; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OksjTSbasaKDlLBRiSbrJQqC1q20sr1fdGQKMyKb9RQ=; b=Uc49iEFEoXVSsuFkIz/LtsyBv4eO3SmERKqxPYoDq9tm7wrFlybukwqLixeidkdRML 7zNgVldH0pxL58i9nNpiL26NzbmjyHcGoGSluTe6VavsFNsK+9dUubbbbS8qKJrjG4G3 uRiDJOYcAglJQRPelUyzz4t5p+KDcAlXKlpMjIzs4UE/I9Kdz0bYzAmC6ki/OpLDZi0z NViLj0w6wJn+TxG6GvQFsC10qEp7bE1JAi/abUz+qbsICw/zRtJOPhLEZ+GxPPhJosC1 XCcnAITYO1BshL/J7/gwdW1AC5R+2wsgY7FSnFmdH/lPqgKVXKwzFRfud6GYXMOPS7Vs BmQw== X-Gm-Message-State: ABy/qLbXC53uNftxVchm+6zMXxlozKXXxrg79sIGivV8bxF4YsmKOsrn 3QVYX6xwPF+jCdjs8j8e4iWhol+1OCX+BaqoRd+Grw== X-Received: by 2002:a17:906:77d0:b0:99b:ef9c:e634 with SMTP id m16-20020a17090677d000b0099bef9ce634mr12745ejn.65.1690565091885; Fri, 28 Jul 2023 10:24:51 -0700 (PDT) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com. [209.85.128.41]) by smtp.gmail.com with ESMTPSA id cw25-20020a170906c79900b009786c8249d6sm2255867ejb.175.2023.07.28.10.24.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Jul 2023 10:24:51 -0700 (PDT) Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-3fe0e132352so5325e9.0 for ; Fri, 28 Jul 2023 10:24:51 -0700 (PDT) X-Received: by 2002:a05:600c:690f:b0:3fd:e15:41e3 with SMTP id fo15-20020a05600c690f00b003fd0e1541e3mr5980wmb.2.1690565071086; Fri, 28 Jul 2023 10:24:31 -0700 (PDT) MIME-Version: 1.0 References: <20230727171750.633410-1-dianders@chromium.org> In-Reply-To: From: Doug Anderson Date: Fri, 28 Jul 2023 10:24:18 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 00/11] drm/panel and i2c-hid: Allow panels and touchscreens to power sequence together To: Benjamin Tissoires Cc: Jiri Kosina , Benjamin Tissoires , Bjorn Andersson , Konrad Dybcio , Rob Herring , Frank Rowand , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , linux-arm-msm@vger.kernel.org, yangcong5@huaqin.corp-partner.google.com, devicetree@vger.kernel.org, Daniel Vetter , hsinyi@google.com, Chris Morgan , linux-input@vger.kernel.org, cros-qcom-dts-watchers@chromium.org, Dmitry Torokhov , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Jul 28, 2023 at 8:31=E2=80=AFAM Benjamin Tissoires wrote: > > On Jul 27 2023, Douglas Anderson wrote: > > > > The big motivation for this patch series is mostly described in the pat= ch > > ("drm/panel: Add a way for other devices to follow panel state"), but t= o > > quickly summarize here: for touchscreens that are connected to a panel = we > > need the ability to power sequence the two device together. This is not= a > > new need, but so far we've managed to get by through a combination of > > inefficiency, added costs, or perhaps just a little bit of brokenness. > > It's time to do better. This patch series allows us to do better. > > > > Assuming that people think this patch series looks OK, we'll have to > > figure out the right way to land it. The panel patches and i2c-hid > > patches will go through very different trees and so either we'll need > > an Ack from one side or the other or someone to create a tag for the > > other tree to pull in. This will _probably_ require the true drm-misc > > maintainers to get involved, not a lowly committer. ;-) > > > > Version 4 of this series adds a new patch that suspends i2c-hid > > devices at remove time even for non panel-followers to make things > > consistent. It also attempts to isolate the panel follower code a bit > > more as per Benjamin's feedback on v3 and adds an item to the DRM todo > > list as per Maxime's request. As per Maxime's response to my v3 cover > > letter, I added his Reviewed-by tag to all 10 patches that were part > > of v3 (but left it off of the new i2c-hid patch in v4). > > > > Version 3 of this series was a long time coming after v2. Maxime and I > > had a very long discussion trying to figure out if there was a beter > > way and in the end we didn't find one so he was OK with the series in > > general [1]. After that got resolved, I tried to resolve Benjamin's > > feedback but got stuck [2]. Eventually I made my best guess. The end > > result was a v3 that wasn't that different from v2 but that had a tiny > > bit more code split out. > > > > Version 2 of this patch series didn't change too much. At a high level: > > * I added all the forgotten "static" to functions. > > * I've hopefully made the bindings better. > > * I've integrated into fw_devlink. > > * I cleaned up a few descriptions / comments. > > > > As far as I can tell, as of v4 everyone is on the same page that this > > patch series looks like a reasonable solution to the problem and we > > just need to get all the nits fixed and figure out how to land it. > > Thanks a lot for the new version. I like it much more on the HID side: > > for the HID part: > Reviewed-by: Benjamin Tissoires > > I wouldn't mind having this series taken from the drm tree if that is > easier. i2c-hid is a low patch rate driver, so having it updated through > DRM should not be an issue. > > In that case: > Acked-by: Benjamin Tissoires Thanks for your reviews and your help getting this whipped into shape. Lading through drm makes sense to me. I'm a drm committer, so with your Ack I believe it should be fine for me to land the series (minus the dts) in drm-misc-next. This series has been around for a while, has been reviewed by relevant folks, and the last few changes haven't fundamentally changed anything about the design, so I'm not going to twiddle my thumbs too long. That being said, I'll still plan to wait until early next week (Tuesday?) before landing to allow for any last minute shouts. Given how drm-misc works [1] and the fact that mainline is currently at v6.5-rc3 (it will be -rc4 when I land it), I'd expect that these commits will find their way into v6.6. [1] https://drm.pages.freedesktop.org/maintainer-tools/drm-misc.html