lkml.org 
[lkml]   [2014]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
On Mon, Apr 28, 2014 at 10:58:29AM -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-by: Felipe Balbi <balbi@ti.com>

> ---
> arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index 2e7d932..b95bc9a 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -183,28 +183,28 @@
> &usb {
> status = "okay";
>
> - control@44e10620 {
> + &usb_ctrl_mod {
> status = "okay";
> };
>
> - usb-phy@47401300 {
> + &usb0_phy {
> status = "okay";
> };
>
> - usb-phy@47401b00 {
> + &usb1_phy {
> status = "okay";
> };
>
> - usb@47401000 {
> + &usb0 {
> status = "okay";
> };
>
> - usb@47401800 {
> + &usb1 {
> status = "okay";
> dr_mode = "host";
> };
>
> - dma-controller@47402000 {
> + &cppi41dma {
> status = "okay";
> };
> };
> --
> 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

--
balbi
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-05-06 18:41    [W:0.086 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site