Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4877137pxj; Tue, 22 Jun 2021 09:55:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypRytuIRUnjuIf2Y2RnD1/gWrVi+aM0wHGQ0Un60B2KL1peudWSHWoWaz76XxXU3XhlDRn X-Received: by 2002:a02:cd21:: with SMTP id h1mr4872416jaq.114.1624380955791; Tue, 22 Jun 2021 09:55:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624380955; cv=none; d=google.com; s=arc-20160816; b=TNDSJgqzJL/7sGaBnO4cB7PaI7zV5Ye3e+X937iVpWYMxdGpRgqOZqoqpoY2FzgyLh HorQXP24HVDw75RRtrXDOp6wyNOd5TmR5XtL3ORYXHij1WpsW8yvdwAWsOcFEbMVrYu0 +//6+HhFXPktzZUIBWPr0oA/CkAFSHwoU97jJA9cwz7FSe0Avx9IiBFrNrrbzTR2appi OFZl/lHwbmxGEd8RSBfWimBKZK1GY1TUCTDmw8N+QUGaZjd/KxI87GAlYVi8EXFuI51M ZNsS8+PnnJqfv6jnDUmMwwrAR44S4wpL/v3KoANblem0LxokMKWa8uXbHtBkdHNY46Kl /y1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Nst9vbRv3atdsjiAwZVyleOKg/gFLJsFk5FhmXQlxQw=; b=VwTJ4PGvxioMxfCLWv1iHt/uVK74FjQJAXG5ckCazRiIzOLEyBFgZ0UwPRWhX9CI0j 3ALL044AwVk5CUAVQNKyW84nJtQeHB3CqFBbCuhjlzIXCdoHAT6VSIIv2EgQOJ8+RcFC gC4OtoovgNs5Ke6trbucVl6N1HFWosLF3bkAsVQxjeaQE7qxid+U1ujG8t4877fiRXQ/ b2gACDkm6h1+6kmzzileUi6LpWCVu4LLpX+qclR4zerIYceaGZHxfcxtfL/9s/4kT2N3 d+E1nUIOl2Sz2VL3UQBZuRTx/MgtA0pe4CZZm6OmxGjdKpGpZT1NJrilMshblMCuJBjf 2hFQ== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si21648433ioh.101.2021.06.22.09.55.43; Tue, 22 Jun 2021 09:55:55 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231478AbhFVQ5S (ORCPT + 99 others); Tue, 22 Jun 2021 12:57:18 -0400 Received: from mail-io1-f54.google.com ([209.85.166.54]:36713 "EHLO mail-io1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230182AbhFVQ5R (ORCPT ); Tue, 22 Jun 2021 12:57:17 -0400 Received: by mail-io1-f54.google.com with SMTP id s19so14336618ioc.3; Tue, 22 Jun 2021 09:55:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Nst9vbRv3atdsjiAwZVyleOKg/gFLJsFk5FhmXQlxQw=; b=DxZ5e5mKsAkEECIccCAPv9tAUPCs8zTmDxoKWsPy0y+mMtWznX/7sz/5Hv7Y8bq/5s 0GNjJN25xZv4ZAEp+TrLHBbd5roOfiW0lsiSmHqkCmJKUFCu5lUpROuRw0+PxWYLHQvI S4dGuyaCcFR9QsSLo2gm5bfQOJtitqPUvA6ZUlMcOZPZCiCEXbMpPbYX3nwDKCvgJrpZ 1ECYaPWWbADBPn/7/cYBGBlEEu692oRcBgjSF7aKNlZimD/DtrKNbkNJcW5eFk+ugtwf 7LLsOkCYDaqn/AuNrvotKDGP0EhEHTSZD+HOyFh2GGMUv8Swrn8nJue27rbWnxvktx/A xlGg== X-Gm-Message-State: AOAM532z1O1g8nZuSLoUFFGfWJZHiC9u2GEHrkxfcaATbsvYMyYKkNMt y6/+gMNc3Ac/wYwuL6Vma9pZV6FoBw== X-Received: by 2002:a05:6638:12cd:: with SMTP id v13mr4854440jas.104.1624380900931; Tue, 22 Jun 2021 09:55:00 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id g4sm2282474ilk.37.2021.06.22.09.54.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 09:55:00 -0700 (PDT) Received: (nullmailer pid 3837213 invoked by uid 1000); Tue, 22 Jun 2021 16:54:56 -0000 Date: Tue, 22 Jun 2021 10:54:56 -0600 From: Rob Herring To: Tomohito Esaki Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Laurent Pinchart , Kieran Bingham , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATH 3/4] dt-bindings: display: Add virtual DRM Message-ID: <20210622165456.GA3756306@robh.at.kernel.org> References: <20210621064403.26663-1-etom@igel.co.jp> <20210621064403.26663-4-etom@igel.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210621064403.26663-4-etom@igel.co.jp> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 21, 2021 at 03:44:02PM +0900, Tomohito Esaki wrote: > Add device tree bindings documentation for virtual DRM. DRM is a Linuxism. What's virtual DRM? Why does it need to be in DT? What's the usecase? You're going to need a lot more reasoning to justify this for DT. > > Signed-off-by: Tomohito Esaki > --- > .../devicetree/bindings/display/vdrm.yaml | 67 +++++++++++++++++++ > 1 file changed, 67 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/vdrm.yaml > > diff --git a/Documentation/devicetree/bindings/display/vdrm.yaml b/Documentation/devicetree/bindings/display/vdrm.yaml > new file mode 100644 > index 000000000000..6493bb0fc09f > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/vdrm.yaml > @@ -0,0 +1,67 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/vdrm.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Virtual DRM Device Tree Bindings > + > +description: > + This document defines device tree properties virtual DRM. The initial > + position, size and z-position of the plane used in the virtual DRM is > + specified. > + The current limitation is that these settings are applied to all crtc. > + > +properties: > + compatible: > + const: virt-drm > + > +patternProperties: > + "^plane(@.*)?$": > + description: Information of the planes used in virtual DRM > + type: object > + > + properties: > + x: > + type: int > + description: x-coordinate of the left-top of the plane in pixels > + > + y: > + type: int > + description: y-coordinate of the left-top of the plane in pixels > + > + width: > + type: int > + description: width of the plane in pixels > + > + height: > + type: int > + description: height of the plane in pixels > + > + zpos: > + type: int > + description: z-position of the plane > + > + required: > + - x > + - y > + - width > + - height > + - zpos > + > +required: > + - compatible > + - "^plane(@.*)?$" > + > +examples: > + - | > + vdrm@0 { > + compatible = "virt-drm"; > + plane@0 { > + x = <200>; > + y = <100>; > + width = <800>; > + height = <600>; > + zpos = <1>; > + }; > + }; > -- > 2.25.1 > >