All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Heiko Stübner" <heiko@sntech.de>
To: Kukjin Kim <kgene.kim@samsung.com>, Felipe Balbi <balbi@ti.com>
Cc: "'Ben Dooks'" <ben-linux@fluff.org>,
	"Linux USB Mailing List" <linux-usb@vger.kernel.org>,
	linux-samsung-soc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	"Heiko Stübner" <heiko@sntech.de>
Subject: [PATCH 0/3] s3c-hsudc powerdomain using generic power domains
Date: Sun, 8 Jan 2012 21:56:43 +0100	[thread overview]
Message-ID: <201201082156.44142.heiko@sntech.de> (raw)

The S3C2443/S3C2416/S3C2450 contain a power domain for the usb phy.
Up until now the s3c-hsudc was writing directly to the PWRCFG register
in the (un)init_phy functions to control it.

This patchset introduces a power domain for the usbphy and hooks the
hsudc-device to it. The new runtime_pm calls then handle the enabling
and disabling of the power domain on udc start and stop.

As a result another arch dependency is gone from the driver.

This set applies cleanly to linux-next from 2012-01-06 and is
tested on S3C2416 hardware.

Heiko Stuebner (3):
  s3c-hsudc: Use helper functions instead of generic container_of
  s3c-hsudc: add basic runtime_pm calls
  S3C2443: add power domain for usb phy

 arch/arm/mach-s3c2416/Kconfig             |    1 +
 arch/arm/mach-s3c2443/Kconfig             |    1 +
 arch/arm/plat-s3c24xx/Kconfig             |    7 +++
 arch/arm/plat-s3c24xx/Makefile            |    1 +
 arch/arm/plat-s3c24xx/s3c2443-pm-common.c |   65 +++++++++++++++++++++++++++++
 drivers/usb/gadget/s3c-hsudc.c            |   25 ++++++-----
 6 files changed, 89 insertions(+), 11 deletions(-)
 create mode 100644 arch/arm/plat-s3c24xx/s3c2443-pm-common.c

-- 
1.7.2.3

WARNING: multiple messages have this Message-ID (diff)
From: heiko@sntech.de (Heiko Stübner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] s3c-hsudc powerdomain using generic power domains
Date: Sun, 8 Jan 2012 21:56:43 +0100	[thread overview]
Message-ID: <201201082156.44142.heiko@sntech.de> (raw)

The S3C2443/S3C2416/S3C2450 contain a power domain for the usb phy.
Up until now the s3c-hsudc was writing directly to the PWRCFG register
in the (un)init_phy functions to control it.

This patchset introduces a power domain for the usbphy and hooks the
hsudc-device to it. The new runtime_pm calls then handle the enabling
and disabling of the power domain on udc start and stop.

As a result another arch dependency is gone from the driver.

This set applies cleanly to linux-next from 2012-01-06 and is
tested on S3C2416 hardware.

Heiko Stuebner (3):
  s3c-hsudc: Use helper functions instead of generic container_of
  s3c-hsudc: add basic runtime_pm calls
  S3C2443: add power domain for usb phy

 arch/arm/mach-s3c2416/Kconfig             |    1 +
 arch/arm/mach-s3c2443/Kconfig             |    1 +
 arch/arm/plat-s3c24xx/Kconfig             |    7 +++
 arch/arm/plat-s3c24xx/Makefile            |    1 +
 arch/arm/plat-s3c24xx/s3c2443-pm-common.c |   65 +++++++++++++++++++++++++++++
 drivers/usb/gadget/s3c-hsudc.c            |   25 ++++++-----
 6 files changed, 89 insertions(+), 11 deletions(-)
 create mode 100644 arch/arm/plat-s3c24xx/s3c2443-pm-common.c

-- 
1.7.2.3

             reply	other threads:[~2012-01-08 20:56 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-08 20:56 Heiko Stübner [this message]
2012-01-08 20:56 ` [PATCH 0/3] s3c-hsudc powerdomain using generic power domains Heiko Stübner
2012-01-08 20:57 ` [PATCH 1/3] s3c-hsudc: Use helper functions instead of generic container_of Heiko Stübner
2012-01-08 20:57   ` Heiko Stübner
     [not found]   ` <201201082157.55898.heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2012-01-24  9:36     ` Felipe Balbi
2012-01-24  9:36       ` Felipe Balbi
2012-01-08 20:58 ` [PATCH 2/3] s3c-hsudc: add basic runtime_pm calls Heiko Stübner
2012-01-08 20:58   ` Heiko Stübner
2012-01-24  9:37   ` Felipe Balbi
2012-01-24  9:37     ` Felipe Balbi
     [not found] ` <201201082156.44142.heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2012-01-08 20:59   ` [PATCH 3/3] S3C2443: add power domain for usb phy Heiko Stübner
2012-01-08 20:59     ` Heiko Stübner
     [not found]     ` <201201082159.02368.heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2012-01-24  9:38       ` Felipe Balbi
2012-01-24  9:38         ` Felipe Balbi
     [not found]         ` <20120124093831.GT27414-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2012-01-24  9:50           ` Heiko Stübner
2012-01-24  9:50             ` Heiko Stübner
2012-01-24  9:51             ` Felipe Balbi
2012-01-24  9:51               ` Felipe Balbi
2012-01-24 10:09               ` Heiko Stübner
2012-01-24 10:09                 ` Heiko Stübner
2012-01-24 10:12                 ` Felipe Balbi
2012-01-24 10:12                   ` Felipe Balbi
2012-01-24 10:13               ` Heiko Stübner
2012-01-24 10:13                 ` Heiko Stübner
2012-01-24 10:15                 ` Felipe Balbi
2012-01-24 10:15                   ` Felipe Balbi
2012-01-24 10:31                   ` Heiko Stübner
2012-01-24 10:31                     ` Heiko Stübner
2012-01-24 13:01                     ` Kukjin Kim
2012-01-24 13:01                       ` Kukjin Kim
2012-01-24 13:07                       ` Felipe Balbi
2012-01-24 13:07                         ` Felipe Balbi
2012-01-24 13:27                         ` Heiko Stübner
2012-01-24 13:27                           ` Heiko Stübner
2012-01-24 13:30                           ` Felipe Balbi
2012-01-24 13:30                             ` Felipe Balbi
2012-02-01 16:35                       ` Heiko Stübner
2012-02-01 16:35                         ` Heiko Stübner

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=201201082156.44142.heiko@sntech.de \
    --to=heiko@sntech.de \
    --cc=balbi@ti.com \
    --cc=ben-linux@fluff.org \
    --cc=kgene.kim@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux-usb@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.