Re: [PATCH v1] arm: pxa: fix DT node name for PXA27X usb

From: Robert Jarzmik
Date: Tue Feb 23 2016 - 15:12:43 EST


Sergei Ianovich <ynvich@xxxxxxxxx> writes:

> Hi Robert,Â
>
> On Mon, 2016-02-22 at 16:35 +0100, Robert Jarzmik wrote:
>> You're right, I haven't seen the pxa2xx.dtsi statement before.
>>
>> As such, could you amend a bit your patch please to :
>> Â- add:
>> Fixes: 0ec1939668e5 ("ARM: dts: pxa: add the usb host controller")
>> Â- make the same change in pxa3xx.dtsi, as the same error is there
>> Â- and more globally align pxa2xx.dtsi, pxa27x.dtsi and pxa3xx.dtsi
>> Â- remove the compatible, reg, interrupts and status from both pxa27x.dtsi and
>> ÂÂÂpxa3xx.dtsi as they are redundant with the included pxa2xxx.dsti one
>
> No problem. Let's figure out the best approach.
>
>> I'm even wondering if the proper change wouldn't be to scrap the ohci
>> declarations from pxa27x.dtsi and pxa3xx.dtsi, and only add the "clocks"
>> property to pxa2xx.dtsi ...
>
> Since clocks are declared in pxa27x.dtsi andÂpxa3xx.dtsi, there is a
> stronger ground to have node clocks properties set in pxa27x.dtsi
> andÂpxa3xx.dtsi as well. However, there is already nodes with clocks
> properties in pxa2xx.dtsi.
>
> I cannot choose, you should make a decision.
I have checked my manuals, and pxa25x doesn't have an USB Host controller.

So I'd rather have :
- remove the usb0: ohci@4c000000 node from pxa2xx.dtsi
- add it completely to pxa27x.dtsi and pxa3xx.dtsi, with clocks and everything,
in "disabled" status.

Cheers.

--
Robert