Received: by 10.223.185.111 with SMTP id b44csp333917wrg; Fri, 9 Mar 2018 05:51:56 -0800 (PST) X-Google-Smtp-Source: AG47ELuy+BQGRfbgG8TY3WysFy2W9QEuPxeFlhxCcKk0n2yX9WJ6NJuNs4CaeR/l1JJg2vlbO5Ju X-Received: by 10.101.86.138 with SMTP id v10mr24381996pgs.353.1520603516004; Fri, 09 Mar 2018 05:51:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520603515; cv=none; d=google.com; s=arc-20160816; b=WSOfzQyWFBTw4oI3ESXxGs+RcpS/rZnkWhitibVvAy9fl1sZazn4KC6Dj4wD//2nQW BSXkLQrexLgqN5ckhxXozt4RIStgHjF4qXCK2Y6YSSXMVAZdYLVlFwyfNtcAVdDD0Frx jt5hTPhMDBWsFcoOMQ7/sRIN+XIR8HTt5zdmVWRAlFUmmzyRq+9QDZhRZ79v/gyHg9uF m567J/YAAg0q1PgR7gifZyjLHgh5n+IgU7fDpjFHfVfzZ1Xn2L8fFy7RLYiJgtSwN02B CssmhG54WCA41cj4b46toIjUPhqqjM6GvHyUQRl0LWD538KpVrg8B/7HOzL5A9Yag19D bInQ== 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:dkim-signature:arc-authentication-results; bh=1i8hFuFZyNlyxzkqv8ZNwx8NtpQi62IXGQsa0Imeua8=; b=N6/+wQxxkw1iX6wUvh6WV7WkABcD6/vMSgbRaX3Le8Y/vJ/6TWP3E5rNTrsYSeUUNg KUmJXPLF4yD7ajSFihDOdVejQtEQgVyFodMfrgnJf8MVakdk+htQ/0IfGXwC1hATWH47 ChTdQTb5uv1NcJPuJERIIdam/HBC2gT9MP9nuOJ5wcSxgMv6AaLgQG0twE6JPtMrat94 fC5YS40BpNJXapVounXsF6Akaj/eaQe8H1nVyKfveqnokfZlcu2pWKGV4oNP7JPkUdUa z8wXdC3I6acdLB4AtfEbSHDcDjCOp1KnfdOqYqh7fE99sXpBjgdJeDvnQFp20nb9htVK ZSXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@plaes.org header.s=mail header.b=Cm6musL+; 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 t192si734454pgc.594.2018.03.09.05.51.41; Fri, 09 Mar 2018 05:51:55 -0800 (PST) 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; dkim=fail header.i=@plaes.org header.s=mail header.b=Cm6musL+; 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 S1751146AbeCINum (ORCPT + 99 others); Fri, 9 Mar 2018 08:50:42 -0500 Received: from plaes.org ([188.166.43.21]:55780 "EHLO plaes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751056AbeCINuk (ORCPT ); Fri, 9 Mar 2018 08:50:40 -0500 X-Greylist: delayed 699 seconds by postgrey-1.27 at vger.kernel.org; Fri, 09 Mar 2018 08:50:39 EST Received: from solar (138.103.235.80.sta.estpak.ee [80.235.103.138]) by plaes.org (Postfix) with ESMTPSA id 29C33407BC; Fri, 9 Mar 2018 13:38:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=plaes.org; s=mail; t=1520602739; bh=6spoJ6877pRyovzYDNmCmfibAVskXyYRlHqflhOutzc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Cm6musL+7SDdm7Y8Y4clsM8McBvtwP5YL3Zebatmlzj+NtLuqP1axz/L2o+Y1z5Uj OIqwFfvleSuhPfp7FfOHCWsmI2jc4VORsvWiwHOn5wds28TtKhWS+TIVtkKPtdgyy9 AiqGh1Ux0p5Oi/8vsWMI5M6xThygW+PY+TnPdqaMdPfLzIM5zssdI0gawF56a+nr5h D0X0Z7jXemVjc3v9dispc9X8BLp0XuPefFfCwB4fxr7ouRzYOkPWDFxA+f3gobXhDY 33cHSJmWvpnWW1l+jeL9+BZJ48zP5PQsGsu8GqE6UQbx32Zgvbj6VYnI8meH/uuytA nyfAra4pTc/kw== Date: Fri, 9 Mar 2018 15:38:57 +0200 From: Priit Laes To: Paul Kocialkowski Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng , Florent Revest , Alexandre Courbot , Hans Verkuil , Laurent Pinchart , Sakari Ailus , Maxime Ripard , Thomas van Kleef , "Signed-off-by : Bob Ham" , Thomas Petazzoni , Chen-Yu Tsai Subject: Re: [linux-sunxi] [PATCH 6/9] sunxi-cedrus: Add device tree binding document Message-ID: <20180309133857.GA20392@solar> References: <20180309100933.15922-3-paul.kocialkowski@bootlin.com> <20180309101445.16190-4-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180309101445.16190-4-paul.kocialkowski@bootlin.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 09, 2018 at 11:14:42AM +0100, Paul Kocialkowski wrote: > From: Florent Revest > > Device Tree bindings for the Allwinner's video engine > > Signed-off-by: Florent Revest > --- > .../devicetree/bindings/media/sunxi-cedrus.txt | 44 ++++++++++++++++++++++ > 1 file changed, 44 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/sunxi-cedrus.txt > > diff --git a/Documentation/devicetree/bindings/media/sunxi-cedrus.txt b/Documentation/devicetree/bindings/media/sunxi-cedrus.txt > new file mode 100644 > index 000000000000..138581113c49 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/sunxi-cedrus.txt > @@ -0,0 +1,44 @@ > +Device-Tree bindings for SUNXI video engine found in sunXi SoC family > + > +Required properties: > +- compatible : "allwinner,sun4i-a10-video-engine"; > +- memory-region : DMA pool for buffers allocation; > +- clocks : list of clock specifiers, corresponding to > + entries in clock-names property; > +- clock-names : should contain "ahb", "mod" and "ram" entries; > +- resets : phandle for reset; > +- interrupts : should contain VE interrupt number; > +- reg : should contain register base and length of VE. > + > +Example: > + > +reserved-memory { > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + > + ve_reserved: cma { > + compatible = "shared-dma-pool"; > + reg = <0x43d00000 0x9000000>; > + no-map; > + linux,cma-default; > + }; > +}; > + > +video-engine { > + compatible = "allwinner,sun4i-a10-video-engine"; > + memory-region = <&ve_reserved>; > + > + clocks = <&ahb_gates 32>, <&ccu CLK_VE>, > + <&dram_gates 0>; This should be updated to sunxi-ng clocks: clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>, <&ccu CLK_DRAM_VE>; > + clock-names = "ahb", "mod", "ram"; > + > + assigned-clocks = <&ccu CLK_VE>; > + assigned-clock-rates = <320000000>; > + > + resets = <&ccu RST_VE>; > + > + interrupts = <53>; > + > + reg = <0x01c0e000 4096>; > +}; > -- > 2.16.2 > > -- > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.