From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD02FC48BE5 for ; Tue, 22 Jun 2021 16:55:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9BF3E61358 for ; Tue, 22 Jun 2021 16:55:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231351AbhFVQ5S (ORCPT ); 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-Google-Smtp-Source: ABdhPJwxes1QyEmFowKSsudJkkyqhfPKqc6A8x0/51AML0FVdLusi2ElghJUf8zau5B5LBuX3hvUjQ== 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-doc@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 > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50EADC49EA4 for ; Tue, 22 Jun 2021 16:55:05 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 114E76102A for ; Tue, 22 Jun 2021 16:55:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 114E76102A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 525B06E5CD; Tue, 22 Jun 2021 16:55:04 +0000 (UTC) Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6FC656E7D3 for ; Tue, 22 Jun 2021 16:55:02 +0000 (UTC) Received: by mail-io1-f53.google.com with SMTP id k16so20821451ios.10 for ; Tue, 22 Jun 2021 09:55:02 -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=TrNd26dJkSOVaqjiSwEfPrphK1wVhQl5Sm6ejD4/W2dwMsKTiOmXGLOrMRpifcTDJ7 TcOajeFosdX0MD1nz/PfYniddr+/CnWHgI2N9ax9IEFEKQ3I3hTO5s6mKmGLvVjsD1gR iWSh8xqAY5b0VJJ8EMC+hdMvszxOsZqExrfZNt6FmYMrxbhN0k1ane1wSU5a2UdzPUNS SrxwP/q/MAy0IMxrjZ5kbhsMZky/df54NJFIQqtHYJ6UySJAvoB8a2LKJq46LIZZDicS pBfUWk9Lgu5sIYXN3LzU5ODi9SN+TJ944z46Xvbl3bOiSfQBST22ri+7mGAm2Z1Vkxaw E3Ag== X-Gm-Message-State: AOAM5331vtiQKTBc7emlkdcB6PcLAOJ6ScTQpSc/GNC2X+fnnCYYkGd1 ohZGgGls5H5B9q7wAyY7Wg== X-Google-Smtp-Source: ABdhPJwxes1QyEmFowKSsudJkkyqhfPKqc6A8x0/51AML0FVdLusi2ElghJUf8zau5B5LBuX3hvUjQ== 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 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> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Thomas Zimmermann , linux-doc@vger.kernel.org, David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Kieran Bingham , Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 > >