Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932179AbbFIImS (ORCPT ); Tue, 9 Jun 2015 04:42:18 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:58416 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752248AbbFIImM (ORCPT ); Tue, 9 Jun 2015 04:42:12 -0400 Date: Tue, 9 Jun 2015 10:42:07 +0200 From: Sascha Hauer To: Paul Bolle Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Kevin Hilman , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, kernel@pengutronix.de, Matthias Brugger Subject: Re: [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver Message-ID: <20150609084207.GN26575@pengutronix.de> References: <1432131540-2523-1-git-send-email-s.hauer@pengutronix.de> <1432131540-2523-4-git-send-email-s.hauer@pengutronix.de> <1432196527.21715.130.camel@x220> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1432196527.21715.130.camel@x220> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 10:41:03 up 84 days, 20:32, 115 users, load average: 0.31, 0.20, 0.16 User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1644 Lines: 50 On Thu, May 21, 2015 at 10:22:07AM +0200, Paul Bolle wrote: > On Wed, 2015-05-20 at 16:18 +0200, Sascha Hauer wrote: > > --- a/drivers/soc/mediatek/Kconfig > > +++ b/drivers/soc/mediatek/Kconfig > > > +config MTK_SCPSYS > > + bool "MediaTek SCPSYS Support" > > + depends on ARCH_MEDIATEK || COMPILE_TEST > > + select REGMAP > > + select MTK_INFRACFG > > + help > > + Say yes here to add support for the MediaTek SCPSYS power domain > > + driver. > > > +obj-$(CONFIG_MTK_SCPSYS) += mtk-scpsys.o > > > --- /dev/null > > +++ b/drivers/soc/mediatek/mtk-scpsys.c > > > +#include > > > +MODULE_DEVICE_TABLE(of, of_scpsys_match_tbl); > > + > > +static struct platform_driver scpsys_drv = { > > > + .owner = THIS_MODULE, > > > +}; > > + > > +module_platform_driver_probe(scpsys_drv, scpsys_probe); > > (A patch was recently submitted that would allow built-in only code to > use builtin_platform_driver_probe(), see > https://lkml.org/lkml/2015/5/10/125 .) I'll switch to this when it's available. Right now I don't want to have this as an additional dependency. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/