linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC] usb issue on imx27: 3 clocks are needed
@ 2014-08-16 15:38 Philippe Reynes
  2014-08-16 16:01 ` Fabio Estevam
  2014-08-18  9:00 ` Peter Chen
  0 siblings, 2 replies; 10+ messages in thread
From: Philippe Reynes @ 2014-08-16 15:38 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

i.MX27's usb needs three clocks (usb_ipg_gate, usb_ahb_gate and usb_div)
but the current chipidea driver implementation, and devicetree, provides
only ipg and ahb. Consequently, if the bootloader don't enable the last
one, the kernel will crash.

Our approach/idea is to add a second, optionnal, clock in ci_hdrc_imx.c
with 'per' name in devicetree  and to add  clock name 'main_clk' for mandatory clock.
                   
This approach it correct? Or an other approach seems better?
                            
Thank you very much for your point of view.

Regards,
Philippe and Gwenhael

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

end of thread, other threads:[~2014-08-19  8:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-16 15:38 [RFC] usb issue on imx27: 3 clocks are needed Philippe Reynes
2014-08-16 16:01 ` Fabio Estevam
2014-08-16 16:22   ` Philippe Reynes
2014-08-18  9:00 ` Peter Chen
2014-08-18  9:26   ` Shawn Guo
2014-08-18 10:35     ` Peter Chen
2014-08-18 11:48       ` Shawn Guo
2014-08-18 11:49       ` gwenhael.goavec
2014-08-19  0:18         ` Peter Chen
2014-08-19  8:47           ` gwenhael.goavec

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