Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2619882imb; Mon, 4 Mar 2019 09:36:57 -0800 (PST) X-Google-Smtp-Source: APXvYqzJHiPQFZkuk05mVG2iATQ+w52ljVuDTTcnmpcqjwK+R4woxgIjfRvJ9d0Fe7rOug8tsD+v X-Received: by 2002:a17:902:8b83:: with SMTP id ay3mr20431269plb.1.1551721017296; Mon, 04 Mar 2019 09:36:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551721017; cv=none; d=google.com; s=arc-20160816; b=ZauNKA+SF9zyqh/5W3EKDWeh0gFLtQBKlyA6ADS/eSQYG6vPOxUdXHGw6X/38ybw4v AKKtJlu6BtgvzAC2BMuhmHwJlghsIdsX468YQvQdzvvbIJsur0WQyjeyvUcED7aG8aCD DI5T7cmSRpNDpJFn4bEl1f1107X0qkWNQeEmkZ3zxtz+pgYiObSML5vwcKtiV73RBxN3 eAWuImSE1Uyf3lzjll7QM4a1jQ/9o63Ib0zLX9F7htsdogixY2KkBtvAdVceN7LXaLgV rGkNR4RNyS4ki3RRhJSoTPc8FXWouIU9Om7S2LjF8OiZdMcBMVrNs/Rgq2GPRTR/90ea w6DQ== 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=Pgdl7kEVCDFMG7yO/YXRwIwZoq1iIC+GYtDYYGcJwA4=; b=h32kykSO6Y5gntkfMFsCIPo8I75szpfoJ+TPn+GBFFrwcFR7yk7VH+hkhJG5BedK+2 MgS4C11hbBYpnxPoCQLJ+EGCYO+YLmo1wKk4Xcz7BoteD2UasJR9Fv94o7i8RIOmSvUj tYssPBa+bnJCTLpN2qA/toYl5KN6oWiBifYyKU2YgOYjhtgik6W88SXEkdMkBXGSvZvi oEw/UKgO5Me8nsj/Wd4cIRi/L3Nk+6khxjt3OhsPl0wchg4OH20hMh12YHTddUhQNChB h2q1NFQwryU1srzhBW82cS86gksaMDxrjo2+tbY2qfKvHQ/PIHjV8kcUf9VPLxh2XOV0 dAmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jVsTZaEo; 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 130si5947583pfy.262.2019.03.04.09.36.41; Mon, 04 Mar 2019 09:36:57 -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=jVsTZaEo; 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 S1727425AbfCDRfr (ORCPT + 99 others); Mon, 4 Mar 2019 12:35:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:53006 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726181AbfCDRfr (ORCPT ); Mon, 4 Mar 2019 12:35:47 -0500 Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (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 62D7720835; Mon, 4 Mar 2019 17:35:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551720945; bh=38tLZkWZIXN2FoXVwkQVv8/snPeJ9vD5u5f5EA6yjNw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=jVsTZaEoBwuO1+CvyPn6PWI5oKSuG7uuf1lvUMLrQCIDToKl3oiNzWPpJIxEjRIFL oreyMWiIzNSg7Ve4L3w+iNKYkJMlP6JNB/bynS1UFItiG2nxWCu/gepAoT77duBW19 pim8+fmyW6E/6M/kzePYBzH0/PFr8w2N+SHfh9YM= Received: by mail-qk1-f174.google.com with SMTP id z13so3237173qki.2; Mon, 04 Mar 2019 09:35:45 -0800 (PST) X-Gm-Message-State: APjAAAWjWNQDAZgU3kWuyjheZRGgzOcfeOXjbOF1XQio+/PYWiCngDDt zJotLuNsQb+6vStgoQATH2aaSGexfSrT6nmnbg== X-Received: by 2002:a37:a381:: with SMTP id m123mr14534890qke.147.1551720944588; Mon, 04 Mar 2019 09:35:44 -0800 (PST) MIME-Version: 1.0 References: <20190120172534.24617-1-lkundrak@v3.sk> <20190120172534.24617-5-lkundrak@v3.sk> <4e89406842c4821d590dc6518076cfe6f19cc6b9.camel@v3.sk> In-Reply-To: <4e89406842c4821d590dc6518076cfe6f19cc6b9.camel@v3.sk> From: Rob Herring Date: Mon, 4 Mar 2019 11:35:33 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/6] dt-bindings: display: armada: Add display subsystem binding To: Lubomir Rintel Cc: Mark Rutland , Russell King , dri-devel , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" 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 Sun, Feb 24, 2019 at 10:15 AM Lubomir Rintel wrote: > > On Fri, 2019-02-22 at 14:23 -0600, Rob Herring wrote: > > On Wed, Feb 13, 2019 at 4:37 PM Lubomir Rintel wrote: > > > On Mon, 2019-01-21 at 09:35 -0600, Rob Herring wrote: > > > > On Sun, Jan 20, 2019 at 11:26 AM Lubomir Rintel wrote: > > > > > The Marvell Armada DRM master device is a virtual device needed to list all > > > > > nodes that comprise the graphics subsystem. > > > > > > > > > > Signed-off-by: Lubomir Rintel > > > > > --- > > > > > .../display/armada/marvell-armada-drm.txt | 24 +++++++++++++++++++ > > > > > 1 file changed, 24 insertions(+) > > > > > > > > > > diff --git a/Documentation/devicetree/bindings/display/armada/marvell-armada-drm.txt b/Documentation/devicetree/bindings/display/armada/marvell-armada-drm.txt > > > > > index de4cca9432c8..3dbfa8047f0b 100644 > > > > > --- a/Documentation/devicetree/bindings/display/armada/marvell-armada-drm.txt > > > > > +++ b/Documentation/devicetree/bindings/display/armada/marvell-armada-drm.txt > > > > > @@ -1,3 +1,27 @@ > > > > > +Marvell Armada DRM master device > > > > > +================================ > > > > > + > > > > > +The Marvell Armada DRM master device is a virtual device needed to list all > > > > > +nodes that comprise the graphics subsystem. > > > > > + > > > > > +Required properties: > > > > > + > > > > > + - compatible: value should be "marvell,dove-display-subsystem", > > > > > + "marvell,armada-display-subsystem" > > > > > + - ports: a list of phandles pointing to display interface ports of CRTC > > > > > + devices > > > > > + - memory-region: phandle to a node describing memory to be used for the > > > > > + framebuffer > > > > > + > > > > > +Example: > > > > > + > > > > > + display-subsystem { > > > > > + compatible = "marvell,dove-display-subsystem", > > > > > + "marvell,armada-display-subsystem"; > > > > > + memory-region = <&display_reserved>; > > > > > + ports = <&lcd0_port>; > > > > > > > > If there is only one device, you don't need this virtual node. > > > > > > Before I follow up on this and submit a version without the virtual > > > node, I'm wondering: is it okay that the bindings for the LCDC and the > > > framebuffer are in the same file, or would it be preferrable if they > > > were separate? Both styles seem to be used for the display bindings. > > > > framebuffer as in the kernel fbdev? Really, that should be the same > > binding. It's the same h/w after all. However, there have been cases > > where things deviated. So I don't have a good answer. > > No, not the fbdev device, that one is managed by drmfb and is not > expressed in DT. I meant the reserved-memory node that sets aside > memory for the framebuffers. > > See patch "[RFC 03/16] dt-bindings: display: armada: Add framebuffer > reserved-mem binding". Perhaps that part should even go to > Documentation/devicetree/bindings/reserved-memory/. Okay. A separate file will be better and probably Documentation/devicetree/bindings/reserved-memory/ is the best location. Rob