diff mbox

arm: dts: omap3: Add #iommu-cells to isp iommu

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

Commit Message

Sebastian Reichel March 30, 2015, 11:13 p.m. UTC
Add missing #iommu-cells property to the image signal processor's iommu
node. This fixes the binding (property is required according to the
generic iommu binding) and removes the following kernel warning
triggered once the iommu node is 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>
---
 arch/arm/boot/dts/omap3.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Sakari Ailus March 30, 2015, 11:18 p.m. UTC | #1
Hi Sebastian,

On Tue, Mar 31, 2015 at 01:13:23AM +0200, Sebastian Reichel wrote:
> Add missing #iommu-cells property to the image signal processor's iommu
> node. This fixes the binding (property is required according to the
> generic iommu binding) and removes the following kernel warning
> triggered once the iommu node is 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>
> ---
>  arch/arm/boot/dts/omap3.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
> index fe0b293..77751ef 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>;

Could you add one for mmu_iva below, too, please?

>  			compatible = "ti,omap2-iommu";
>  			reg = <0x480bd400 0x80>;
>  			interrupts = <24>;
diff mbox

Patch

diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index fe0b293..77751ef 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>;