Skip to content

s3c-hsudc powerdomain using generic power domains

Heiko Stübner linux-arm-kernel linux-samsung-soc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3s3c-hsudc: Use helper functions instead of generic container_ofdrivers/usb/gadget/s3c-hsudc.c+5 -51 reply
2/3s3c-hsudc: add basic runtime_pm callsdrivers/usb/gadget/s3c-hsudc.c+9 -01 reply
3/3S3C2443: add power domain for usb phyarch/arm/mach-s3c2416/Kconfig arch/arm/mach-s3c2443/Kconfig arch/arm/plat-s3c24xx/Kconfig +3 more+75 -61 reply
3/3S3C2443: add power domain for usb phy+0 -01 reply
3/3S3C2443: add power domain for usb phy+0 -01 reply
3/3S3C2443: add power domain for usb phy+0 -01 reply
3/3S3C2443: add power domain for usb phy+0 -02 replies
3/3S3C2443: add power domain for usb phy+0 -01 reply
3/3S3C2443: add power domain for usb phy+0 -00 replies

Reviews trailers per patch

7 of 9 patches have a Reviewed-by or Acked-by.

PatchFelipe Balbi
1/3
2/3
3/3A-b
3/3A-b
3/3A-b
3/3A-b
3/3A-b
3/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] s3c-hsudc powerdomain using generic power domains

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
Signature · 1 line
1.7.2.3