From patchwork Wed Mar 20 20:50:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Gross X-Patchwork-Id: 2309651 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 910293FC54 for ; Wed, 20 Mar 2013 20:50:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751918Ab3CTUu4 (ORCPT ); Wed, 20 Mar 2013 16:50:56 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:42225 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751559Ab3CTUuz (ORCPT ); Wed, 20 Mar 2013 16:50:55 -0400 Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id r2KKopCH009014; Wed, 20 Mar 2013 15:50:51 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2KKopnX018252; Wed, 20 Mar 2013 15:50:51 -0500 Received: from dlelxv24.itg.ti.com (172.17.1.199) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.2.342.3; Wed, 20 Mar 2013 15:50:51 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2KKopTq006874; Wed, 20 Mar 2013 15:50:51 -0500 Received: from localhost (lta0273185-ubuntu1-128247075044.am.dhcp.ti.com [128.247.75.44]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id r2KKooV05859; Wed, 20 Mar 2013 15:50:50 -0500 (CDT) From: Andy Gross To: CC: Benoit Cousson , Santosh Shilimkar , Nishanth Menon , , Andy Gross Subject: [PATCH v2 1/2] ARM: dts: OMAP4+: Add DMM bindings Date: Wed, 20 Mar 2013 15:50:41 -0500 Message-ID: <1363812642-2921-2-git-send-email-andy.gross@ti.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1363812642-2921-1-git-send-email-andy.gross@ti.com> References: <1363812642-2921-1-git-send-email-andy.gross@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 Add Dynamic Memory Manager (DMM) bindings for OMAP4 and OMAP5 devices. Add documentation for the DMM bindings. Signed-off-by: Andy Gross --- Documentation/devicetree/bindings/arm/omap/dmm.txt | 16 ++++++++++++++++ arch/arm/boot/dts/omap4.dtsi | 7 +++++++ arch/arm/boot/dts/omap5.dtsi | 7 +++++++ 3 files changed, 30 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/omap/dmm.txt diff --git a/Documentation/devicetree/bindings/arm/omap/dmm.txt b/Documentation/devicetree/bindings/arm/omap/dmm.txt new file mode 100644 index 0000000..5fd1134 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/omap/dmm.txt @@ -0,0 +1,16 @@ +OMAP Dynamic Memory Manager (DMM) bindings + +Required properties: +- compatible: Must be "ti,dmm" for OMAP processors containing DMM block +- reg: Contains timer register address range (base address and length) +- interrupts: Contains interrupt information (source, etc) for the DMM IRQ +- ti,hwmods: Name of the hwmod associated to the counter, which is typically + "dmm" + +Example: + +dmm: dmm@4e000000 { + compatible = "ti,dmm"; + reg = <0x4e000000 0x800>; + ti,hwmods = "dmm"; +}; diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index ddfc54a..749fe83 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -624,5 +624,12 @@ ram-bits = <12>; ti,has-mailbox; }; + + dmm: dmm@4e000000 { + compatible = "ti,dmm"; + reg = <0x4e000000 0x800>; + interrupts = <0 113 0x4>; + ti,hwmods = "dmm"; + }; }; }; diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index b760c11..c2d2ecc 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -650,5 +650,12 @@ ctrl-module = <&omap_control_usb>; }; }; + + dmm: dmm@4e000000 { + compatible = "ti,dmm"; + reg = <0x4e000000 0x800>; + interrupts = <0 113 0x4>; + ti,hwmods = "dmm"; + }; }; };