RE: [RFC PATCH 1/4] iommu/arm-smmu: Init driver using IOMMU_OF_DECLARE

2015-07-22 Thread Sricharan
ernel.org; > mitch...@codeaurora.org; robin.mur...@arm.com > Subject: Re: [RFC PATCH 1/4] iommu/arm-smmu: Init driver using > IOMMU_OF_DECLARE > > [adding Robin] > > On Fri, Jul 17, 2015 at 05:53:22PM +0100, Sricharan R wrote: > > This patch uses IOMMU_OF_DECLARE to regis

Re: [RFC PATCH 1/4] iommu/arm-smmu: Init driver using IOMMU_OF_DECLARE

2015-07-21 Thread Will Deacon
[adding Robin] On Fri, Jul 17, 2015 at 05:53:22PM +0100, Sricharan R wrote: > This patch uses IOMMU_OF_DECLARE to register the driver > and the iommu_ops. So when master devices of the iommu are > registered, of_xlate callback can be used to add the master > configurations to the smmu driver. I'd

[RFC PATCH 1/4] iommu/arm-smmu: Init driver using IOMMU_OF_DECLARE

2015-07-17 Thread Sricharan R
This patch uses IOMMU_OF_DECLARE to register the driver and the iommu_ops. So when master devices of the iommu are registered, of_xlate callback can be used to add the master configurations to the smmu driver. Signed-off-by: Sricharan R --- drivers/iommu/arm-smmu.c | 36 +++--