diff mbox

[PATCHv2] arm: dts: omap3: Add #iommu-cells to isp and iva iommu

Message ID 1427765290-4148-1-git-send-email-sre@kernel.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sebastian Reichel March 31, 2015, 1:28 a.m. UTC
Add missing #iommu-cells property to the isp and iva iommu nodes. This
fixes the binding (property is required according to the generic iommu
binding) and removes the following kernel warning triggered once the
iommu nodes are referenced:

[    0.647521] /ocp/isp@480bc000: could not get #iommu-cells for /ocp/mmu@480bd400

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Cc: Sakari Ailus <sakari.ailus@iki.fi>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
Changes since PATCHv1:

 * Also add property to mmu_iva
---
 arch/arm/boot/dts/omap3.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Sakari Ailus March 31, 2015, 6:33 a.m. UTC | #1
On Tue, Mar 31, 2015 at 03:28:10AM +0200, Sebastian Reichel wrote:
> Add missing #iommu-cells property to the isp and iva iommu nodes. This
> fixes the binding (property is required according to the generic iommu
> binding) and removes the following kernel warning triggered once the
> iommu nodes are referenced:
> 
> [    0.647521] /ocp/isp@480bc000: could not get #iommu-cells for /ocp/mmu@480bd400
> 
> Signed-off-by: Sebastian Reichel <sre@kernel.org>
> Cc: Sakari Ailus <sakari.ailus@iki.fi>
> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Thanks!

Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Tony Lindgren May 4, 2015, 4:13 p.m. UTC | #2
* Sakari Ailus <sakari.ailus@iki.fi> [150330 23:34]:
> On Tue, Mar 31, 2015 at 03:28:10AM +0200, Sebastian Reichel wrote:
> > Add missing #iommu-cells property to the isp and iva iommu nodes. This
> > fixes the binding (property is required according to the generic iommu
> > binding) and removes the following kernel warning triggered once the
> > iommu nodes are referenced:
> > 
> > [    0.647521] /ocp/isp@480bc000: could not get #iommu-cells for /ocp/mmu@480bd400
> > 
> > Signed-off-by: Sebastian Reichel <sre@kernel.org>
> > Cc: Sakari Ailus <sakari.ailus@iki.fi>
> > Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> 
> Thanks!
> 
> Acked-by: Sakari Ailus <sakari.ailus@iki.fi>

Applying into omap-for-v4.1/fixes thanks.

Tony
--
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/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index fe0b293..eb96cf9 100644
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3.dtsi
@@ -440,6 +440,7 @@ 
 		};
 
 		mmu_isp: mmu@480bd400 {
+			#iommu-cells = <0>;
 			compatible = "ti,omap2-iommu";
 			reg = <0x480bd400 0x80>;
 			interrupts = <24>;
@@ -448,6 +449,7 @@ 
 		};
 
 		mmu_iva: mmu@5d000000 {
+			#iommu-cells = <0>;
 			compatible = "ti,omap2-iommu";
 			reg = <0x5d000000 0x80>;
 			interrupts = <28>;