From patchwork Fri Jan 2 20:00:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Gerlach X-Patchwork-Id: 5560671 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D4C82BF6C3 for ; Fri, 2 Jan 2015 20:01:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0A3992025B for ; Fri, 2 Jan 2015 20:01:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 170ED20256 for ; Fri, 2 Jan 2015 20:01:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752318AbbABUBG (ORCPT ); Fri, 2 Jan 2015 15:01:06 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:49509 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751217AbbABUAw (ORCPT ); Fri, 2 Jan 2015 15:00:52 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id t02K0MOn028516; Fri, 2 Jan 2015 14:00:22 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t02K0Mrp013961; Fri, 2 Jan 2015 14:00:22 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Fri, 2 Jan 2015 14:00:22 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t02K0MKL004683; Fri, 2 Jan 2015 14:00:22 -0600 Received: from localhost (dave-ubuntu.am.dhcp.ti.com [128.247.71.184]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id t02K0Lt20603; Fri, 2 Jan 2015 14:00:22 -0600 (CST) From: Dave Gerlach To: , , , CC: Benoit Cousson , Ohad Ben-Cohen , Suman Anna , Arnd Bergmann , Kevin Hilman , Tony Lindgren , Dave Gerlach Subject: [PATCH 1/3] Documentation: dt: add ti,am3353-wkup-m3-ipc bindings Date: Fri, 2 Jan 2015 14:00:15 -0600 Message-ID: <1420228817-41310-2-git-send-email-d-gerlach@ti.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1420228817-41310-1-git-send-email-d-gerlach@ti.com> References: <1420228817-41310-1-git-send-email-d-gerlach@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the device tree bindings document for ti,am3353-wkup-m3-ipc which is used by the wkup_m3_ipc driver. Signed-off-by: Dave Gerlach --- .../devicetree/bindings/soc/ti/wkup_m3_ipc.txt | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/ti/wkup_m3_ipc.txt diff --git a/Documentation/devicetree/bindings/soc/ti/wkup_m3_ipc.txt b/Documentation/devicetree/bindings/soc/ti/wkup_m3_ipc.txt new file mode 100644 index 0000000..ceb6acf --- /dev/null +++ b/Documentation/devicetree/bindings/soc/ti/wkup_m3_ipc.txt @@ -0,0 +1,41 @@ +Wakeup M3 IPC Driver +===================== + +TI AMx3 family of devices use a Cortex M3 co-processor to help with various +low power tasks that cannot be controlled from the MPU like suspend/resume +and certain deep C-states for CPU Idle. Once the wkup_m3_ipc driver uses the +wkup_m3_rproc driver to boot the wkup_m3, it handles communication with the +CM3 using IPC registers present in the SoC's control module and a mailbox. +The wkup_m3_ipc exposes an API to allow the SoC PM code to execute specific +PM tasks. + +Wkup M3 Device Node: +==================== +A wkup_m3_ipc device node is used to represent a wakeup M3 IP instance within +an SoC. The sub-mailboxes are represented as child node of this parent node. + +Required properties: +-------------------- +- compatible: Should be "ti,am3353-wkup-m3-ipc" for AM33xx SoCs +- reg: Contains the wkup_m3 register address ranges for + ipc-regs. +- reg-names: Name for ipc-regs given above +- interrupts: Contains the interrupt information for the wkup_m3 + interrupt that signals the MPU. +- ti,rproc: Phandle to the wkup_m3 rproc node so the IPC driver + can boot it. +- mboxes: Phandles used by IPC framework to get correct mbox + channel for communication. Must point to appropriate + mbox_wkupm3 child node. + +Example: +-------- +/* AM33xx */ +wkup_m3_ipc: wkup_m3_ipc@44e11324 { + compatible = "ti,am3353-wkup-m3-ipc"; + reg = <0x44e11324 0x0024>; + reg-names = "ipc_regs"; + interrupts = <78>; + ti,rproc = <&wkup_m3>; + mboxes = <&mailbox &mbox_wkupm3>; +};