public inbox for linux-kernel@vger.kernel.org
 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; 9+ messages in thread
From: Philippe Reynes @ 2014-08-16 15:38 UTC (permalink / raw)
  To: Linux-kernel, linux-usb, linux-arm-kernel@lists.infradead.org,
	shawn.guo, Peter.Chen
  Cc: gwenhael.goavec-merou

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] 9+ messages in thread

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

Thread overview: 9+ 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
     [not found]         ` <20140819001816.GC2928@peterchendt>
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