Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3473449imm; Mon, 13 Aug 2018 12:19:09 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyvpjsBiaydacEScOVNUsIPyfwmG7ViSN6YYYFsX0wa/H8JvUXvaY0LaglZYcXWW0u4f8Ea X-Received: by 2002:a17:902:7486:: with SMTP id h6-v6mr18121228pll.165.1534187949561; Mon, 13 Aug 2018 12:19:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534187949; cv=none; d=google.com; s=arc-20160816; b=WibmIk63a0X3nsrPjViwTHkWs0dchYPBJBWGD3j8CistBVjU/GL4H9g6gEFaS05HCy 5/kvZDWBVefahjwr0x2TNNjrVKMTSpyAbQGPem5lZRlugFdlF38zzjJl/8BqmPNj+GDt J4XxJjYJqJOznv2esertPJgA9TMECbP04j+53bcdWUqW+k9k32lGpZdrPWGw8E062iTP AgktJC497HGEEvfFKJwp40aXfowRXDQc2QdU2N2g0YHQ3C1oaSBRGAIPYo4whahkNnNH hsDIvVnWSqMI7tg8NoXkTLhJglcviLAw77Bk/sxf3nYZcXJLoKOSNsRng+3xxFTSRiky W5/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=D8A/G08U8OmrE9YoSKrCcBVbdxTFIlNYn7aUBWvcrco=; b=0Ed4Lyg9tlefjQqcJLwNmu0qO4YiN/Z5SBKMTrj1DJL9hBz9XAUUhr6dfrBdbZxk13 hcfoTEco9z9h11Va7Py6skqnluHqmmf+QrPQQWdlDmZkduUnSiOl//VVJrbHvFmrrI8a ty5hkrUPqI9Xvvw+3bipsuHVg9Xe08Mzpnof+5DPNJf0olSwAZAwIPWa2tYoKBorRDbS 5XTNTJDUZOVijEJRcQYFhJeM7t4J2KEVVY2cEqLjyF540Wv+4/K1CzHyYzIyO/l+foU7 +kTqlYTQzd3PfKqV+zzV5PmPaqAJyBAfgIviVwTEBKtX4LZJWyNUvpgl1fGg/9LqirCe 3fWg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b16-v6si18815359pgg.342.2018.08.13.12.18.54; Mon, 13 Aug 2018 12:19:09 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731061AbeHMVuy (ORCPT + 99 others); Mon, 13 Aug 2018 17:50:54 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:32836 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730651AbeHMVux (ORCPT ); Mon, 13 Aug 2018 17:50:53 -0400 Received: by mail-it0-f65.google.com with SMTP id d16-v6so12424698itj.0; Mon, 13 Aug 2018 12:07:23 -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:user-agent; bh=D8A/G08U8OmrE9YoSKrCcBVbdxTFIlNYn7aUBWvcrco=; b=JeiQPfRl09+p6OmU7wvnHnzIa90tyyoNJWFz04TMxXKK9BnkVrgZQx0RRyp653HWWl mxkJvb6D9znPXg0D/mttesFW4RbCj/ZkRKmlG01Hwk3irM6G8s9JHwC+wv2ojLtjH09h mRXChLgQeXYWQCRYFjqs+heJ/+gSawOBqpBKh8yNig4gxXM9Sq7wB5vLOBADuzhaJZyt 8qCpz30EvJj7AmdgShiljYjNDv0e0gHNGrpwO3Dq4U/IDUpm0zYkg7b+/vRpHd/DQ395 lcaf0bfYIHB9kzX8dSRjKkJai/0QwsfAySu0KDm3aLuSCsMPr6KugPmTcb/OfE0q2dO+ JWqg== X-Gm-Message-State: AOUpUlG76KLA98YzIw3TMirvDZzcuSWA7l4ZjuOjO+OXw4sg9+vkuplE YmtUBR6pSyTqnkv3iiQLQQ== X-Received: by 2002:a24:24c2:: with SMTP id f185-v6mr12013417ita.18.1534187242669; Mon, 13 Aug 2018 12:07:22 -0700 (PDT) Received: from localhost ([24.51.61.72]) by smtp.gmail.com with ESMTPSA id a14-v6sm3063583ioh.45.2018.08.13.12.07.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Aug 2018 12:07:22 -0700 (PDT) Date: Mon, 13 Aug 2018 13:07:21 -0600 From: Rob Herring To: Maxime Jourdan Cc: Kevin Hilman , 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: Re: [PATCH v2 2/4] dt-bindings: soc: amlogic: add meson-canvas documentation Message-ID: <20180813190721.GA27621@rob-hp-laptop> References: <20180807220011.24436-1-maxi.jourdan@wanadoo.fr> <20180807220011.24436-3-maxi.jourdan@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180807220011.24436-3-maxi.jourdan@wanadoo.fr> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 08, 2018 at 12:00:09AM +0200, Maxime Jourdan wrote: > 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" Is this documented somewhere? One child function is not a reason for an MFD and child nodes. And child nodes like this with no resources are unnecessary. > +- 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 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html