Message ID | 1398718475-1883-1-git-send-email-guido@vanguardiasur.com.ar (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Apr 28, 2014 at 05:54:32PM -0300, Guido Martínez wrote: > Use phandles instead of unit adresses to reference usb and dma nodes. > This makes the DT more robust and readable. > > Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar> (acked wrong version previously, sorry) Acked-by: Felipe Balbi <balbi@ti.com> > --- > arch/arm/boot/dts/am335x-bone-common.dtsi | 38 +++++++++++++++---------------- > 1 file changed, 19 insertions(+), 19 deletions(-) > > diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi > index 2e7d932..ded1283 100644 > --- a/arch/arm/boot/dts/am335x-bone-common.dtsi > +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi > @@ -182,31 +182,31 @@ > > &usb { > status = "okay"; > +}; > > - control@44e10620 { > - status = "okay"; > - }; > +&usb_ctrl_mod { > + status = "okay"; > +}; > > - usb-phy@47401300 { > - status = "okay"; > - }; > +&usb0_phy { > + status = "okay"; > +}; > > - usb-phy@47401b00 { > - status = "okay"; > - }; > +&usb1_phy { > + status = "okay"; > +}; > > - usb@47401000 { > - status = "okay"; > - }; > +&usb0 { > + status = "okay"; > +}; > > - usb@47401800 { > - status = "okay"; > - dr_mode = "host"; > - }; > +&usb1 { > + status = "okay"; > + dr_mode = "host"; > +}; > > - dma-controller@47402000 { > - status = "okay"; > - }; > +&cppi41dma { > + status = "okay"; > }; > > &i2c0 { > -- > 1.9.2 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
* Felipe Balbi <balbi@ti.com> [140506 09:19]: > On Mon, Apr 28, 2014 at 05:54:32PM -0300, Guido Martínez wrote: > > Use phandles instead of unit adresses to reference usb and dma nodes. > > This makes the DT more robust and readable. > > > > Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar> > > (acked wrong version previously, sorry) > > Acked-by: Felipe Balbi <balbi@ti.com> Applying all four from the v2 into omap-for-v3.16/dt thanks. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index 2e7d932..ded1283 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -182,31 +182,31 @@ &usb { status = "okay"; +}; - control@44e10620 { - status = "okay"; - }; +&usb_ctrl_mod { + status = "okay"; +}; - usb-phy@47401300 { - status = "okay"; - }; +&usb0_phy { + status = "okay"; +}; - usb-phy@47401b00 { - status = "okay"; - }; +&usb1_phy { + status = "okay"; +}; - usb@47401000 { - status = "okay"; - }; +&usb0 { + status = "okay"; +}; - usb@47401800 { - status = "okay"; - dr_mode = "host"; - }; +&usb1 { + status = "okay"; + dr_mode = "host"; +}; - dma-controller@47402000 { - status = "okay"; - }; +&cppi41dma { + status = "okay"; }; &i2c0 {
Use phandles instead of unit adresses to reference usb and dma nodes. This makes the DT more robust and readable. Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar> --- arch/arm/boot/dts/am335x-bone-common.dtsi | 38 +++++++++++++++---------------- 1 file changed, 19 insertions(+), 19 deletions(-)