Message ID | 1415924401-3013-2-git-send-email-fkan@apm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thursday 13 November 2014 16:19:55 Feng Kan wrote: > > + usb0: dwusb@19000000 { > + status = "disabled"; > + compatible = "xhci-platform"; > + reg = <0x0 0x19000000 0x0 0x100000>; > + interrupts = <0x0 0x89 0x4>; > + dma-coherent; > + }; > + > + usb1: dwusb@19800000 { > + status = "disabled"; > + compatible = "xhci-platform"; > + reg = <0x0 0x19800000 0x0 0x100000>; > + interrupts = <0x0 0x8a 0x4>; > + dma-coherent; > + }; > Call the nodes 'usb', not 'dwusb'. Should these be 'status="disabled"', or do you expect every machine to have both connected? Arnd
On Fri, Nov 14, 2014 at 7:04 AM, Arnd Bergmann <arnd@arndb.de> wrote: > On Thursday 13 November 2014 16:19:55 Feng Kan wrote: >> >> + usb0: dwusb@19000000 { >> + status = "disabled"; >> + compatible = "xhci-platform"; >> + reg = <0x0 0x19000000 0x0 0x100000>; >> + interrupts = <0x0 0x89 0x4>; >> + dma-coherent; >> + }; >> + >> + usb1: dwusb@19800000 { >> + status = "disabled"; >> + compatible = "xhci-platform"; >> + reg = <0x0 0x19800000 0x0 0x100000>; >> + interrupts = <0x0 0x8a 0x4>; >> + dma-coherent; >> + }; >> > > Call the nodes 'usb', not 'dwusb'. This was a deliberate change on our part to make sure backward compatibility with a older bootloader. > Should these be 'status="disabled"', or > do you expect every machine to have both connected? Not all platform has both enabled at this point. Not enabling them would allow us to save some power if the IP is not used. > > Arnd
On Friday 14 November 2014 11:17:38 Feng Kan wrote: > On Fri, Nov 14, 2014 at 7:04 AM, Arnd Bergmann <arnd@arndb.de> wrote: > > On Thursday 13 November 2014 16:19:55 Feng Kan wrote: > >> > >> + usb0: dwusb@19000000 { > >> + status = "disabled"; > >> + compatible = "xhci-platform"; > >> + reg = <0x0 0x19000000 0x0 0x100000>; > >> + interrupts = <0x0 0x89 0x4>; > >> + dma-coherent; > >> + }; > >> + > >> + usb1: dwusb@19800000 { > >> + status = "disabled"; > >> + compatible = "xhci-platform"; > >> + reg = <0x0 0x19800000 0x0 0x100000>; > >> + interrupts = <0x0 0x8a 0x4>; > >> + dma-coherent; > >> + }; > >> > > > > Call the nodes 'usb', not 'dwusb'. > This was a deliberate change on our part to make sure backward > compatibility with a older bootloader. Ok, then add a comment above the nodes explaining this, to prevent people from cleaning it up and accidentally breaking your boot loader later. Arnd
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index 295c72d..6b4c577 100644 --- a/arch/arm64/boot/dts/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm-storm.dtsi @@ -587,6 +587,22 @@ phy-names = "sata-phy"; }; + usb0: dwusb@19000000 { + status = "disabled"; + compatible = "xhci-platform"; + reg = <0x0 0x19000000 0x0 0x100000>; + interrupts = <0x0 0x89 0x4>; + dma-coherent; + }; + + usb1: dwusb@19800000 { + status = "disabled"; + compatible = "xhci-platform"; + reg = <0x0 0x19800000 0x0 0x100000>; + interrupts = <0x0 0x8a 0x4>; + dma-coherent; + }; + rtc: rtc@10510000 { compatible = "apm,xgene-rtc"; reg = <0x0 0x10510000 0x0 0x400>;