[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52F1020A.3050202@gmail.com>
Date: Tue, 04 Feb 2014 16:06:50 +0100
From: Tomasz Figa <tomasz.figa@...il.com>
To: Alan Stern <stern@...land.harvard.edu>,
Kamil Debski <k.debski@...sung.com>
CC: linux-kernel@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
linux-usb@...r.kernel.org, devicetree@...r.kernel.org,
kyungmin.park@...sung.com, kishon@...com, t.figa@...sung.com,
s.nawrocki@...sung.com, m.szyprowski@...sung.com,
gautam.vivek@...sung.com, mat.krawczuk@...il.com,
yulgon.kim@...sung.com, p.paneri@...sung.com,
av.tikhomirov@...sung.com, jg1.han@...sung.com,
galak@...eaurora.org, matt.porter@...aro.org,
tjakobi@...h.uni-bielefeld.de
Subject: Re: [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@...sung.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists