linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver
Date: Tue, 9 Jun 2015 10:42:07 +0200	[thread overview]
Message-ID: <20150609084207.GN26575@pengutronix.de> (raw)
In-Reply-To: <1432196527.21715.130.camel@x220>

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 |

  reply	other threads:[~2015-06-09  8:42 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-20 14:18 [PATCH v3] Mediatek SCPSYS power domain support Sascha Hauer
2015-05-20 14:18 ` [PATCH 1/5] soc: mediatek: Add infracfg misc driver support Sascha Hauer
2015-05-21  8:09   ` Paul Bolle
2015-05-20 14:18 ` [PATCH 2/5] dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit Sascha Hauer
2015-05-20 14:18 ` [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver Sascha Hauer
2015-05-21  8:22   ` Paul Bolle
2015-06-09  8:42     ` Sascha Hauer [this message]
2015-05-20 14:18 ` [PATCH 4/5] ARM64: MediaTek: Add generic pm domain support Sascha Hauer
2015-05-20 14:19 ` [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node Sascha Hauer
2015-05-21 14:32   ` Daniel Kurtz
2015-05-21 15:34     ` Matthias Brugger
2015-05-21 17:49     ` Sascha Hauer
2015-05-22  2:41       ` James Liao
2015-05-22  4:19         ` Daniel Kurtz
2015-05-22  5:40           ` James Liao
2015-05-22  6:12             ` Daniel Kurtz
  -- strict thread matches above, loose matches on Subject: below --
2015-06-09  8:46 [PATCH v4] Mediatek SCPSYS power domain support Sascha Hauer
2015-06-09  8:47 ` [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver Sascha Hauer
2015-06-10 12:03   ` Matthias Brugger
2015-06-10 14:47   ` Ulf Hansson
2015-06-15  7:45     ` Sascha Hauer
2015-05-11 19:23 [PATCH v2] Mediatek SCPSYS power domain support Sascha Hauer
2015-05-11 19:23 ` [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver Sascha Hauer
2015-05-12 11:52   ` Matthias Brugger
2015-05-12 13:47     ` Sascha Hauer
2015-05-15 14:17   ` Daniel Kurtz
2015-05-19 10:30     ` Sascha Hauer
2015-05-19 11:06       ` Matthias Brugger
2015-05-20 14:03         ` Sascha Hauer
2015-05-20 16:06           ` Matthias Brugger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150609084207.GN26575@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).