Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1325580ybf; Thu, 27 Feb 2020 08:50:50 -0800 (PST) X-Google-Smtp-Source: APXvYqy3WEX9mDkBmPUCcsdJyax9Kon2IUEtsgQKsOp7tsWUcIbDFOsWt0rf3v94zf6f47qvq3p2 X-Received: by 2002:aca:1215:: with SMTP id 21mr2346818ois.5.1582822250199; Thu, 27 Feb 2020 08:50:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582822250; cv=none; d=google.com; s=arc-20160816; b=hh4ddDHkjl3+dWbtmUdIzt1Pb+J0tD2fGa15mgVP41YIB+RTGEwttAnrYnnK+kkyZx IrmtkfhQWkgFvlW+nLYRpK499jmmyGgG53UWJgG/G7CibUv+iaDrK47ymENG+y1cxZFu 2ioR6F/dl3MSpRnTyJOrx5Z7muU9U0wn9RnLciKCIYjOQO1wW8x80vuJKmQNZttBVOrt uOuOj7QBSGqzs0RWZppg6NksgUGH4EbXZXMcElfkZ+7o9o/klNPVS2xvnePksYGtlPlV GeUxxcJA/8V3gXGK3TP8WhE3pE7YHxxVhBuJLqdErzTa1sR5BeCTEkdpKAapC6Ul3bgV 3Otg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=OcjXtb8pCCXvMeFRsL7Dm3SWyQb43Jkhc2vuWJy7Gak=; b=JxQOuUlAj0Lg8Iih8qoYUFtyQFhexQcya4YV8NmUzn6KXJj5tDkS9I5m6aUdZ/ORgZ XH9JNvHlInX+Xaqh7ObL7q62pN+Ebx3KSBaeX5HVcUoPN49S8+hjqRDxTJdsxnWCqF81 Ykrgoel/iVL6crb0CEkD1WyNbXvDCXyk5aQfYRedAPprHAQq6/Xiz38XahatpyMasz5J pj/COifzOiovg2WZG4H1PQOgjpbVtSjgmHsas/g62HEX4e2No4waPxmpzrO5lZ7pruaA HadkbNNjSE4DKCWcnkoMzY3NXVRrB7AXa9niMc8SDfSqvPYoR+inGAVQ8lxTIhJaER9r ynsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fBa0giuW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h21si1906514otr.235.2020.02.27.08.50.38; Thu, 27 Feb 2020 08:50:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fBa0giuW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1730337AbgB0QuW (ORCPT + 99 others); Thu, 27 Feb 2020 11:50:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:36358 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729165AbgB0QuW (ORCPT ); Thu, 27 Feb 2020 11:50:22 -0500 Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B2FC4246A3 for ; Thu, 27 Feb 2020 16:50:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582822220; bh=FyWAvV9W4uLcTtFZzaV8oagBiwmxzHMrlZt2Nl+L7BY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=fBa0giuWcebLxY6glY2aWH6VZ3VxxBO9cYQwUAJW9/BS97BIiN+5ISHAPlSVyBlMT NYtbtOUbPUv2uAP1m/KfyR2gT8T+sw5rJc91B6JBvTZcnW7ECsY6PW0Ctua3vFiH88 alOqc9YW0g6HF5mYsmlSBEzCQgM1jJ3qmdBV2qWg= Received: by mail-qk1-f178.google.com with SMTP id m9so3794536qke.4 for ; Thu, 27 Feb 2020 08:50:20 -0800 (PST) X-Gm-Message-State: APjAAAXJhqxwn4+OnOArMMHE+usAa0boaZyYDWuvGH96Y7XUwjOGA6YF jAr2C/sQI5czy0CDyzgoz5aaGWkOPXGGKByuGg== X-Received: by 2002:a37:a750:: with SMTP id q77mr88866qke.119.1582822219778; Thu, 27 Feb 2020 08:50:19 -0800 (PST) MIME-Version: 1.0 References: <1582710377-15489-1-git-send-email-kevin3.tang@gmail.com> <1582710377-15489-2-git-send-email-kevin3.tang@gmail.com> In-Reply-To: <1582710377-15489-2-git-send-email-kevin3.tang@gmail.com> From: Rob Herring Date: Thu, 27 Feb 2020 10:50:08 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH RFC v4 1/6] dt-bindings: display: add Unisoc's drm master bindings To: Kevin Tang Cc: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , Daniel Vetter , Mark Rutland , Orson Zhai , Baolin Wang , Lyra Zhang , "linux-kernel@vger.kernel.org" , dri-devel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 26, 2020 at 3:46 AM Kevin Tang wrote: > > From: Kevin Tang > > The Unisoc DRM master device is a virtual device needed to list all > DPU devices or other display interface nodes that comprise the > graphics subsystem > > Cc: Orson Zhai > Cc: Baolin Wang > Cc: Chunyan Zhang > Signed-off-by: Kevin Tang > --- > .../devicetree/bindings/display/sprd/drm.yaml | 36 ++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/sprd/drm.yaml > > diff --git a/Documentation/devicetree/bindings/display/sprd/drm.yaml b/Documentation/devicetree/bindings/display/sprd/drm.yaml > new file mode 100644 > index 0000000..b5792c0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/sprd/drm.yaml > @@ -0,0 +1,36 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/sprd/drm.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Unisoc DRM master device > + > +maintainers: > + - Mark Rutland > + > +description: | > + The Unisoc DRM master device is a virtual device needed to list all > + DPU devices or other display interface nodes that comprise the > + graphics subsystem. > + > +properties: > + compatible: > + const: sprd,display-subsystem > + > + ports: > + description: > + Should contain a list of phandles pointing to display interface port > + of DPU devices. > + > +required: > + - compatible > + - ports > + > +examples: > + - | > + display-subsystem { > + compatible = "sprd,display-subsystem"; > + ports = <&dpu_out>; We try to avoid these virtual nodes and bind with actual h/w nodes. Can you have more than one DPU and if so does it need to be a single DRM driver instance? Rob