From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 1/5] soc: mediatek: Add SMI driver Date: Mon, 09 Mar 2015 22:56:27 +0100 Message-ID: <2583132.xxsZocsQta@wuerfel> References: <1425638900-24989-1-git-send-email-yong.wu@mediatek.com> <1425638900-24989-2-git-send-email-yong.wu@mediatek.com> <1425871612.4871.10.camel@mtksdaap41> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1425871612.4871.10.camel@mtksdaap41> 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: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: Mark Rutland , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, srv_heupstream-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, Catalin Marinas , Will Deacon , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Tomasz Figa , iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Rob Herring , Daniel Kurtz , Sasha Hauer , Matthias Brugger , Yingjoe Chen , yong.wu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, Lucas Stach List-Id: devicetree@vger.kernel.org On Monday 09 March 2015 11:26:52 Yingjoe Chen wrote: > On Fri, 2015-03-06 at 18:48 +0800, yong.wu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org wrote: > > From: Yong Wu > > > > This patch add SMI(Smart Multimedia Interface) driver. This driver is > > responsible to enable/disable iommu and control the clocks of each > > local arbiter. > > > > Signed-off-by: Yong Wu > > --- > > drivers/soc/mediatek/Kconfig | 7 ++ > > drivers/soc/mediatek/Makefile | 1 + > > drivers/soc/mediatek/mt8173-smi.c | 143 ++++++++++++++++++++++++++++++++++++++ > > include/linux/mtk-smi.h | 40 +++++++++++ > > 4 files changed, 191 insertions(+) > > create mode 100644 drivers/soc/mediatek/mt8173-smi.c > > create mode 100644 include/linux/mtk-smi.h > > > > Hi Arnd, Matthias, > > For the SMI driver, we can't find a better place, so we put it in > drivers/soc/mediatek now. Please let us know if you have any suggestion > or concern. Thanks >>From what I understand from your description, I think it would better fit in drivers/iommu. Another option is drivers/memory, which I think is where the respective Tegra driver ended up. Arnd