From patchwork Wed Oct 21 11:47:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 55384 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by patches.linaro.org (Postfix) with ESMTPS id 8ECB423024 for ; Wed, 21 Oct 2015 11:51:14 +0000 (UTC) Received: by lbbxe8 with SMTP id xe8sf15129814lbb.0 for ; Wed, 21 Oct 2015 04:51: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=cmNoNm4ZzKmoaG0L4GgeGro2C46sUpVwK4q50bSY6IE=; b=e71ouqhazpiFTYrfmHGrBZDr2u4HOBcugNUYv3cY5whQNDYvYanq6uE8E8lwtEcrJx CUb1L5JTmFjE6DOvicdq8l2L2PuX+0sosd2FvDGdoQ/p91wSiuVbmgQZEwq9yjDwkggI 7nKAOaBBxlUwzI36LWpsxoS+DioOv/ZmTRjRDfdjZLL8zrg5eP7PmBu3QMidJJR0MVs1 /fcofNdf8X8izMGczUbNpznh0wdDhxXM1Mjz7+TialPoYacxrRBH2wTKyQqQzZ1hKnJe w5yjxxJcqxwJeWFLVma92wlJy4RrPGwzitCxn1c0uNfhuCzvrwHdH2SCU2ZsDSVFbDDy mTZg== X-Gm-Message-State: ALoCoQlmL/DY4IvD9j6CRDtA6nKEfXCOMfelxDUeQeiKtb1ctf5h7dENJMLo6GF3Hvj/Q+jKa2sv X-Received: by 10.180.87.74 with SMTP id v10mr1233088wiz.5.1445428273537; Wed, 21 Oct 2015 04:51:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.159.212 with SMTP id i203ls204225lfe.61.gmail; Wed, 21 Oct 2015 04:51:13 -0700 (PDT) X-Received: by 10.112.198.37 with SMTP id iz5mr5009481lbc.44.1445428273377; Wed, 21 Oct 2015 04:51:13 -0700 (PDT) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id tm3si6049368lbb.81.2015.10.21.04.51.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Oct 2015 04:51:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by lffv3 with SMTP id v3so19653954lff.0 for ; Wed, 21 Oct 2015 04:51:13 -0700 (PDT) X-Received: by 10.25.38.9 with SMTP id m9mr3207542lfm.112.1445428273259; Wed, 21 Oct 2015 04:51:13 -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.59.35 with SMTP id w3csp2646459lbq; Wed, 21 Oct 2015 04:51:12 -0700 (PDT) X-Received: by 10.68.201.33 with SMTP id jx1mr10036917pbc.75.1445428272244; Wed, 21 Oct 2015 04:51:12 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qz6si12833164pab.168.2015.10.21.04.51.11; Wed, 21 Oct 2015 04:51:12 -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 S932201AbbJULvK (ORCPT + 6 others); Wed, 21 Oct 2015 07:51:10 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:35348 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754594AbbJULtO (ORCPT ); Wed, 21 Oct 2015 07:49:14 -0400 Received: by wicll6 with SMTP id ll6so86981870wic.0 for ; Wed, 21 Oct 2015 04:49:13 -0700 (PDT) X-Received: by 10.194.118.102 with SMTP id kl6mr10077529wjb.29.1445428153779; Wed, 21 Oct 2015 04:49:13 -0700 (PDT) Received: from localhost.localdomain (host81-129-170-218.range81-129.btcentralplus.com. [81.129.170.218]) by smtp.gmail.com with ESMTPSA id uq5sm9928570wjc.3.2015.10.21.04.49.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Oct 2015 04:49:13 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: 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, Lee Jones Subject: [PATCH v4 1/6] remoteproc: dt: Provide bindings for ST's Remote Processor Controller driver Date: Wed, 21 Oct 2015 12:47:02 +0100 Message-Id: <1445428027-26174-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1445428027-26174-1-git-send-email-lee.jones@linaro.org> References: <1445428027-26174-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.215.53 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 Acked-by: Rob Herring --- .../devicetree/bindings/remoteproc/st-rproc.txt | 41 ++++++++++++++++++++++ 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>; + };