Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1411499
| From | Rafał Miłecki <zajec5@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT |
| Date | 2016-06-01 21:40 +0200 |
| Message-ID | <rFk9I-4bk-37@gated-at.bofh.it> (permalink) |
| References | <rFjQl-44X-3@gated-at.bofh.it> <rFk02-488-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 1 June 2016 at 21:21, Florian Fainelli <f.fainelli@gmail.com> wrote:
> On 06/01/2016 12:16 PM, Rafał Miłecki wrote:
>> Driver for Northstar USB 2.0 PHY was added in 4.7-rc1 by:
>> commit d3feb4067335 ("phy: bcm-ns-usb2: new driver for USB 2.0 PHY on
>> Northstar").
>> It should be used to let EHCI platform driver init PHY.
>>
>> Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
>> ---
>> arch/arm/boot/dts/bcm5301x.dtsi | 18 ++++++++++++++++++
>> 1 file changed, 18 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
>> index 7d4d29b..9300e19 100644
>> --- a/arch/arm/boot/dts/bcm5301x.dtsi
>> +++ b/arch/arm/boot/dts/bcm5301x.dtsi
>> @@ -140,6 +140,22 @@
>> };
>> };
>>
>> + phys {
>> + compatible = "simple-bus";
>> + ranges = <0x00000000 0x18000000 0x00100000>;
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> +
>> + usb2_phy2: usb2-phy {
>> + compatible = "brcm,ns-usb2-phy";
>> + reg = <0x0000c000 0x1000>;
>> + reg-names = "dmu";
>> + #phy-cells = <0>;
>> + clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
>> + clock-names = "phy-ref-clk";
>> + };
>
> You guys need to get everything straigthen up when it comes to busing
> and child nodes for bcm53101x.dtsi, why do we need a "simple-bus" node
> here which overlaps in part with the brcm-bus-axi node's range?
I believed I'm making things cleaner by adding a separated node for
PHYs (in the future there will be also USB 3.0 PHY and probably a PCIe
PHY). I'm fine with placing this PHY node somewhere else if you think
it better fits there.
--
Rafał
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT Rafał Miłecki <zajec5@gmail.com> - 2016-06-01 21:20 +0200
Re: [PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT Florian Fainelli <f.fainelli@gmail.com> - 2016-06-01 21:30 +0200
Re: [PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT Rafał Miłecki <zajec5@gmail.com> - 2016-06-01 21:40 +0200
Re: [PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT Florian Fainelli <f.fainelli@gmail.com> - 2016-06-01 22:00 +0200
[PATCH V2] ARM: BCM5301X: Specify PHY of USB 2.0 in DT Rafał Miłecki <zajec5@gmail.com> - 2016-06-01 22:10 +0200
csiph-web