lkml.org 
[lkml]   [2014]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 8/8] usb: ehci-exynos: Change to use phy provided by the generic phy framework
Hi Alan,

On 29.01.2014 21:42, Alan Stern wrote:
> On Wed, 29 Jan 2014, Kamil Debski wrote:
>
>> Change the phy provider used from the old one using the USB phy
>> framework to a new one using the Generic phy framework.
>>
>> Signed-off-by: Kamil Debski <k.debski@samsung.com>
>> ---
>> .../devicetree/bindings/usb/exynos-usb.txt | 13 +++
>> drivers/usb/host/ehci-exynos.c | 97 +++++++++++++-------
>> 2 files changed, 76 insertions(+), 34 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/usb/exynos-usb.txt b/Documentation/devicetree/bindings/usb/exynos-usb.txt
>> index d967ba1..25e199a 100644
>> --- a/Documentation/devicetree/bindings/usb/exynos-usb.txt
>> +++ b/Documentation/devicetree/bindings/usb/exynos-usb.txt
>> @@ -12,6 +12,10 @@ Required properties:
>> - interrupts: interrupt number to the cpu.
>> - clocks: from common clock binding: handle to usb clock.
>> - clock-names: from common clock binding: Shall be "usbhost".
>> + - port: if in the SoC there are EHCI phys, they should be listed here.
>> +One phy per port. Each port should have its reg entry with a consecutive
>> +number. Also it should contain phys and phy-names entries specifying the
>> +phy used by the port.
>
> What is the reg entry number used for? As far as I can see, it isn't
> used for anything. In which case, why have it at all?

The reg property is here to identify which EHCI port the node is
describing. This should be mentioned in the documentation, though, as
well as the whole description of port nodes should be written in a more
structured manner, just as other properties.

Best regards,
Tomasz


\
 
 \ /
  Last update: 2014-02-04 16:41    [W:0.136 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site