Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1926895pxb; Thu, 28 Oct 2021 12:44:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfhtGmPHtf5wzcNuyJ/WsqR/is6zu66e40AlfXZiIxrXVnrohmwKLXht+rM/KFjv9Jzn15 X-Received: by 2002:a17:907:77cd:: with SMTP id kz13mr7758943ejc.59.1635450242590; Thu, 28 Oct 2021 12:44:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635450242; cv=none; d=google.com; s=arc-20160816; b=NsrBs4q029zdi6hsSGG5r9MYUZAbQDzasaOkpGcJqc7r9z6wU4g0F6psFrYXTDctzS NZXIBbFbddOIPvfvC27new/DM9pqY1pqzGzz0AEsxBSIf9d0a1tkwxdqHAV+PEB+D6Wo un/y+Ib2Sv1traJYgx+lkUNlScdXA7F8CLIgJLeRh3MLnL+ZBsVv6MG9MHo2rXPu7VTq 2Q+T0B3ItmDDE3JKmidlW0o3+9Uv7v4JTo8I3cslhmP3iKuA4V/TSaZmRqhJNDOYT0EX LilsMSzmgs0l8T/5++9Nuy6w0nGhhDqbMQKmuGwQmVpZMCbYYUS8TyKqhAA7KT6YuJRI QUhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=N4Eqbd0UGLUUWxA5kDPAWucE9MGTHM6kKCDv9lFpQAo=; b=JxUQskz7E7RCZ1K3oKt0JKmhaYDg+olAelyeGPiYL4Wn4c0yZJMV+BbOvmmxrMimI1 qDiefOrPVTzxFeh5b0aEwLFxbZK+uCpBvz6Je9vQiCDUWuCASGU0uOj2+Aa9aKBUvuHe eq0iIfpCyXb2IsKu9SUBrPkYuDPOgZVbLWk8RiR7ybPVtlgYlOu6Ir7GAJd7w91wo6T7 KV8vtapIxS5okm1K7yRpfvhFoGYFy5XXhW2C7i6mLjVKcaeS15b/+nhTNQEj9iUbMLB8 6ZSExn4/sOVarwNlpm0Y4s0D9BNh35WNfgZNKtTPZxDDbuEHU1NmewTlo05LVeq2F7dD Xw6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZBV7ZhlI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq4si7011078ejc.66.2021.10.28.12.43.34; Thu, 28 Oct 2021 12:44:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZBV7ZhlI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231158AbhJ1ToE (ORCPT + 99 others); Thu, 28 Oct 2021 15:44:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230104AbhJ1ToD (ORCPT ); Thu, 28 Oct 2021 15:44:03 -0400 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 200CBC061570 for ; Thu, 28 Oct 2021 12:41:36 -0700 (PDT) Received: by mail-io1-xd31.google.com with SMTP id h81so827968iof.6 for ; Thu, 28 Oct 2021 12:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=N4Eqbd0UGLUUWxA5kDPAWucE9MGTHM6kKCDv9lFpQAo=; b=ZBV7ZhlI78dRC+bco4/ReoNhTGvlsH3dlmb4b8tkYmoQR40VtpGyl3rO9lLluT08/3 I1+iRYehy8hPfBvpRdXw/kUxwNcDxpWQpJJr3FhaaOYYcDF66H1RC0COvhTzh0+DG+8J mR12svkECRLtify/O0UOombQMN3VaHR6aoM0g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=N4Eqbd0UGLUUWxA5kDPAWucE9MGTHM6kKCDv9lFpQAo=; b=rTzRjTVPC/9WJ5ZS791B/A3nwIQK/+Hg8dGMEIZmgf3LuEVaDIv8TyT7+zvhvSdwTs QGin4V7Vd/fmPm3c8J2rLWPqqyO1tdHSMuCME6T7dQ0Pduh1Jly6gkTh2ZrsBcpEamYl zNHXdoDSW8ZpZLch5HGhr+rr2+iPV2RqyhByduhEk8/9FVCA/BHAn6gDNBxqesXhdloM Ox7bTdI1Yo5jzAhNNN1ZnYuAUnhI3tc0eK/qNgiijxdqZIfbPIwO4SlRLSgQ2DTEoTD8 w7HiK+f7nRmSxTkdlEvgY0svVaDwuP35F4R7uG/8UY5O1nZUG3W+TsWT3Wtg5OYQE5H8 UQaQ== X-Gm-Message-State: AOAM532l49jfJOr5gSNVwCFBW/nKrERXjUF5q5vz0AKnSjV3d4AVjZmg HwP35GOGTR7Ri3paLZttMBYKDM6zEXgZ7Q== X-Received: by 2002:a5e:8805:: with SMTP id l5mr3370781ioj.150.1635450095372; Thu, 28 Oct 2021 12:41:35 -0700 (PDT) Received: from mail-io1-f47.google.com (mail-io1-f47.google.com. [209.85.166.47]) by smtp.gmail.com with ESMTPSA id m10sm2138468ila.13.2021.10.28.12.41.33 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Oct 2021 12:41:34 -0700 (PDT) Received: by mail-io1-f47.google.com with SMTP id d63so9666272iof.4 for ; Thu, 28 Oct 2021 12:41:33 -0700 (PDT) X-Received: by 2002:a6b:e50f:: with SMTP id y15mr4362167ioc.177.1635450093365; Thu, 28 Oct 2021 12:41:33 -0700 (PDT) MIME-Version: 1.0 References: <20211028105754.v5.1.I828f5db745535fb7e36e8ffdd62d546f6d08b6d1@changeid> <20211028105754.v5.2.I09899dea340f11feab97d719cb4b62bef3179e4b@changeid> In-Reply-To: <20211028105754.v5.2.I09899dea340f11feab97d719cb4b62bef3179e4b@changeid> From: Doug Anderson Date: Thu, 28 Oct 2021 12:41:21 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 2/2] drm/bridge: parade-ps8640: Populate devices on aux-bus To: Philip Chen Cc: LKML , Stephen Boyd , Daniel Vetter , David Airlie , Jernej Skrabec , Jonas Karlman , Laurent Pinchart , Neil Armstrong , Robert Foss , dri-devel , Andrzej Hajda , Sam Ravnborg Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, Oct 28, 2021 at 10:58 AM Philip Chen wrote: > > Conventionally, panel is listed under the root of the device tree. > When userland asks for display mode, ps8640 bridge is responsible > for returning EDID when ps8640_bridge_get_edid() is called. > > Now enable a new option of listing panel under "aux-bus" of ps8640 > bridge node in the device tree. In this case, panel driver can retrieve > EDID by triggering AUX transactions, without ps8640_bridge_get_edid() > calls at all. > > To prevent the "old" and "new" options from interfering with each > other's logic flow, disable DRM_BRIDGE_OP_EDID when the new option > is taken. > > Signed-off-by: Philip Chen > Reviewed-by: Stephen Boyd > --- > In v4, I factored out the "ps8640_ensure_hpd" change and added it to patch 1/2 > in this patch series. But I forgot to mention it in v4 change log. Edit v4 > change log retroactively. > > In v3, I factored out the "put_sync_suspend" change and added it to patch 1/2 > in this patch series. But I forgot to mention it in v3 change log. Edit v3 > change log retroactively. > > (no changes since v4) > > Changes in v4: > - Move the change of "ps8640_ensure_hpd" to patch 1/2 in this patch series. > > Changes in v3: > - Fix when to call of_node_put() in ps8640_of_panel_on_aux_bus() > - Move the change of "put_sync_suspend" to patch 1/2 in this patch series. > > Changes in v2: > - Add of_node_put() calls in ps8640_of_panel_on_aux_bus() > - Select DRM_DP_AUX_BUS for PS8640 driver in Kconfig > > drivers/gpu/drm/bridge/Kconfig | 1 + > drivers/gpu/drm/bridge/parade-ps8640.c | 51 ++++++++++++++++++++------ > 2 files changed, 40 insertions(+), 12 deletions(-) Should have carried my tag from v4, but here it is again: Reviewed-by: Douglas Anderson