From patchwork Wed Nov 26 21:38:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Gerlach X-Patchwork-Id: 5388471 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 05BF19F2F5 for ; Wed, 26 Nov 2014 21:41:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 32E06201F5 for ; Wed, 26 Nov 2014 21:41:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 59906201EC for ; Wed, 26 Nov 2014 21:41:17 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XtkIb-0004pJ-3T; Wed, 26 Nov 2014 21:38:57 +0000 Received: from bear.ext.ti.com ([192.94.94.41]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XtkIP-0004kk-LZ for linux-arm-kernel@lists.infradead.org; Wed, 26 Nov 2014 21:38:46 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id sAQLcLGP000469; Wed, 26 Nov 2014 15:38:21 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id sAQLcLix003383; Wed, 26 Nov 2014 15:38:21 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Wed, 26 Nov 2014 15:38:21 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id sAQLcLup012210; Wed, 26 Nov 2014 15:38:21 -0600 Received: from localhost (j-172-22-146-2.vpn.ti.com [172.22.146.2]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id sAQLcKt15963; Wed, 26 Nov 2014 15:38:20 -0600 (CST) From: Dave Gerlach To: , , , Subject: [RFC PATCH 1/3] Documentation: dt: add ti, am3353-wkup-m3-ipc bindings Date: Wed, 26 Nov 2014 15:38:08 -0600 Message-ID: <25c3f49c4f5acb4a3180a3f3481dee467eb3a2b7.1417029919.git.d-gerlach@ti.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141126_133845_825051_71EEB7D8 X-CRM114-Status: GOOD ( 10.73 ) X-Spam-Score: -5.0 (-----) Cc: Ohad Ben-Cohen , Paul Walmsley , Kevin Hilman , Dave Gerlach , Tony Lindgren , Benoit Cousson X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, 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>; +};