Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1340569 > unrolled thread

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

Started bySergei Ianovich <ynvich@gmail.com>
First post2016-02-23 13:10 +0100
Last post2016-02-23 21:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v1] arm: pxa: fix DT node name for PXA27X usb Sergei Ianovich <ynvich@gmail.com> - 2016-02-23 13:10 +0100
    Re: [PATCH v1] arm: pxa: fix DT node name for PXA27X usb Robert Jarzmik <robert.jarzmik@free.fr> - 2016-02-23 21:20 +0100

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

FromSergei Ianovich <ynvich@gmail.com>
Date2016-02-23 13:10 +0100
SubjectRe: [PATCH v1] arm: pxa: fix DT node name for PXA27X usb
Message-ID<r5jWW-5br-9@gated-at.bofh.it>
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.


-- 
Sergei Ianovich <ynvich@gmail.com>

[toc] | [next] | [standalone]


#1340994

FromRobert Jarzmik <robert.jarzmik@free.fr>
Date2016-02-23 21:20 +0100
Message-ID<r5rB8-1Z5-17@gated-at.bofh.it>
In reply to#1340569
Sergei Ianovich <ynvich@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@4c000000 node from pxa2xx.dtsi
 - add it completely to pxa27x.dtsi and pxa3xx.dtsi, with clocks and everything,
   in "disabled" status.

Cheers.

-- 
Robert

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web