Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1843169pxj; Sat, 22 May 2021 03:35:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjij9Bblr0KAz7X9DM+DuSNJyvFnMgWr4N2FKYLwKMnjGYUFOFIO/wmYu/faS1QTGxyOLG X-Received: by 2002:a17:907:16a5:: with SMTP id hc37mr14992619ejc.166.1621679756879; Sat, 22 May 2021 03:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621679756; cv=none; d=google.com; s=arc-20160816; b=UN4TplfR76+S3oYEnFZ4ohdU3nSsonmKEVTouFYXixT7MerEzSbKzmPylON9rwQROA 7PukqS2AgGBBhBVyCi7HmR91XlMJUoGTU4UANIgRqP7GjaJXm88wGX9cI7jnoR4TF1U4 mi8LC5mkvKcvKh5heqlWZ2rltr/LBcsQj1ebSs2lhgmWm6avoyBM3grQZz6W3W18/mQl ZzeG0Xit+4xGXfs2jSq7i0mn9Rd+LUsFDZOu+jmK9Hd7rpeyKUNCvMkBbpOK24tAjHyJ X8wvl8i+tz3JLSds91GZmcgV738sUUj/PRgIioZzyH7Lw0lK8KBSHFBmUa4mRo7UbLHa vnUg== 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=GYUGb+Vmff9gIUFyntVd0FDSDvGjX/ufL9sA1nyH3vE=; b=yf8VqhS3cbb1acayfsfR9FeyWCdZRDVMR14z9+4qPTStU8kV28v2jRcExL5Fuf9uO+ GmpGNGn//rLsbn+Y4u8fbM1jal9XNarZI2+K5vu/Ny3BkClm5+Rq+o9kOC21hKWIfvvA avRfyNCFOU9HRFU59oxpwP0VIV13MDv8Muw4G5E5pYLLexKJJMk7wBstbf8Q+KRHmgwv nBdRVwVG/v5JUwtjaw5UpEkuxrXXXpnIdZ7SD/bDNfnFe8jGtyy4d1xiZdivwFkP4hhs tl6ZEtILTtOyRItvv3Qwd8+ItMWHMq2OvhJSxzR/4/Ss9IBpLHTtEVOh5to4Rf6EtpKc /6kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BoJ8q46z; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hc37si3842859ejc.354.2021.05.22.03.35.33; Sat, 22 May 2021 03:35:56 -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=@linaro.org header.s=google header.b=BoJ8q46z; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230168AbhEVKgI (ORCPT + 99 others); Sat, 22 May 2021 06:36:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230186AbhEVKgH (ORCPT ); Sat, 22 May 2021 06:36:07 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE488C0613ED for ; Sat, 22 May 2021 03:34:41 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id t17so10267100ljd.9 for ; Sat, 22 May 2021 03:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GYUGb+Vmff9gIUFyntVd0FDSDvGjX/ufL9sA1nyH3vE=; b=BoJ8q46zkHwgiqwqQriO/CkcH2ITeLf1ezMGx+UzZ8wDLGLO89xIOlJochoYDjDjWD VKfN6KnYmFLB6KSnYwg+92T2S7iOLUicG+XA/VkwSPkDfLa0WoMwqCiNkWhUogFjad74 m6WXkkfcz9fq/r+HAtrmj/7OmM2bIeWOW1c7iMm5v8+ZHPQBbU5g2oeV2FQZj8sFlhI5 Vxayp7bWj1GlHkAtIK5GTCSwY8mn0K8RTEfO50R/b0+ozUyYoiTomGDigFs5riqELBa5 Y8zobRoz3tuQhl8Kc5/PykT1s7cppXe7/V2Hke6tIKBaDMkyYY23avqaiUk98xQ5gFcU 2B+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GYUGb+Vmff9gIUFyntVd0FDSDvGjX/ufL9sA1nyH3vE=; b=flSJA6qERfVNwihJLlS8kQtWMhvljGLyAv+H9bzlAtqow3rVbfJETF/BqUKWsKK3ZA qWDUE9zB8qX4o2FeiM33rn355NGsMb9h1x9ovpmyAbBcEUHIOE00aZTv4Htc6vXl7HDJ EIAMbnaE4HXopKz3UWY06HsUtyl8DB0EQAPdNuUsVSzN/c12SgHLTtu0eW/40GmnqWXd FDs+bwB/ByT6h5h/PJRmzAWuuVE92buj2Y4dVqgCMIwV1HCmxWeCiRe8whJPdnTY/RGY BNQudN6PvvcEjBd5FG0o3VJY+Oi6cZtT6ayaZFIl2b970uAWXW+ZEYTfbuL1+ueYoZCl VAMg== X-Gm-Message-State: AOAM533ESNbfLV6mfkY+IV7YFfYxa9Vq4/hqLI83TRiOUjMYwQ+zzaZe gV0uvpZw0MN9Jqgo2Fv4Ubw1ze8UC9f4pYRPgJkRWw== X-Received: by 2002:a2e:889a:: with SMTP id k26mr9933011lji.438.1621679679967; Sat, 22 May 2021 03:34:39 -0700 (PDT) MIME-Version: 1.0 References: <20210517200907.1459182-1-dianders@chromium.org> <20210517130450.v7.4.I787c9ba09ed5ce12500326ded73a4f7c9265b1b3@changeid> In-Reply-To: <20210517130450.v7.4.I787c9ba09ed5ce12500326ded73a4f7c9265b1b3@changeid> From: Linus Walleij Date: Sat, 22 May 2021 12:34:28 +0200 Message-ID: Subject: Re: [PATCH v7 04/10] drm: Introduce the DP AUX bus To: Douglas Anderson Cc: Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Sam Ravnborg , Stanislav Lisovskiy , Lyude Paul , Thierry Reding , Stephen Boyd , Bjorn Andersson , MSM , Maarten Lankhorst , "open list:DRM PANEL DRIVERS" , Rob Clark , Steev Klimaszewski , Rajeev Nandan , Daniel Vetter , David Airlie , Maxime Ripard , Thomas Zimmermann , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 17, 2021 at 10:09 PM Douglas Anderson wrote: > Historically "simple" eDP panels have been handled by panel-simple > which is a basic platform_device. In the device tree, the panel node > was at the top level and not connected to anything else. > > Let's change it so that, instead, panels can be represented as being > children of the "DP AUX bus". Essentially we're saying that the > hierarchy that we're going to represent is the "control" connections > between devices. The DP AUX bus is a control bus provided by an eDP > controller (the parent) and consumed by a device like a panel (the > child). > > The primary incentive here is to cleanly provide the panel driver the > ability to communicate over the AUX bus while handling lifetime issues > properly. The panel driver may want the AUX bus for controlling the > backlight or querying the panel's EDID. > > The idea for this bus's design was hashed out over IRC [1]. > > [1] https://people.freedesktop.org/~cbrill/dri-log/?channel=dri-devel&date=2021-05-11 > > Cc: Laurent Pinchart > Cc: Lyude Paul > Cc: Rajeev Nandan > Suggested-by: Laurent Pinchart > Signed-off-by: Douglas Anderson I like the concept and the general idea behind this, clean and helpful design. Acked-by: Linus Walleij Yours, Linus Walleij