Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1498558
| From | David Lechner <david@lechnology.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH/RFT 08/12] ARM: davinci: register the usb20_phy clock on the SoC file |
| Date | 2016-10-11 01:30 +0200 |
| Message-ID | <sqSb7-7sX-3@gated-at.bofh.it> (permalink) |
| References | <spGvn-3aK-7@gated-at.bofh.it> <spGvo-3aK-39@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 10/07/2016 11:42 AM, ahaslam@baylibre.com wrote: > From: Axel Haslam <ahaslam@baylibre.com> > > The usb20_phy clock needs to be registered for the driver to be able > to get and enable a clock. Currently the usb phy clocks are registered > form board files, which will not be called during a device tree based > boot. > > To be able to probe correctly usb form a device tree boot, register > the usb phy clocks form the SoC specific init. > > Unfourtunatly, davinci does not have proper clock support on device tree > yet, so by registering the clock form de SoC specific file we are > forced to hardcode the parent clock, and cannot select refclkin as > parent for any of the phy clocks of the da850 family. FYI, I have started working on the clocks as well if you want to take it and run with it. https://github.com/dlech/ev3dev-kernel/compare/9d6b50cde34b51309c74d97c26b1430c7ff6aa0f...d02084598785c369fdb23884171cbbec4fef77b0 (Ignore the ev3dev commit stuck in the middle there.) > > As none of the current da850 based boards currently in mainline use > refclkin as source. I guess we can live with this limitation until clocks > are correctly represented through CCF/device tree. >
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH/RFT 08/12] ARM: davinci: register the usb20_phy clock on the SoC file ahaslam@baylibre.com - 2016-10-07 18:50 +0200 Re: [PATCH/RFT 08/12] ARM: davinci: register the usb20_phy clock on the SoC file David Lechner <david@lechnology.com> - 2016-10-11 01:30 +0200
csiph-web