Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1513191

Re: [PATCH v8 3/3] ARM: davinci: da8xx: register USB PHY clocks in the DT file

From Sekhar Nori <nsekhar@ti.com>
Newsgroups linux.kernel
Subject Re: [PATCH v8 3/3] ARM: davinci: da8xx: register USB PHY clocks in the DT file
Date 2016-11-01 11:10 +0100
Message-ID <syEaZ-7hG-1@gated-at.bofh.it> (permalink)
References <syrGN-7md-13@gated-at.bofh.it> <syrGN-7md-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tuesday 01 November 2016 02:17 AM, David Lechner 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 DT specific init.
> 
> Unfourtunatly, davinci does not have proper clock support on device tree
> yet, so by registering the clock form de DT 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.
> 
> 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.
> 
> Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
> [Added error checking]
> Signed-off-by: David Lechner <david@lechnology.com>

Applied to v4.10/soc with some typo fixes.

s/form/from
s/Unfourtunatly/Unfortunately
s/de/the

Thanks,
Sekhar

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v8 0/3] da8xx USB PHY platform devices and clocks David Lechner <david@lechnology.com> - 2016-10-31 21:50 +0100
  [PATCH v8 2/3] ARM: davinci: da8xx: add usb phy clocks David Lechner <david@lechnology.com> - 2016-10-31 21:50 +0100
    Re: [PATCH v8 2/3] ARM: davinci: da8xx: add usb phy clocks Sekhar Nori <nsekhar@ti.com> - 2016-11-01 11:00 +0100
  [PATCH v8 3/3] ARM: davinci: da8xx: register USB PHY clocks in the DT file David Lechner <david@lechnology.com> - 2016-10-31 21:50 +0100
    Re: [PATCH v8 3/3] ARM: davinci: da8xx: register USB PHY clocks in  the DT file Sekhar Nori <nsekhar@ti.com> - 2016-11-01 11:10 +0100
  [PATCH v8 1/3] ARM: dts: da850: Add cfgchip syscon node David Lechner <david@lechnology.com> - 2016-10-31 21:50 +0100
    Re: [PATCH v8 1/3] ARM: dts: da850: Add cfgchip syscon node Sekhar Nori <nsekhar@ti.com> - 2016-11-01 11:00 +0100
      Re: [PATCH v8 1/3] ARM: dts: da850: Add cfgchip syscon node David Lechner <david@lechnology.com> - 2016-11-02 00:20 +0100

csiph-web