Received: by 10.213.65.68 with SMTP id h4csp874949imn; Sun, 18 Mar 2018 05:51:21 -0700 (PDT) X-Google-Smtp-Source: AG47ELtoc1LDhbP7iqCT+u6QRsZp+Ff2iEXgki3tpQyuG+NdvOW5fuDb0o+a8fkerqzTtupmDxuH X-Received: by 2002:a17:902:44c:: with SMTP id 70-v6mr8984087ple.354.1521377481196; Sun, 18 Mar 2018 05:51:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521377481; cv=none; d=google.com; s=arc-20160816; b=XrL6NA6Tkguc3nUO4JoSJQ2E1Gd2bHkfKzzXZa6H1BWog1J3nfLNVpq8Fqoj2hjTKp djz6VsaPN6q+2u5AQXOM/ZnHP3zMhUXofs2kEQ8aAglnJtaeyDU+2oIrT8j45itMfY0n 6WuL8L9jo/hwFh8tlDXJw+wFlAv15Kt5eqjp9ys/Rv2X5sGVedfun1qyPyMasqcY42UP lD3hIaYgEdqX9gxpp4sZDIjqLq1WpnZG987ZSQqcAuc7rfAPx1BHonYIVSWoeOeIamlS cfZNVxf+OG07OjktZT+y82+s2g/NtO4GO+kQVng5NEEFMlAQY+02ldNy4x7BM1dItxee npBA== 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=+2uL7YcvIrnZ4Uvv5wsyJmW3JJHbh9NpeYgOlHkqV5Q=; b=XcMyEPjCNST1tYyFXGd+VQMVTxZgzGVnDoXoaMkeYBOe4omR6OwESR+uJwQw9tsK8C 0CIYXr6lwW2php4Bm63YiMB8jMKgwSsxiSiQQmgpSdNTWcoOwrudAZB1VqZFdvyibW/8 3LgwNP1QYE2tAGbnLmOKEDADSE4wkZ76SsRsT+c9W9ALwgZiwIecJ0I3KSoO89x1LtG9 pNFyDf4uM7XkrvaRdtE0lnuADWaF36Qv9P04JBF3svx8WriaWi4ZICpgmKYGjTT1TPSs fVzmFbYdADcZpsBXd8b9CHEprQALTb0JaKuPyCPY7Mc0TpNsOA4ln+lqr272/GKgTa3v WbWQ== 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 5-v6si10236882plt.371.2018.03.18.05.50.40; Sun, 18 Mar 2018 05:51:21 -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 S1753955AbeCRMsI (ORCPT + 99 others); Sun, 18 Mar 2018 08:48:08 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:44210 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753643AbeCRMsD (ORCPT ); Sun, 18 Mar 2018 08:48:03 -0400 Received: by mail-pf0-f194.google.com with SMTP id m68so5952811pfm.11; Sun, 18 Mar 2018 05:48:03 -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=+2uL7YcvIrnZ4Uvv5wsyJmW3JJHbh9NpeYgOlHkqV5Q=; b=oMKS7/Ug/ju0umMHlUC/PPYgagYtUQNdViuJq3Ag7R1QStq3p82XDHNtoQz3jxT9my 2VcQT2rcmufSKkz4Y71hh8Ce3QFdDtGwEcT4vlKO/+M3ybtYSAZPN2CtrdFOy4jiagEL DcN4/fNszLP/mjLpzdEXoOfqWMJJdudE3H5UcklaNv0ZvmUBHW8zqCyisZ44JoofD9ZS /xtbxQnx0jZE2iA1qt3eAks9P84c6nwsRONEE1oeMZk5eTrxZmXOVFK47RWJJYRqKCjo vSM23S+MMRpH47A0Dg2PNy39sSavE1DUmv/g9yV17xzvt3G7ouBQ4O8wSV6FLxsnRc4v wJ0A== X-Gm-Message-State: AElRT7GKgihC0Z1TtprSu96iH07fU7ZiB8w2rB6gvUcCq90YhSdeeeFK ONbVTdyYNU3No+ZVSfgLGg== X-Received: by 10.167.128.194 with SMTP id a2mr7297390pfn.186.1521377282754; Sun, 18 Mar 2018 05:48:02 -0700 (PDT) Received: from localhost (165084180235.ctinets.com. [165.84.180.235]) by smtp.gmail.com with ESMTPSA id c11sm28411157pfe.109.2018.03.18.05.48.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 18 Mar 2018 05:48:02 -0700 (PDT) Date: Sun, 18 Mar 2018 07:48:00 -0500 From: Rob Herring 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, "Signed-off-by : Bob Ham" , Thomas Petazzoni , Alexandre Courbot , Maxime Ripard , Chen-Yu Tsai , Florent Revest , Hans Verkuil , Icenowy Zheng , Sakari Ailus , Thomas van Kleef , Laurent Pinchart Subject: Re: [PATCH 6/9] sunxi-cedrus: Add device tree binding document Message-ID: <20180318124800.7soqh34fxvwjm7pn@rob-hp-laptop> 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: NeoMutt/20170609 (1.8.3) 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 binding document" can all be summarized with the subject prefix "dt-bindings: media: ". Also, email should be updated to @bootlin.com? > > 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; Why do you need this linkage? Many drivers use CMA and don't need this. > +- 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>; > + clock-names = "ahb", "mod", "ram"; > + > + assigned-clocks = <&ccu CLK_VE>; > + assigned-clock-rates = <320000000>; Not documented. > + > + resets = <&ccu RST_VE>; > + > + interrupts = <53>; > + > + reg = <0x01c0e000 4096>; > +}; > -- > 2.16.2 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel