From patchwork Wed Aug 26 13:08:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 52724 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-io0-f198.google.com (mail-io0-f198.google.com [209.85.223.198]) by patches.linaro.org (Postfix) with ESMTPS id 73E1022E9E for ; Wed, 26 Aug 2015 13:11:31 +0000 (UTC) Received: by iofe124 with SMTP id e124sf31212419iof.2 for ; Wed, 26 Aug 2015 06:11:31 -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=3/zwIr49oXj1Ypm6018W5apJWBAcjec2KGv6npXGQ1s=; b=auMY+ZiHtmgXn1XOH7lR7DycdFQ9CpVXkLmvSqe257P77ZfNNw8vb9Q9jYFIawhqzv 6/vLfIo2UzyuWs0e+LZA0TTjjp4uVHbS+9Iy7XFcozR90fIhkVhwNtuQHMKbQ3ochdU9 Y1RHN7LYt5YTPYYphv0Ga93bXZ+S1l/fWMDXhOzoYr/gISxgvvmseLMRZGKZj/NU8ijf rGGLWR6t/Rnh8kpcCrTAd9HPcQlwWCmGzmIVVZ9CvITeeWphzOYACpdSQWasgAo8wMZf YAgkQdRfOCXc9YmV+LGcX7I5mdkVPQ4YAN7XLDZnghjH6KmWlSa4K5xIK7+Ux3TWjxvH NfIg== X-Gm-Message-State: ALoCoQmMwQk9h7oNdZEWKXLM85QfOWG0PIu1kJh04TjSI+mYx28telpS4amcCzK6TEwj9C0yEzUS X-Received: by 10.107.136.23 with SMTP id k23mr2847482iod.23.1440594691131; Wed, 26 Aug 2015 06:11:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.182.219.130 with SMTP id po2ls5290058obc.99.gmail; Wed, 26 Aug 2015 06:11:31 -0700 (PDT) X-Received: by 10.55.26.40 with SMTP id a40mr60699067qka.33.1440594690999; Wed, 26 Aug 2015 06:11:30 -0700 (PDT) Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com. [209.85.220.182]) by mx.google.com with ESMTPS id 101si31185203qkt.38.2015.08.26.06.11.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2015 06:11:30 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) client-ip=209.85.220.182; Received: by qkfh127 with SMTP id h127so119122574qkf.1 for ; Wed, 26 Aug 2015 06:11:30 -0700 (PDT) X-Received: by 10.55.17.66 with SMTP id b63mr79008770qkh.0.1440594690846; Wed, 26 Aug 2015 06:11:30 -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.55.75.207 with SMTP id y198csp1419466qka; Wed, 26 Aug 2015 06:11:30 -0700 (PDT) X-Received: by 10.107.132.169 with SMTP id o41mr3442501ioi.155.1440594689841; Wed, 26 Aug 2015 06:11:29 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r10si4330885pdi.108.2015.08.26.06.11.29; Wed, 26 Aug 2015 06:11:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 S1756349AbbHZNL2 (ORCPT + 8 others); Wed, 26 Aug 2015 09:11:28 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:37431 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756085AbbHZNKR (ORCPT ); Wed, 26 Aug 2015 09:10:17 -0400 Received: by widdq5 with SMTP id dq5so14942877wid.0 for ; Wed, 26 Aug 2015 06:10:16 -0700 (PDT) X-Received: by 10.194.86.134 with SMTP id p6mr61128857wjz.71.1440594616269; Wed, 26 Aug 2015 06:10:16 -0700 (PDT) Received: from localhost.localdomain (host81-129-169-167.range81-129.btcentralplus.com. [81.129.169.167]) by smtp.gmail.com with ESMTPSA id o3sm3817050wjx.16.2015.08.26.06.10.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Aug 2015 06:10:15 -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, Lee Jones Subject: [PATCH 1/4] remoteproc: dt: Provide bindings for ST's Remote Processor Controller driver Date: Wed, 26 Aug 2015 14:08:00 +0100 Message-Id: <1440594483-29601-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440594483-29601-1-git-send-email-lee.jones@linaro.org> References: <1440594483-29601-1-git-send-email-lee.jones@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.220.182 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: Lee Jones --- .../devicetree/bindings/remoteproc/st-rproc.txt | 38 ++++++++++++++++++++++ 1 file changed, 38 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..6a933c1 --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/st-rproc.txt @@ -0,0 +1,38 @@ +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. + +The node name is significant, as it defines the name of the CPU and the name +of the firmware to load: "rproc--fw". + +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>; + };