Received: by 10.223.185.111 with SMTP id b44csp330411wrg; Fri, 9 Mar 2018 05:47:59 -0800 (PST) X-Google-Smtp-Source: AG47ELsGmWufcww8V+rzlLfc7woVpYp2BedzOo7KojApc1rm0A6FhWA3drd9qwGm8cMgKtuO3/ik X-Received: by 10.98.49.135 with SMTP id x129mr30018425pfx.75.1520603279498; Fri, 09 Mar 2018 05:47:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520603279; cv=none; d=google.com; s=arc-20160816; b=P3QZSehVtn8PIfBBzvK/ZOEd0Z8nsKfKummGfVh3TmdZ+NN8svVqesqNF3zvPa0ABT XdkFJDuCGuurcP3TRFLRzJ/BqNE9EcorVY0hMxBZzmVi9azJ991hoC+DU+tdE/9lisks b/4X4BrsUaf/QU4ugrf2v3Qiu37ygyVXk07LgROtboKp9YHxliX/9zbHvnVq1RI5r6PX mBHxBN+RY1yxAO2Pd6ysxfU1V3GYDhARfddHaluwSrHcfK2TpkkuRGud4zEul/ox92XK 6qvUyUxRBX1bhdIAGLnddiOIrMIQCtayYkDJwr0LAL5ZrfXX68SUAz1QMY5Y9zi+4z0z o+Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:organization:references :in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=w3xMqg/vGNo5Jg0ZF3lCdmgwa9C0/rkVpoCu7mHS3fQ=; b=lSn4/H5lM+KEOUS5rS3pA/TJRyb7PuZSzRZAkahcm/GShKJOpYvDsJ4xCthPieWDMC ugItVE5KAKG9d2uY3GzD90Bw6x4fkEdMZYY8GYRJLem+Q43jI5V8tPEITnpQCiovHFAU H1Ff+LsoQy5ocOTH+C9LiGumc87Ewl51qx3BJxua3YMfFLC8x3wxFziJRQ/OBXNr97sT CKlUPvBGe9RlYXkTgwl+45hzJLZcTieQCwSox0GLBWKHw3uP2WwujBzB2QrlnRlXbi+I x9EuUbMcRl4M5IcdpaZGht/MiHhd3ix256+cSqwd8kAF3oQLsC53iIC6WEVNHQNngP3i dxow== 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 1-v6si888014plj.497.2018.03.09.05.47.44; Fri, 09 Mar 2018 05:47:59 -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; 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 S1751170AbeCINqv (ORCPT + 99 others); Fri, 9 Mar 2018 08:46:51 -0500 Received: from mail.bootlin.com ([62.4.15.54]:55860 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751056AbeCINqt (ORCPT ); Fri, 9 Mar 2018 08:46:49 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id EF76320722; Fri, 9 Mar 2018 14:46:45 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from florent-laptop.lan (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id E5AAB2070F; Fri, 9 Mar 2018 14:46:44 +0100 (CET) Message-ID: <1520603146.15946.4.camel@bootlin.com> Subject: Re: [linux-sunxi] [PATCH 6/9] sunxi-cedrus: Add device tree binding document From: Paul Kocialkowski To: Priit Laes 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 Date: Fri, 09 Mar 2018 14:45:46 +0100 In-Reply-To: <20180309133857.GA20392@solar> References: <20180309100933.15922-3-paul.kocialkowski@bootlin.com> <20180309101445.16190-4-paul.kocialkowski@bootlin.com> <20180309133857.GA20392@solar> Organization: Bootlin Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-jBFEwdL08CFyEyRxDXma" X-Mailer: Evolution 3.26.5 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-jBFEwdL08CFyEyRxDXma Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Thanks for the review! On Fri, 2018-03-09 at 15:38 +0200, Priit Laes wrote: > On Fri, Mar 09, 2018 at 11:14:42AM +0100, Paul Kocialkowski wrote: > > From: Florent Revest > >=20 > > Device Tree bindings for the Allwinner's video engine > >=20 > > 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 > >=20 > > 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 =3D <1>; > > + #size-cells =3D <1>; > > + ranges; > > + > > + ve_reserved: cma { > > + compatible =3D "shared-dma-pool"; > > + reg =3D <0x43d00000 0x9000000>; > > + no-map; > > + linux,cma-default; > > + }; > > +}; > > + > > +video-engine { > > + compatible =3D "allwinner,sun4i-a10-video-engine"; > > + memory-region =3D <&ve_reserved>; > > + > > + clocks =3D <&ahb_gates 32>, <&ccu CLK_VE>, > > + <&dram_gates 0>; >=20 > This should be updated to sunxi-ng clocks: >=20 > clocks =3D <&ccu CLK_BUS_VE>, <&ccu CLK_VE>, <&ccu CLK_DRAM_VE>; I will definitely keep that in mind and make the change for the next revision, thanks! > > + clock-names =3D "ahb", "mod", "ram"; > > + > > + assigned-clocks =3D <&ccu CLK_VE>; > > + assigned-clock-rates =3D <320000000>; > > + > > + resets =3D <&ccu RST_VE>; > > + > > + interrupts =3D <53>; > > + > > + reg =3D <0x01c0e000 4096>; > > +}; > > --=20 > > 2.16.2 > >=20 > > --=20 > > 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. --=20 Paul Kocialkowski, Bootlin (formerly Free Electrons) Embedded Linux and kernel engineering https://bootlin.com --=-jBFEwdL08CFyEyRxDXma Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEJZpWjZeIetVBefti3cLmz3+fv9EFAlqikAoACgkQ3cLmz3+f v9HzuAf/cGCIRqLDpOtZSF3o4sE1S1meFhiNJLIUc9XDo4MneT3kf1llz9Mu8uoY 8WOd3dWkcQIQRYz4jb1NiNd6XF8Ky0Wx4896k7+riodO9YMNcjzQk5gcHRaZ5ks/ 2YpjlfziJVrqvJHbs5zlF8Yov5Eu99Px0qvXCRIulPUkj1c67nOO4X7noKF/b11w JX628G4zkUskyTgumEhzXXYYaP70YYYTqHFsHxLQRCAK1e/a8VoualH9sWO0mXMI pICjSMVDK4DNaf2pLJ+W2tM2IP9Qrvdz0t4GiJiu2V+h6z3OIdhqsxTQDbvLS9ao 5RKBcy0FqcHBVFRyvKCTohgYOK57mg== =7gy8 -----END PGP SIGNATURE----- --=-jBFEwdL08CFyEyRxDXma--