Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1161135
| From | Sascha Hauer <s.hauer@pengutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver |
| Date | 2015-06-09 10:50 +0200 |
| Message-ID | <pznoo-1lp-43@gated-at.bofh.it> (permalink) |
| References | <psd0K-zP-1@gated-at.bofh.it> <psdaq-LH-27@gated-at.bofh.it> <psu1A-Fg-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 <linux/module.h>
>
> > +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/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver Sascha Hauer <s.hauer@pengutronix.de> - 2015-06-09 10:50 +0200
csiph-web