Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp111563imm; Tue, 7 Aug 2018 15:02:04 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxoZvIqYZTB9NYXvDZZkAjmBdBWfSSGK4fyTR+D+jvvhk2E8uKWCrKmxLks13o9ugCTFlL6 X-Received: by 2002:a63:4b1f:: with SMTP id y31-v6mr169025pga.14.1533679324582; Tue, 07 Aug 2018 15:02:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533679324; cv=none; d=google.com; s=arc-20160816; b=xwmdZBBAVCQKjlHXrLLoajG3RaitjbfcqwjyLJvEt7Da2WVkVwQf7Ot9MKlepNYSZ3 JnDGe2yzvYBfUb8Msqi/e/vtHcDGyYsm1ZS3jFdIAqc2fMWJ4xdLDUD4mzKQI9hEBgcs c3FaLmPEQ2FejvyxfV211ANt5yafLJxt5MibdAeIO0gpxdV5t/0Lbttk5VxepZg6CYAV FoDfoKk4Q9qfkeTJL30DclPAJdmwo2kwzEe1ICFD2tCZFvgMe+iWtuSnOg1V49iyE9gG T0YgCP9PUqXG+uV6sQwEw+p2A8+D1boSNPLS4zgXLpopAWbEDAs8ZZ8bxjF4X3WejTlb ZNOg== 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=JWocYIE2jZt+nxU93Za+0WH9+wYu2vIiEBvJkkOluKA=; b=bff7nO2twqmkKM5Hjyl9cPxVIWJmUV/parLx3C3bR+HGiuzmfJCZ0kGoU4XEBZoYdJ lPUtprcPgy2Pl1ZKlDZuj1C2jho3Fr/USdeTUbkkRr1+QkvbrdQF1klxazUEH+SHtfJQ +ZRhfqQirXCUbV+DpzdGT71bgKgIRH48m32B8/qp9rt8d1CP6OmG9PMTYvkv8a34krhM TqSAKwXCUEFYnY8Wv640r8MZ7TZoJoqwDoFucZQ2bUal9XgWUd9mMyK7OyULTbCxizyd MElNCHuh/xj78tVGEIdMyS2XoebWcRmIh1OQkt9QsodB6ZpL/HOZ3Eu1g4pwCZbs4bfK ZJVQ== 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 i24-v6si2274280pgj.228.2018.08.07.15.01.50; Tue, 07 Aug 2018 15:02:04 -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 S1727174AbeHHARE (ORCPT + 99 others); Tue, 7 Aug 2018 20:17:04 -0400 Received: from smtp03.smtpout.orange.fr ([80.12.242.125]:49600 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727078AbeHHARD (ORCPT ); Tue, 7 Aug 2018 20:17:03 -0400 Received: from localhost.localdomain ([81.67.76.113]) by mwinf5d58 with ME id LN0T1y0022Sg6Vd03N0bXE; Wed, 08 Aug 2018 00:00:35 +0200 X-ME-Helo: localhost.localdomain X-ME-Auth: bWF4aS5qb3VyZGFuQHdhbmFkb28uZnI= X-ME-Date: Wed, 08 Aug 2018 00:00:35 +0200 X-ME-IP: 81.67.76.113 From: Maxime Jourdan To: Kevin Hilman Cc: Maxime Jourdan , Neil Armstrong , Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 2/4] dt-bindings: soc: amlogic: add meson-canvas documentation Date: Wed, 8 Aug 2018 00:00:09 +0200 Message-Id: <20180807220011.24436-3-maxi.jourdan@wanadoo.fr> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180807220011.24436-1-maxi.jourdan@wanadoo.fr> References: <20180807220011.24436-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..5f0351717bee --- /dev/null +++ b/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-canvas.txt @@ -0,0 +1,36 @@ +Amlogic 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,canvas" + +Parent node should have the following properties : +- compatible: "amlogic,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,gx-dmc-sysctrl", "syscon", "simple-mfd"; + reg = <0x0 0x0 0x0 0x1000>; + + canvas: canvas-provider@0 { + compatible = "amlogic,canvas"; + }; +}; -- 2.18.0