S3C64XX: Fix 48M clock enable
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/20 of 2 patches 0 repliesNew
- v2 posting 1/22 patches 0 repliesSuperseded
- v12 patches 0 repliesSuperseded
Patches in v2 posting 2/2 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH 0/2 v2] S3C64XX: Fix 48M clock enable
Quoted 20 lines · Marek Szyprowski
Hello,
Quoted 9 lines · Paulius Zaleckas
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_oscwas removed from OTG drivers platform data and implemented as separate functions3c6400_clk_xusbxti_is_oscwhich should be called frommachine_init. Currently there is no in-kernel users of it.Quoted 6 lines
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?).
Quoted 6 lines
There are patches that enables the driver on S5PC110/S5PV210 series on kgene/for-next tree. Please note that at least Samsung Goni and Samsung Aquila uses external oscillator to supply usb clock. Please refer to:
Interesting patch... If Goni uses oscillator then it will fail with current otg driver since it will configure phy for crystal, because is_otg is not set in the platform data.
Quoted 1 line
This patch contains some really nasty workaround for S3C64XX_OTHERS Mine version allows to get rid of it.
I have some preliminary version of patch for s5p. I will send it to you in the evening.