Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1199600imm; Wed, 1 Aug 2018 11:53:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfISyqHc/mANikmmZEB2FtSHjJI2zZBbyGcE9sTILVoCiizCuSz60ET/nLPTJuUEN769g8C X-Received: by 2002:a62:fc5:: with SMTP id 66-v6mr28170064pfp.237.1533149595544; Wed, 01 Aug 2018 11:53:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533149595; cv=none; d=google.com; s=arc-20160816; b=HCrGunSh1HFwTfOJr4nrciQJ/llqNW17LAqckLf2d/yiIdyxiwrI3g42CyG9nM8fJO IFKZGDs2oAdPSNHxLOa9vl4BZcPxbHk9d2RmX44gIWoNRrpc9Lm/lPl6EltCKZ8AVKbv vL0KnsD2oipjYBHLIxEBDZSKwU47g9ga/kalVguvPDUUfWth5ARQYySTjaH9IyYhbWvD 4tfGD1RV99oNATarmg5xYj2yVQu0Jp9/ONWRsetjhZgAxd9+9E0OMqgbGeoM+00QS+FX v/YeFSk77ugDDpnliFSmstHCQSLmsoH0I3VYp30fptRkdFxN9UphFCdOnklaNT5p5evS uPug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=eg8Lo98Bg4ZBJ2lS2/s61PgrZj8TA4urTWnoecQk6ck=; b=HQavt3c/UH1zTYumcnv5q5GPuhiFiNPNjBQD9XkwPBunn04HxHFZoRzaoZynMJ1sD2 RyR76N50w+yR3UvarVW+xLKQ1+GtrFFU98e63P8WR3jkegjyP/92lXS+nn57zWB3djBB 22GDoHXLGpXr2EMdecrXKee1e+JGp6hPcqzm+gRGIkZhRSGOssc/ERMiud7q6DKCGG4l zJloy2GMejwdcxnDxoyxU7OYYZCxHiOONhwgtkFpJFfubU74/8L0R8Yv1YYr7LYXF9hd QbGLMAEGra+UYTwLak9OcRo30LMhytJ0otLjiUXaGSJ6MhL9aw2Pv+NFVQLI0X2GGO/6 a5Lw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e17-v6si14572463pgv.615.2018.08.01.11.53.00; Wed, 01 Aug 2018 11:53:15 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387465AbeHAUjK (ORCPT + 99 others); Wed, 1 Aug 2018 16:39:10 -0400 Received: from smtp10.smtpout.orange.fr ([80.12.242.132]:55346 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732212AbeHAUjK (ORCPT ); Wed, 1 Aug 2018 16:39:10 -0400 Received: from localhost.localdomain ([81.67.76.113]) by mwinf5d86 with ME id Huro1y0012Sg6Vd03us00u; Wed, 01 Aug 2018 20:52:00 +0200 X-ME-Helo: localhost.localdomain X-ME-Auth: bWF4aS5qb3VyZGFuQHdhbmFkb28uZnI= X-ME-Date: Wed, 01 Aug 2018 20:52:00 +0200 X-ME-IP: 81.67.76.113 From: Maxime Jourdan To: Kevin Hilman Cc: Maxime Jourdan , Neil Armstrong , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/4] dt-bindings: soc: amlogic: add meson-canvas documentation Date: Wed, 1 Aug 2018 20:51:26 +0200 Message-Id: <20180801185128.23440-3-maxi.jourdan@wanadoo.fr> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180801185128.23440-1-maxi.jourdan@wanadoo.fr> References: <20180801185128.23440-1-maxi.jourdan@wanadoo.fr> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DT bindings doc for amlogic,meson-canvas Signed-off-by: Maxime Jourdan --- .../soc/amlogic/amlogic,meson-canvas.txt | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-canvas.txt diff --git a/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-canvas.txt b/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-canvas.txt new file mode 100644 index 000000000000..96e14374b9dd --- /dev/null +++ b/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-canvas.txt @@ -0,0 +1,36 @@ +Amlogic Meson Canvas +================================ + +A canvas is a collection of metadata that describes a pixel buffer. +Those metadata include: width, height, phyaddr, wrapping, block mode +and endianness. + +Many IPs within Amlogic SoCs rely on canvas indexes to read/write pixel data +rather than use the phy addresses directly. For instance, this is the case for +the video decoders and the display. + +Amlogic SoCs have 256 canvas. + +Device Tree Bindings: +--------------------- + +Canvas Provider +-------------------------- + +Required properties: +- compatible: "amlogic,meson-canvas" + +Parent node should have the following properties : +- compatible: "amlogic,meson-gx-dmc-sysctrl", "syscon", "simple-mfd" +- reg: base address and size of the DMC system control register space. + +Example: + +sysctrl_DMC: system-controller@0 { + compatible = "amlogic,meson-gx-dmc-sysctrl", "syscon", "simple-mfd"; + reg = <0x0 0x0 0x0 0x1000>; + + canvas: canvas-provider@0 { + compatible = "amlogic,meson-canvas"; + }; +}; -- 2.17.1