From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [RFC PATCH 1/4] iommu/arm-smmu: Init driver using IOMMU_OF_DECLARE Date: Tue, 21 Jul 2015 16:03:06 +0100 Message-ID: <20150721150306.GI31095@arm.com> References: <1437152005-25092-1-git-send-email-sricharan@codeaurora.org> <1437152005-25092-2-git-send-email-sricharan@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1437152005-25092-2-git-send-email-sricharan-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Sricharan R Cc: "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , "linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: linux-arm-msm@vger.kernel.org [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 really prefer to do this on top of Laurent's series reworking some of the of_xlate code and I think Robin [CC'd] is working on that. That will also pave the way for specifying per-master SMR configuration in the device-tree. Will