From patchwork Fri Aug 28 10:31:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 52783 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by patches.linaro.org (Postfix) with ESMTPS id B3C7421569 for ; Fri, 28 Aug 2015 10:34:13 +0000 (UTC) Received: by wibvo5 with SMTP id vo5sf1382596wib.0 for ; Fri, 28 Aug 2015 03:34:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=88J/w+Jw2WrIuyAndV9EMjW+1S9CKICmeaY6ajQz9i8=; b=E+lEpC/Oc37gf+Q6iMFcD5JsLGK8hsvRKGUYljoL/SzMpY/2eAo5JMsYcS64OnN6ex ymkgNcglrF1eA0KtXNf8AqVhXy2CVNWvGB6slpBC3tOixy6LcxuNu2Yk8hSYJ8a3YfBX 4IOcyK2s5mEk3NfF5hX58vSIEMKXfQv1dhkcBUdeuesCKsCewlph0FVsvJa7s8947VlP lZsxOW3BPhoxbuyLOHwJfnse9SvLih/+0eXmW0XxQ8cBe3pqe6OO5rp1LsZREGqJG6tY xdKYTm7XXej2CQoLrAA2PeUsR57x63l/1HELPIQ7DXC6MWZa9AkLVunWmuIbJ3ZxPmdP 5OTQ== X-Gm-Message-State: ALoCoQlqJGuRe6cSwq1IOOzeaIcQtlB7jD3wSxk8P/S6wJzcyzAQGi/fvbQ2fCKG2EO98mQJTEs2 X-Received: by 10.112.138.2 with SMTP id qm2mr2503598lbb.19.1440758052938; Fri, 28 Aug 2015 03:34:12 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.20.202 with SMTP id p10ls178563lae.95.gmail; Fri, 28 Aug 2015 03:34:12 -0700 (PDT) X-Received: by 10.112.16.73 with SMTP id e9mr4488582lbd.65.1440758052772; Fri, 28 Aug 2015 03:34:12 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id l6si5379274lbm.27.2015.08.28.03.34.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Aug 2015 03:34:12 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbbsx3 with SMTP id sx3so27578612lbb.0 for ; Fri, 28 Aug 2015 03:34:12 -0700 (PDT) X-Received: by 10.112.235.130 with SMTP id um2mr4478536lbc.72.1440758052655; Fri, 28 Aug 2015 03:34:12 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.151.194 with SMTP id us2csp436288lbb; Fri, 28 Aug 2015 03:34:11 -0700 (PDT) X-Received: by 10.66.63.69 with SMTP id e5mr14254192pas.156.1440758051265; Fri, 28 Aug 2015 03:34:11 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xk2si9054941pbb.223.2015.08.28.03.34.10; Fri, 28 Aug 2015 03:34:11 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752265AbbH1KeB (ORCPT + 28 others); Fri, 28 Aug 2015 06:34:01 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:33506 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751981AbbH1Kd6 (ORCPT ); Fri, 28 Aug 2015 06:33:58 -0400 Received: by wieo17 with SMTP id o17so10801420wie.0 for ; Fri, 28 Aug 2015 03:33:57 -0700 (PDT) X-Received: by 10.181.11.168 with SMTP id ej8mr3731248wid.83.1440758037342; Fri, 28 Aug 2015 03:33:57 -0700 (PDT) Received: from localhost.localdomain (host81-129-172-123.range81-129.btcentralplus.com. [81.129.172.123]) by smtp.gmail.com with ESMTPSA id r8sm3110296wik.16.2015.08.28.03.33.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Aug 2015 03:33:56 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, ohad@wizery.com, devicetree@vger.kernel.org, Nathan_Lynch@mentor.com, Lee Jones , Ludovic Barre Subject: [PATCH v2 2/4] remoteproc: dt: Provide bindings for ST's Remote Processor Controller driver Date: Fri, 28 Aug 2015 11:31:49 +0100 Message-Id: <1440757911-9120-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440757911-9120-1-git-send-email-lee.jones@linaro.org> References: <1440757911-9120-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Ludovic Barre Signed-off-by: Lee Jones --- .../devicetree/bindings/remoteproc/st-rproc.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 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..fbd7d78 --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/st-rproc.txt @@ -0,0 +1,35 @@ +STMicroelectronics Remote Processor +----------------------------------- + +This binding provides support for adjunct processors found on ST SoCs. + +The remote processors can be controlled from the bootloader or the primary OS. +If the bootloader starts a remote processor processor the primary OS must detect +its state and act accordingly. + +Required properties: +- compatible Should be one of: + "st,st231-rproc" + "st,st40-rproc" +- reg Size and length of reserved co-processor memory +- 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-names Must be "rproc_clk" +- clock-frequency Clock frequency to set co-processor at if the bootloader + hasn't already done so +- st,syscfg-boot The register that holds the boot vector for the co-processor + +Example: + + st231-audio@bae00000 { + compatible = "st,st231-rproc"; + reg = <0xbae00000 0x01000000>; + reg-names = "rproc_mem"; + resets = <&softreset STIH407_ST231_AUD_SOFTRESET>; + reset-names = "sw_reset"; + clocks = <&clk_s_c0_flexgen CLK_ST231_AUD_0>; + clock-names = "rproc_clk"; + clock-frequency = <600000000>; + st,syscfg-boot = <&syscfg_core 0x228>; + };