From patchwork Wed Sep 2 15:38:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 52984 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 EB7D922DC0 for ; Wed, 2 Sep 2015 15:40:39 +0000 (UTC) Received: by wiclp12 with SMTP id lp12sf7807269wic.0 for ; Wed, 02 Sep 2015 08:40:39 -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=V+5Q4KbN6yDCk7boOBlLGHiK1CipjnFxnOsMQyzmTcw=; b=McpA3apVWdoKCMdSWj3Fqd5jw9x4+kAgvwEXUOe/6LZxTgoD5hFk4JgidFY6NvD0mI Qwwc2zuN1Bt/eh7dWHlEiQ16zA4kmEsMMnJJJdPJPSLxmwf4gfXVSCRPNoOYWoaNd3fZ WmVS5pRUPzTVTV3je6BvbUAOFkw7ODtjeEBKJPQIyphD1RtvzoTRFhU/JCo3I2I5c7T6 xjh1mCRN2Hcp+a8HVtCUWrAFGNfSJZGhZhGi0iZEBtoZFpyZxpnmjij/jQ6gN6mDH7QN YOPhdM3/uoYzC3E/tKY9C98WZgfPsWOr+Pz2T65Goprympm/KaWwOEmrwAF+Ao2NlMS/ tZWw== X-Gm-Message-State: ALoCoQnJrA2BpBKhug/rdAdO+9ZJ/evn7R1bR4jrbhemCSYfwBcFRVPEMynh/VYAVoinSdyYlO/e X-Received: by 10.180.83.226 with SMTP id t2mr1203563wiy.5.1441208439293; Wed, 02 Sep 2015 08:40:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.100 with SMTP id u4ls94597lae.51.gmail; Wed, 02 Sep 2015 08:40:39 -0700 (PDT) X-Received: by 10.112.140.232 with SMTP id rj8mr16253573lbb.2.1441208439114; Wed, 02 Sep 2015 08:40:39 -0700 (PDT) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id h9si19978808lam.85.2015.09.02.08.40.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2015 08:40:39 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by laeb10 with SMTP id b10so10100264lae.1 for ; Wed, 02 Sep 2015 08:40:39 -0700 (PDT) X-Received: by 10.152.198.140 with SMTP id jc12mr7071697lac.19.1441208438974; Wed, 02 Sep 2015 08:40:38 -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.164.42 with SMTP id yn10csp662291lbb; Wed, 2 Sep 2015 08:40:37 -0700 (PDT) X-Received: by 10.68.196.202 with SMTP id io10mr55970804pbc.141.1441208436634; Wed, 02 Sep 2015 08:40:36 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pi3si35938480pbc.125.2015.09.02.08.40.35; Wed, 02 Sep 2015 08:40:36 -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 S1755159AbbIBPk3 (ORCPT + 28 others); Wed, 2 Sep 2015 11:40:29 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:37838 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754964AbbIBPkW (ORCPT ); Wed, 2 Sep 2015 11:40:22 -0400 Received: by wicfx3 with SMTP id fx3so23527531wic.0 for ; Wed, 02 Sep 2015 08:40:21 -0700 (PDT) X-Received: by 10.194.21.98 with SMTP id u2mr7438836wje.141.1441208420918; Wed, 02 Sep 2015 08:40:20 -0700 (PDT) Received: from localhost.localdomain (host81-129-173-206.range81-129.btcentralplus.com. [81.129.173.206]) by smtp.gmail.com with ESMTPSA id x11sm3481257wia.19.2015.09.02.08.40.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Sep 2015 08:40:18 -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, f.fainelli@gmail.com, Lee Jones , Ludovic Barre Subject: [PATCH v3 2/6] remoteproc: dt: Provide bindings for ST's Remote Processor Controller driver Date: Wed, 2 Sep 2015 16:38:05 +0100 Message-Id: <1441208289-17330-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441208289-17330-1-git-send-email-lee.jones@linaro.org> References: <1441208289-17330-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.215.47 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..c3848f6 --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/st-rproc.txt @@ -0,0 +1,35 @@ +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" +- 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-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: + + st231-audio@bae00000 { + compatible = "st,st231-rproc"; + reg = <0xbae00000 0x01000000>; + 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>; + };