Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3513491pxj; Sun, 20 Jun 2021 23:46:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8LiPb91cFG06rXc3E9zx3b0QEXN+2TpmSknScuuysM89bgcgel52sXC7E4wUi75i/fRZ6 X-Received: by 2002:a17:906:7742:: with SMTP id o2mr23599358ejn.284.1624257985542; Sun, 20 Jun 2021 23:46:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624257985; cv=none; d=google.com; s=arc-20160816; b=P4aCoR92fN0ksJSU5Nqi3UNt/jvcIsnXwn+zpweLy+yESAbEVti5Ro38eK8jtJKoV9 +jA3+RgxtPc/hIEtL3bfHba6ujsNheETEbB9HMFMdhvPh8jhiuFQ21hezD8Qf+qBUd3q bsxxrgaBjqg/I96MlZ0cA6xrhCdY9ns2ED36tUdX6krwhTNAtZANR8kQh6Lxs6Req5cl F670R0gA5Vj23w88kNzhJBIovdFcM3i4U133J43tcyTn2/fDfazqbHoFvMg/62ZA85bS DZeK/4L8LOqBJgpUSmmuELtpsKnHv16xC5VjVtb/niTC6MwQwn4PFVBcTZtIpgAy0PcX vkRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MngqRxxEHl2ppcxz+/r0UlSDgAGtoX4UkbK2llRyjcc=; b=yf2Fkig5y3S7sQdpsc8QZ8LMJOmCdfwzx4iJDzp3+LG/i4JxUBn0t03wad7xk1XfjN H0OMy+MYt1C7+Pbhr9pKWV2Xyb9ZyPOsIHPYS+UxideehkEOF+FfBl4tJzzmyBrAx4Cv NWrWfw4soKOAvWQeoD98hk4XN+H0mKCnSxAeVT1/XnyfXFmaqREfs+IpDisjZEvxUcfP 9kr3IBxSIE8EZt2BGN+u50U4NFkNnHjpOMvvtd+6eBLBd6ujHyCAq3dOOgdKWJT4Ke7j hbwJ3cEt05pInvde5q7C+jaPfaoMOKtw/WAGr76NMyC45PHAFyU5+JwI1WkuITisF9FO Brdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@igel-co-jp.20150623.gappssmtp.com header.s=20150623 header.b=iDFn5N19; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m7si16219248edq.86.2021.06.20.23.46.03; Sun, 20 Jun 2021 23:46:25 -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; dkim=pass header.i=@igel-co-jp.20150623.gappssmtp.com header.s=20150623 header.b=iDFn5N19; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230308AbhFUGrM (ORCPT + 99 others); Mon, 21 Jun 2021 02:47:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230039AbhFUGrD (ORCPT ); Mon, 21 Jun 2021 02:47:03 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D800C0617AE for ; Sun, 20 Jun 2021 23:44:45 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id u190so9514974pgd.8 for ; Sun, 20 Jun 2021 23:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=igel-co-jp.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MngqRxxEHl2ppcxz+/r0UlSDgAGtoX4UkbK2llRyjcc=; b=iDFn5N19FrrTYa7TxJRsUW4oiVbP2ALDloiMjEcD7XYz+nk/kVL3RD3W1cpYEQ77Wf yCQx1eT/Ap8/72YEUDmRPU8BNore/4yJOawiFSuZrOPXawDt8kboJNj1qJL4EjZSrTFb dKRiO0JPvqtD2qjEEWM5HJ7tnlRdqtKHqKMi5ABX4V/THftJJCqZ4djRotOE7ziKO2Sb EicQkU/b23u+GAsfO568WK76/I87GlwVTSUJkXAC6fc3saRmNPBv0bP5rxh34tdo1JWL y7GOdTjclhbn1hJ65xdQwcO2k5iZ9WA2glv0eRpHWpxon2kT38OHQAq+aMUgvzuM1LLx xPDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MngqRxxEHl2ppcxz+/r0UlSDgAGtoX4UkbK2llRyjcc=; b=G67DVB5Jg5dRR0GwgOT+Cd9eD7fOIzdSlDEn+Gys1qCILmBw1ks8OV93C2Y/Hvq2Pe 2Yftqj605U4jcU4xdrbbE7msKa8ZFSZrEH13kj4lWAmTeQpmCVv0DZfxWGnJ55pXP2qX E+SLORWKOrBqSUCiqTzSw30Hh+sLUUMi6SmREJH4JztBBmE54D+9tYAcRcbIJqx8ubc8 B8vpFaO0O8QgC6UwzVo42g4ommREt+70vFI8uVEw8NLGzckaZCdp1sos7a30+DmsgGY7 3ty/E1lZrhJYJyQBgW+CiPXKPxQECPxDML5/AdX6CM1eSncmzPaKb7FOYzP5VFsoVW3Q hZ9w== X-Gm-Message-State: AOAM532hS/pDISMEOXBvpjDi/h2d9+xTSc2384wgIF3pRXXFwWUXpV5k Dyg9+3xaY9xqTdemplG+sq+AAA== X-Received: by 2002:a63:451f:: with SMTP id s31mr22278023pga.209.1624257884801; Sun, 20 Jun 2021 23:44:44 -0700 (PDT) Received: from localhost.localdomain ([240b:10:c9a0:ca00:61b8:26ec:dc30:8823]) by smtp.gmail.com with ESMTPSA id o34sm12744450pgm.6.2021.06.20.23.44.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Jun 2021 23:44:44 -0700 (PDT) From: Tomohito Esaki To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Laurent Pinchart , Kieran Bingham Cc: 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, Tomohito Esaki Subject: [PATH 3/4] dt-bindings: display: Add virtual DRM Date: Mon, 21 Jun 2021 15:44:02 +0900 Message-Id: <20210621064403.26663-4-etom@igel.co.jp> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210621064403.26663-1-etom@igel.co.jp> References: <20210621064403.26663-1-etom@igel.co.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree bindings documentation for virtual DRM. 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