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] [day] [month] [year] [list]
Date:	Wed, 3 Jul 2013 13:01:37 +0200
From:	Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com>
To:	Nicolas Ferre <nicolas.ferre@...el.com>
Cc:	linux-arm-kernel@...ts.infradead.org, giometti@...eenne.com,
	Bo Shen <voice.shen@...el.com>,
	Ludovic Desroches <ludovic.desroches@...el.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: at91/DT: at91sam9x5ek: fix USB host property to
 enable port C

On 13:00 Wed 03 Jul     , Nicolas Ferre wrote:
> Device Tree "num-ports" property of USB host node has to be
> set to maximum number of ports available.
> The possibility to activate a particular port is done by specifying the proper
> gpio configuration for its vbus.
> 
> This patch fixes the USB host node by configuring the 3 ports available on the
> product and letting "port A" available for USB gadget usage.
> 
> Reported-by: Rodolfo Giometti <giometti@...eenne.com>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@...el.com>
> Cc: Bo Shen <voice.shen@...el.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com>

> ---
>  arch/arm/boot/dts/at91sam9x5ek.dtsi | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi
> index b753855..49e3c45 100644
> --- a/arch/arm/boot/dts/at91sam9x5ek.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5ek.dtsi
> @@ -94,8 +94,9 @@
>  
>  		usb0: ohci@...00000 {
>  			status = "okay";
> -			num-ports = <2>;
> -			atmel,vbus-gpio = <&pioD 19 GPIO_ACTIVE_LOW
> +			num-ports = <3>;
> +			atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW *//* Activate to have access to port A */
on 2 line would have been more clear


Best Regards,
J.
> +					   &pioD 19 GPIO_ACTIVE_LOW
>  					   &pioD 20 GPIO_ACTIVE_LOW
>  					  >;
>  		};
> -- 
> 1.8.2.2
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ