Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932568AbbKYAHh (ORCPT ); Tue, 24 Nov 2015 19:07:37 -0500 Received: from mail-ob0-f177.google.com ([209.85.214.177]:35457 "EHLO mail-ob0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755706AbbKYAHe (ORCPT ); Tue, 24 Nov 2015 19:07:34 -0500 Date: Tue, 24 Nov 2015 18:07:27 -0600 From: Rob Herring To: Lee Jones Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, maxime.coquelin@st.com, ohad@wizery.com, devicetree@vger.kernel.org, Nathan_Lynch@mentor.com, f.fainelli@gmail.com, ludovic.barre@st.com, s-anna@ti.com Subject: Re: [RESEND v4 1/6] remoteproc: dt: Provide bindings for ST's Remote Processor Controller driver Message-ID: <20151125000727.GA26709@rob-hp-laptop> References: <1448370862-19120-1-git-send-email-lee.jones@linaro.org> <1448370862-19120-2-git-send-email-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1448370862-19120-2-git-send-email-lee.jones@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2638 Lines: 70 On Tue, Nov 24, 2015 at 01:14:17PM +0000, Lee Jones wrote: > Signed-off-by: Ludovic Barre > Signed-off-by: Lee Jones > --- > .../devicetree/bindings/remoteproc/st-rproc.txt | 41 ++++++++++++++++++++++ Acked-by: Rob Herring > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/remoteproc/st-rproc.txt > > diff --git a/Documentation/devicetree/bindings/remoteproc/st-rproc.txt b/Documentation/devicetree/bindings/remoteproc/st-rproc.txt > new file mode 100644 > index 0000000..1031bcd > --- /dev/null > +++ b/Documentation/devicetree/bindings/remoteproc/st-rproc.txt > @@ -0,0 +1,41 @@ > +STMicroelectronics Co-Processor Bindings > +---------------------------------------- > + > +This binding provides support for adjunct processors found on ST SoCs. > + > +Co-processors can be controlled from the bootloader or the primary OS. If > +the bootloader starts a co-processor, the primary OS must detect its state > +and act accordingly. > + > +Required properties: > +- compatible Should be one of: > + "st,st231-rproc" > + "st,st40-rproc" > +- memory-region Reserved memory (See: ../reserved-memory/reserved-memory.txt) > +- resets Reset lines (See: ../reset/reset.txt) > +- reset-names Must be "sw_reset" and "pwr_reset" > +- clocks Clock for co-processor (See: ../clock/clock-bindings.txt) > +- clock-frequency Clock frequency to set co-processor at if the bootloader > + hasn't already done so > +- st,syscfg System configuration register which holds the boot vector > + for the co-processor > + 1st cell: Phandle to syscon block > + 2nd cell: Boot vector register offset > + > +Example: > + > + audio_reserved: rproc@42000000 { > + compatible = "shared-dma-pool"; > + reg = <0x42000000 0x01000000>; > + no-map; > + }; > + > + st231-audio { > + compatible = "st,st231-rproc"; > + memory-region = <&audio_reserved>; > + resets = <&softreset STIH407_ST231_AUD_SOFTRESET>; > + reset-names = "sw_reset"; > + clocks = <&clk_s_c0_flexgen CLK_ST231_AUD_0>; > + clock-frequency = <600000000>; > + st,syscfg = <&syscfg_core 0x228>; > + }; > -- > 1.9.1 > > -- > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/