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

Robert Jarzmik robert.jarzmik at free.fr
Tue Feb 23 12:12:25 PST 2016


Sergei Ianovich <ynvich at gmail.com> 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 at 4c000000 node from pxa2xx.dtsi
 - add it completely to pxa27x.dtsi and pxa3xx.dtsi, with clocks and everything,
   in "disabled" status.

Cheers.

-- 
Robert



More information about the linux-arm-kernel mailing list