From patchwork Tue Aug 30 13:06:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 74980 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp2138918qga; Tue, 30 Aug 2016 06:08:28 -0700 (PDT) X-Received: by 10.66.160.165 with SMTP id xl5mr6049058pab.63.1472562508279; Tue, 30 Aug 2016 06:08:28 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m6si45201852pfj.88.2016.08.30.06.08.27; Tue, 30 Aug 2016 06:08:28 -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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752001AbcH3NIG (ORCPT + 27 others); Tue, 30 Aug 2016 09:08:06 -0400 Received: from arroyo.ext.ti.com ([198.47.19.12]:38124 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751550AbcH3NH6 (ORCPT ); Tue, 30 Aug 2016 09:07:58 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id u7UD72gk024330; Tue, 30 Aug 2016 08:07:02 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id u7UD72CG028340; Tue, 30 Aug 2016 08:07:02 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Tue, 30 Aug 2016 08:07:01 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id u7UD71Dr005689; Tue, 30 Aug 2016 08:07:01 -0500 From: Nishanth Menon To: Russell King , Sudeep Holla , Santosh Shilimkar CC: Russ Dill , Dave Gerlach , Lokesh Vutla , Peter Ujfalusi , "Andrew F . Davis" , Rob Herring , Tero Kristo , , , , , Nishanth Menon Subject: [PATCH V2 1/5] Documentation: Add support for TI System Control Interface (TI-SCI) protocol Date: Tue, 30 Aug 2016 08:06:43 -0500 Message-ID: <20160830130647.6828-2-nm@ti.com> X-Mailer: git-send-email 2.9.1.200.gb1ec08f In-Reply-To: <20160830130647.6828-1-nm@ti.com> References: <20160830130647.6828-1-nm@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Texas Instrument's System Control Interface (TI-SCI) Message Protocol is used in Texas Instrument's System on Chip (SoC) such as those in newer SoCs in the keystone processor family starting with K2G. This message protocol is used to communicate between various compute or processing entities (such as ARM, DSP etc.) with a central system controller entity. TI-SCI message protocol provides support for management of various hardware entities within the SoC. The message protocol can be found here: http://processors.wiki.ti.com/index.php/TISCI Signed-off-by: Nishanth Menon --- Changes since v1: - squashed the bindings changes for reset on review comments from https://patchwork.kernel.org/patch/9291351/ V1: https://patchwork.kernel.org/patch/9291343/ .../devicetree/bindings/arm/keystone/ti,sci.txt | 66 ++++++++++++++++++++++ MAINTAINERS | 8 +++ 2 files changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/keystone/ti,sci.txt -- 2.9.1.200.gb1ec08f diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.txt b/Documentation/devicetree/bindings/arm/keystone/ti,sci.txt new file mode 100644 index 000000000000..ed5b8fc185f1 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.txt @@ -0,0 +1,66 @@ +Texas Instruments System Control Interface (TI-SCI) Message Protocol +------------------------------------------------------------------- + +Texas Instrument's processors including those belonging to Keystone generation +of processors have separate hardware entity which is now responsible for the +management of the System on Chip (SoC) system. These include various system +level functions as well. + +An example of such an SoC is K2G, which contains the system control hardware +block called Power Management Micro Controller (PMMC). This hardware block is +initialized early into boot process and provides services to Operating Systems +on multiple processors including ones running Linux. + +See http://processors.wiki.ti.com/index.php/TISCI for protocol definition. + +TI-SCI controller Device Node: +============================= + +Required properties: +-------------------- +- compatible: should be "ti,k2g-sci" +- mbox-names: + "rx" - Mailbox corresponding to receive path + "tx" - Mailbox corresponding to transmit path + +- mboxes: Mailboxes corresponding to the mbox-names. Each value of the mboxes + property should contain a phandle to the mailbox controller device + node and an args specifier that will be the phandle to the intended + sub-mailbox child node to be used for communication. + +See Documentation/devicetree/bindings/mailbox/mailbox.txt for more details +about the generic mailbox controller and client driver bindings. Also see +Documentation/devicetree/bindings/mailbox/ti,message-manager.txt for typical +controller that is used to communicate with this System controllers. + +Optional Properties: +-------------------- +- reg-names: + debug_messages - Map the Debug message region +- reg: register space corresponding to the debug_messages +- ti,system-reboot-controller: If system reboot can be triggered by SoC reboot + +Example (K2G): +-------- + pmmc: pmmc { + compatible = "ti,k2g-sci"; + mbox-names = "rx", "tx"; + mboxes= <&msgmgr &msgmgr_proxy_pmmc_rx>, + <&msgmgr &msgmgr_proxy_pmmc_tx>; + reg-names = "debug_messages"; + reg = <0x02921800 0x800>; + }; + + +TI-SCI Client Device Node: +======================== + +Client nodes refer to the required TI-SCI device using the "ti,sci" property. + +Example (K2G): +------------- + my_dev_node: dev_node { + ... + ti,sci = <&pmmc>; + ... + } diff --git a/MAINTAINERS b/MAINTAINERS index 20bb1d00098c..ce7306897ae0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11564,6 +11564,14 @@ S: Maintained F: arch/xtensa/ F: drivers/irqchip/irq-xtensa-* +Texas Instruments' System Control Interface (TISCI) Protocol Driver +M: Nishanth Menon +M: Tero Kristo +M: Santosh Shilimkar +L: linux-arm-kernel@lists.infradead.org +S: Maintained +F: Documentation/devicetree/bindings/arm/keystone/ti,sci.txt + THANKO'S RAREMONO AM/FM/SW RADIO RECEIVER USB DRIVER M: Hans Verkuil L: linux-media@vger.kernel.org