linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: tegra: Disable XUSB support on Jetson TX2
@ 2019-05-06 16:41 Thierry Reding
  2019-05-07  4:19 ` Bitan Biswas
  2019-05-08 10:53 ` Jon Hunter
  0 siblings, 2 replies; 3+ messages in thread
From: Thierry Reding @ 2019-05-06 16:41 UTC (permalink / raw)
  To: Thierry Reding
  Cc: linux-tegra, Jonathan Hunter, linux-arm-kernel, Bitan Biswas

From: Thierry Reding <treding@nvidia.com>

The recently introduced XUSB support for Jetson TX2 is causing boot, CPU
hotplug and suspend/resume failures according to several reports.

Temporarily work around this by disabling the XUSB controller and XUSB
pad controller nodes in device tree, while we figure out what's causing
this.

Reported-by: Bitan Biswas <bbiswas@nvidia.com>
Reported-by: Jonathan Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
index 75ee6cf1e1b4..14d7fea82daf 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
@@ -59,7 +59,7 @@
 	};
 
 	padctl@3520000 {
-		status = "okay";
+		status = "disabled";
 
 		avdd-pll-erefeut-supply = <&vdd_1v8_pll>;
 		avdd-usb-supply = <&vdd_3v3_sys>;
@@ -137,7 +137,7 @@
 	};
 
 	usb@3530000 {
-		status = "okay";
+		status = "disabled";
 
 		phys = <&{/padctl@3520000/pads/usb2/lanes/usb2-0}>,
 		       <&{/padctl@3520000/pads/usb2/lanes/usb2-1}>,
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: tegra: Disable XUSB support on Jetson TX2
  2019-05-06 16:41 [PATCH] arm64: tegra: Disable XUSB support on Jetson TX2 Thierry Reding
@ 2019-05-07  4:19 ` Bitan Biswas
  2019-05-08 10:53 ` Jon Hunter
  1 sibling, 0 replies; 3+ messages in thread
From: Bitan Biswas @ 2019-05-07  4:19 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, linux-arm-kernel, Jonathan Hunter



On 5/6/19 9:41 AM, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> The recently introduced XUSB support for Jetson TX2 is causing boot, CPU
> hotplug and suspend/resume failures according to several reports.
> 
> Temporarily work around this by disabling the XUSB controller and XUSB
> pad controller nodes in device tree, while we figure out what's causing
> this.
> 
> Reported-by: Bitan Biswas <bbiswas@nvidia.com>
> Reported-by: Jonathan Hunter <jonathanh@nvidia.com>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>   arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
> index 75ee6cf1e1b4..14d7fea82daf 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
> +++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
> @@ -59,7 +59,7 @@
>   	};
>   
>   	padctl@3520000 {
> -		status = "okay";
> +		status = "disabled";
>   
>   		avdd-pll-erefeut-supply = <&vdd_1v8_pll>;
>   		avdd-usb-supply = <&vdd_3v3_sys>;
> @@ -137,7 +137,7 @@
>   	};
>   
>   	usb@3530000 {
> -		status = "okay";
> +		status = "disabled";
>   
>   		phys = <&{/padctl@3520000/pads/usb2/lanes/usb2-0}>,
>   		       <&{/padctl@3520000/pads/usb2/lanes/usb2-1}>,
> 
Verified with this patch that Jetson TX2 core power is again turning off 
and suspend mode is entered with additional Tegra186 suspend patches 
from below patch list under review :
http://patchwork.ozlabs.org/project/linux-tegra/list/?series=78866



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: tegra: Disable XUSB support on Jetson TX2
  2019-05-06 16:41 [PATCH] arm64: tegra: Disable XUSB support on Jetson TX2 Thierry Reding
  2019-05-07  4:19 ` Bitan Biswas
@ 2019-05-08 10:53 ` Jon Hunter
  1 sibling, 0 replies; 3+ messages in thread
From: Jon Hunter @ 2019-05-08 10:53 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, linux-arm-kernel, Bitan Biswas


On 06/05/2019 17:41, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> The recently introduced XUSB support for Jetson TX2 is causing boot, CPU
> hotplug and suspend/resume failures according to several reports.
> 
> Temporarily work around this by disabling the XUSB controller and XUSB
> pad controller nodes in device tree, while we figure out what's causing
> this.
> 
> Reported-by: Bitan Biswas <bbiswas@nvidia.com>
> Reported-by: Jonathan Hunter <jonathanh@nvidia.com>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
> index 75ee6cf1e1b4..14d7fea82daf 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
> +++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
> @@ -59,7 +59,7 @@
>  	};
>  
>  	padctl@3520000 {
> -		status = "okay";
> +		status = "disabled";
>  
>  		avdd-pll-erefeut-supply = <&vdd_1v8_pll>;
>  		avdd-usb-supply = <&vdd_3v3_sys>;
> @@ -137,7 +137,7 @@
>  	};
>  
>  	usb@3530000 {
> -		status = "okay";
> +		status = "disabled";
>  
>  		phys = <&{/padctl@3520000/pads/usb2/lanes/usb2-0}>,
>  		       <&{/padctl@3520000/pads/usb2/lanes/usb2-1}>,
> 

Thanks.

Tested-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>

Cheers
Jon

-- 
nvpublic

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-08 10:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-06 16:41 [PATCH] arm64: tegra: Disable XUSB support on Jetson TX2 Thierry Reding
2019-05-07  4:19 ` Bitan Biswas
2019-05-08 10:53 ` Jon Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).