Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp1851757imc; Fri, 22 Feb 2019 12:24:35 -0800 (PST) X-Google-Smtp-Source: AHgI3IY5Ldn7FpLCqjhWl9ZIR78QPrbp4BEd2x2ZLTJMd3gEehgsM9QSg9fvNpphSd2kgjq8Iwot X-Received: by 2002:a63:f806:: with SMTP id n6mr5612917pgh.19.1550867075246; Fri, 22 Feb 2019 12:24:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550867075; cv=none; d=google.com; s=arc-20160816; b=f1ewgtKcU4gzLh/lRptqamJVfMd1ztqHXKZOaxXs5LZZKw6B5DwRj7abO6GYslSPHD oWtU9LwLWuprYBD9YGutDIOpvDwAgKMRghi21dMf4MMKkWdwZdvUQrtuJFptMTfUj89z XtJ6Rk1qeYD0TIuIlieL0sRl5+nYhErfdLPlT/U8QGlxJkcNKDED5tGU7VpQHeHNaN1N uxhBcRdDXS8yTahkK2GzSlNu4bWW3Ge57wKVLO8f+WrATVCoOnBFjYx91CSxD4bSNuIT Hsex2x3sT+dy5Ce2KUsP9AAsFzdCYNPclbKjwYd2N0g0xAQu9x7O49bGHFJW2j7mPKO/ XSkw== 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=fJByRcb8cPIPOr8cvfmnP8dU5F1qf01gJK5I8AfpWJ0=; b=rpEHVI9vqV8POuSyHyyDQFZT6nYfvTOvQhI7mZfyOAFiimq0RSSk64FrYUMiJjtNjo 7CcVxsGEmorHHRGy50fjEEo72f00EdiYmLNm44Tn4SvsYb+t2ep9jhw3qNv5fgCfFjS2 J9xOKGrzJnEDZ73GI0PM588xkJ5DdgJJ1MUoTS6oHsFiJIfKTpHG3eTccNoktC9KI6Ey RrEJCHnW1CUciti/d1NbvuqCyPqZBCfTw885Q/W8VmWcLgZ8dNVYfTmVHekLNyO3/t3V YP17VDo1ppqLkUkdXi9RGxX2BlLHt6DRbpXYHJ8Jnf5x2H59+O9BdAXk+dd0f11v1Qmz F5uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DJapi6X9; 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 e9si2102777pgg.199.2019.02.22.12.24.19; Fri, 22 Feb 2019 12:24:35 -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=DJapi6X9; 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 S1726610AbfBVUXx (ORCPT + 99 others); Fri, 22 Feb 2019 15:23:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:39558 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbfBVUXw (ORCPT ); Fri, 22 Feb 2019 15:23:52 -0500 Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) (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 0F3162086D; Fri, 22 Feb 2019 20:23:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550867031; bh=MQNg600yltEQ3omzkZ4cEVWIZ3wPLnF7b89pQb26PFg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=DJapi6X9+h7osgT6AOi95uoqH0JntEQfmgGLlEm9fH08P+4Ovv89eewVpOn2s8LFz jUBV+ZuaEMGPNkCSnJQ+7Xp38G7/LapyCmogh5F9ULonpS7jX/ft6pmEyHbQFBYhQq Qh1kDnvlFM8Jy9XhipB+1eQPArrTETat/a13ttF8= Received: by mail-qt1-f170.google.com with SMTP id z39so4044072qtz.0; Fri, 22 Feb 2019 12:23:51 -0800 (PST) X-Gm-Message-State: AHQUAuY4HFuIytnB9+tQjtlIrMAvz3LALExMEFSxww4UkFZtGa+2/yI+ FUkexFM2zPoJJjkmRevLlxLBTqw9g3oK3ps5Nw== X-Received: by 2002:a0c:9e05:: with SMTP id p5mr4547080qve.246.1550867030224; Fri, 22 Feb 2019 12:23:50 -0800 (PST) MIME-Version: 1.0 References: <20190120172534.24617-1-lkundrak@v3.sk> <20190120172534.24617-5-lkundrak@v3.sk> In-Reply-To: From: Rob Herring Date: Fri, 22 Feb 2019 14:23:39 -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 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. Rob