linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2 v2] S3C64XX: Fix 48M clock enable
@ 2010-10-12 12:41 Paulius Zaleckas
  2010-10-12 12:41 ` [PATCH 1/2] [v2]ARM: S3C64XX: Fix USB and 48M clock enable procedure Paulius Zaleckas
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paulius Zaleckas @ 2010-10-12 12:41 UTC (permalink / raw)
  To: linux-arm-kernel

To enable 48M clock USB PHY must be initialized since 48M
is output of USB PHY PLL.
So fix a problem where other devices requiring 48M clock will
not work unless USB OTG driver is enabled.
is_osc was removed from OTG drivers platform data and implemented
as separate function s3c6400_clk_xusbxti_is_osc which should be
called from machine_init. Currently there is no in-kernel users
of it.

This fix is only for S3C64xx family, but I am sure something
similar will be needed for S5P family. I have started the work
but I am unable to finnish it since I only have datasheet for
S5PC100. Maybe Samsung guys could help me with this..?
However current patches doesn't break S5P since it is not
using s3c-hsotg driver (yet?).

---

Paulius Zaleckas (2):
      USB: s3-hsotg: Remove PHY initialization code and use CLK API
      [v2]ARM: S3C64XX: Fix USB and 48M clock enable procedure


 arch/arm/mach-s3c64xx/clock.c               |   67 ++++++++++++++++++-
 arch/arm/plat-samsung/include/plat/clock.h  |    2 +
 arch/arm/plat-samsung/include/plat/udc-hs.h |    2 -
 drivers/usb/gadget/s3c-hsotg.c              |   94 +++++----------------------
 4 files changed, 79 insertions(+), 86 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-10-12 14:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-12 12:41 [PATCH 0/2 v2] S3C64XX: Fix 48M clock enable Paulius Zaleckas
2010-10-12 12:41 ` [PATCH 1/2] [v2]ARM: S3C64XX: Fix USB and 48M clock enable procedure Paulius Zaleckas
2010-10-12 12:41 ` [PATCH 2/2] USB: s3-hsotg: Remove PHY initialization code and use CLK API Paulius Zaleckas
2010-10-12 12:55 ` [PATCH 0/2 v2] S3C64XX: Fix 48M clock enable Marek Szyprowski
2010-10-12 13:49   ` Paulius Zaleckas
2010-10-12 14:15     ` Marek Szyprowski

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).