lkml.org 
[lkml]   [2016]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 06/11] ARM: dts: exynos: Fix DTC unit name warnings in Exynos5250
On Fri, Apr 01, 2016 at 01:21:45PM -0400, Javier Martinez Canillas wrote:
> >
> > - usb@12000000 {
> > + usb_dwc3 {
> > compatible = "samsung,exynos5250-dwusb3";
> > clocks = <&clock CLK_USB3>;
> > clock-names = "usbdrd30";
>
> The ePAPR document says that "The name of a node should be somewhat generic,
> reflecting the function of the device and not its precise programming model"
>
> So I wonder if this shouldn't be instead:
>
> usb_dwc3: usb {

There are already nodes with 'usb' name:
ehci: usb@12110000 {
compatible = "samsung,exynos4210-ehci";
...
}
ohci: usb@12120000 {
compatible = "samsung,exynos4210-ohci";
}
Having nodes with the same name but some with address some not, should
work (none should be overridden)... but looks a little bit weird.

Anyway I am fine with both.


> Although it seems that not all DT bindings follow this convention so probably
> the name in your patch is correct.
>
> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

Thanks for review and comments. I already spotted the 'memory' node
issue so I won't be replying to you with acknowledging comments. :)

BR,
Krzysztof

\
 
 \ /
  Last update: 2016-04-03 05:41    [W:0.069 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site