Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp64782imm; Tue, 3 Jul 2018 14:02:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdfUVarPycfRNbLSAgFHvt44E8zJf0P8MNFvay0bBGB75Y0d42ysEtL73LfRwRKpM2Kfh3G X-Received: by 2002:a62:8d84:: with SMTP id p4-v6mr18484049pfk.251.1530651738749; Tue, 03 Jul 2018 14:02:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530651738; cv=none; d=google.com; s=arc-20160816; b=XmpSOmSvuVNQq/w1/+DqMh9/h3MvtkXKFE5gYsCX6AYiCkPQO9LLG4sEuyTe2vs86R f/8RuQj84xmjpCdczg+CcGZwg0Fc9pxcwkyC7vnrVOctb+HEUEk0PxeYW0dn4o0EQtxh eG9IMSpvvHCasLmk1aI/QfUvMu6svk+S7nV80SOidEtYYOhdZtaXIMA4VlL45kmcxMnC INWw6QcnEq79fB3IGEPDeLgThJuhd25Ak2Mi+kCdTQJsQsY9JTWPQ5iGbn/xQgl8RcSY ozTZ2epb9hVsD4yxjAnVTRCuvrDk8cf6a5medsBQGFleEqYTuvzOt13q+QZ4L69sMuKp b7Dg== 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=uJ3hr9wiOHgzA1pSDcnKCnQYz37kQE5ldpc9yAG9Bi4=; b=o+Ba6pGflG0IB3a2BIrUfZXUxFCZGywp1C+hvkcCYcHV6xVcwlrqwDAkuootmvoN56 2UKCBN9HisIFk8IF/x2em857Kf3oDuIYiYSjPypFOdiHsMB8/2UUQpQQRLwJiLi/VXjz i2Xt/I0Brabaw5/ejobH61kHYNdaH/LP/cQycwygkanvDa8g65A3uQRf9mkG4LCfcQ4+ 64/oQESdpaIWVfyRCG8hJrV0xqU3IzaxT50DgxMD0dA3emnMjnSgD/k253bwl0UKsdGs UKUUEqNhO1KGcyAAHEgJ75b+yW2acrlQ5yBR7A6wN2X7IGoPctfPQauiMQOVDaNmkqH+ ep8A== 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 t1-v6si2051694plj.334.2018.07.03.14.02.03; Tue, 03 Jul 2018 14:02:18 -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 S1753294AbeGCU7j (ORCPT + 99 others); Tue, 3 Jul 2018 16:59:39 -0400 Received: from mail-yb0-f195.google.com ([209.85.213.195]:39521 "EHLO mail-yb0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752949AbeGCU7h (ORCPT ); Tue, 3 Jul 2018 16:59:37 -0400 Received: by mail-yb0-f195.google.com with SMTP id k127-v6so1265282ybk.6; Tue, 03 Jul 2018 13:59:36 -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=uJ3hr9wiOHgzA1pSDcnKCnQYz37kQE5ldpc9yAG9Bi4=; b=YzbPPz0Nzb3xwJBPeYf54237ycg3ixIrE1lpiZ3eZwkuAAzdTY+Bh15htBPaRcEslK g/fphM7fejAwjtvq7EZCnMsCBG7WmJ/OLnzMyIklun4F8ZfBzrkjTGlXHDB8YK/r+SsH RwX7u8HQZUpH2KEh2a0oRWbszAgL8dZ6BVbHk1Y8e0gyNu7NWOS2KhoI5b45PuxTEBoI AJEcA14zs15bQyflZHuIow0eN/24IK/sxSd1EZZqGNReqGvjKnmDym5KYl/+5zNrwrW7 8G6NorGyNW6xUaZV8hZdHdY9LevI2g3TQm3YxPF7sGMDOma/54KLvf9gDnjyN2XP2xbX xkfA== X-Gm-Message-State: APt69E1w2Z5xlIZdwFvVWohGM7q8Rxy2qc4le5p1tGaLxhaCPYvJyMkG CJ6uu4+9iSPWDLv7M6A3kQ== X-Received: by 2002:a25:3cc7:: with SMTP id j190-v6mr2057742yba.220.1530651576159; Tue, 03 Jul 2018 13:59:36 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id 200-v6sm754791ywo.54.2018.07.03.13.59.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Jul 2018 13:59:35 -0700 (PDT) Date: Tue, 3 Jul 2018 14:59:32 -0600 From: Rob Herring To: David Lechner Cc: linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ohad Ben-Cohen , Bjorn Andersson , Mark Rutland , =?iso-8859-1?Q?Beno=EEt?= Cousson , Tony Lindgren , Sekhar Nori , Kevin Hilman , linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/8] dt-bindings: add bindings for TI PRU as remoteproc Message-ID: <20180703205932.GA28054@rob-hp-laptop> References: <20180623210810.21232-1-david@lechnology.com> <20180623210810.21232-5-david@lechnology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180623210810.21232-5-david@lechnology.com> 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 Sat, Jun 23, 2018 at 04:08:06PM -0500, David Lechner wrote: > This adds a new binding for the TI Programmable Runtime Unit (PRU) > as a remoteproc device. > > Signed-off-by: David Lechner > --- > .../bindings/remoteproc/ti_pru_rproc.txt | 51 +++++++++++++++++++ > 1 file changed, 51 insertions(+) > create mode 100644 Documentation/devicetree/bindings/remoteproc/ti_pru_rproc.txt > > diff --git a/Documentation/devicetree/bindings/remoteproc/ti_pru_rproc.txt b/Documentation/devicetree/bindings/remoteproc/ti_pru_rproc.txt > new file mode 100644 > index 000000000000..0e80a8db46d0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/remoteproc/ti_pru_rproc.txt > @@ -0,0 +1,51 @@ > +TI Programmable Realtime Unit (PRU) > +=================================== > + > +Some TI Sitara SoCs contain a Programmable Realtime Unit subsystem with two > +processor cores that can be used for hard-realtime tasks. > + > + > +Required properties: > +-------------------- > +The following are the mandatory properties: > + > +- compatible: Should be one of the following, > + "ti,da850-pru-rproc" for AM18xx/OMAPL138 SoCs > + "ti,am3352-pru-rproc" for AM355x SoCs > + > +- reg: Should contain the memory region for the PRUSS > + > +- interrupts: Should contain the interrupt number used to receive the > + virtualqueue kick interrupts from the PRU (i.e. > + PRU_EVTOUT0 and PRU_EVTOUT1) > + > +- interrupt-names Should contain "pru0-vq", "pru1-vq" > + > +Optional properties: > +-------------------- > + > +- power-domains: A phandle to the power domain that powers the PRUSS Only for da850? > + > +- ti,hwmods: Name of the hwmod associated to the PRUSS, which is > + typically "pruss" Only for am3352? typically? You should enumerate possible values. > + > +Example: > +-------- > + > + // AM18xx > + pru_rproc: cpu@30000 { cpu is reserved for cpu nodes. > + compatible = "ti,da850-pru-rproc"; > + reg = <0x30000 0x10000>; > + interrupts = <3>, <4>; > + interrupt-names = "pru0-vq", "pru1-vq"; > + power-domains = <&psc0 13>; > + }; > + > + // AM335x > + pru_rproc: cpu@4a300000 { > + compatible = "ti,am3352-pru-rproc"; > + reg = <0x4a300000 0x80000>; > + interrupts = <20>, <21>; > + interrupt-names = "pru0-vq", "pru1-vq"; > + ti,hwmods = "pruss"; > + }; Really need 2 examples? > -- > 2.17.1 >