lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 6 May 2014 11:16:36 -0500
From:	Felipe Balbi <balbi@...com>
To:	Guido Martínez <guido@...guardiasur.com.ar>
CC:	LKML <linux-kernel@...r.kernel.org>, <bcousson@...libre.com>,
	<tony@...mide.com>, <robh+dt@...nel.org>, <pawel.moll@....com>,
	<mark.rutland@....com>, <ijc+devicetree@...lion.org.uk>,
	<galak@...eaurora.org>, <linux@....linux.org.uk>,
	<linux-omap@...r.kernel.org>, <devicetree@...r.kernel.org>,
	<linux-arm-kernel@...ts.infradead.org>,
	Ezequiel García 
	<ezequiel@...guardiasur.com.ar>
Subject: Re: [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@...guardiasur.com.ar>

Acked-by: Felipe Balbi <balbi@...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@...10620 {
> +	&usb_ctrl_mod {
>  		status = "okay";
>  	};
>  
> -	usb-phy@...01300 {
> +	&usb0_phy {
>  		status = "okay";
>  	};
>  
> -	usb-phy@...01b00 {
> +	&usb1_phy {
>  		status = "okay";
>  	};
>  
> -	usb@...01000 {
> +	&usb0 {
>  		status = "okay";
>  	};
>  
> -	usb@...01800 {
> +	&usb1 {
>  		status = "okay";
>  		dr_mode = "host";
>  	};
>  
> -	dma-controller@...02000  {
> +	&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@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
balbi

Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ