diff mbox

[1/2] ARM: dts: OMAP4+: Add DMM bindings

Message ID 1363754624-5209-2-git-send-email-andy.gross@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andy Gross March 20, 2013, 4:43 a.m. UTC
Add DMM bindings for OMAP4 and OMAP5 devices.

Signed-off-by: Andy Gross <andy.gross@ti.com>
---
 arch/arm/boot/dts/omap4.dtsi |    7 +++++++
 arch/arm/boot/dts/omap5.dtsi |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)

Comments

Santosh Shilimkar March 20, 2013, 5:59 a.m. UTC | #1
On Wednesday 20 March 2013 10:13 AM, Andy Gross wrote:
> Add DMM bindings for OMAP4 and OMAP5 devices.
> 
> Signed-off-by: Andy Gross <andy.gross@ti.com>
> ---
>  arch/arm/boot/dts/omap4.dtsi |    7 +++++++
>  arch/arm/boot/dts/omap5.dtsi |    7 +++++++
>  2 files changed, 14 insertions(+), 0 deletions(-)
> 
"Documentation/devicetree/bindings/arm/omap/dmm.txt |   16 ++++++++++++++++

You should add the bidning information along or before
adding the DT node. I see you have that in next patch.
You should move that as part of this patch to be
consistent. Otherwise patch looks fine to me.

Regards,
Santosh

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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";
+		};
 	};
 };