509cc0
From 005e0b987019fff6013dff99f44d9f6ce68f08ad Mon Sep 17 00:00:00 2001
509cc0
From: Peter Robinson <pbrobinson@gmail.com>
509cc0
Date: Sat, 23 Mar 2019 17:42:18 +0000
509cc0
Subject: [PATCH 1/3] arm64: tegra210: Jetson TX1: disable WP to make SD card
509cc0
 work
509cc0
509cc0
There's some issue with Write Protect detection on the Jetson TX1
509cc0
so just apply a quirk to disable the check for the time being.
509cc0
509cc0
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
509cc0
---
509cc0
 arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 1 +
509cc0
 1 file changed, 1 insertion(+)
509cc0
509cc0
diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
509cc0
index a96e6ee70c21..072788646cbf 100644
509cc0
--- a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
509cc0
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi
509cc0
@@ -1456,6 +1456,7 @@
509cc0
 	sdhci@700b0000 {
509cc0
 		status = "okay";
509cc0
 		bus-width = <4>;
509cc0
+		disable-wp;
509cc0
 
509cc0
 		cd-gpios = <&gpio TEGRA_GPIO(Z, 1) GPIO_ACTIVE_LOW>;
509cc0
 
509cc0
-- 
509cc0
2.20.1
509cc0
509cc0
From aea4a7a551fd7342299d34f04a8b75f58644ac07 Mon Sep 17 00:00:00 2001
509cc0
From: Peter Robinson <pbrobinson@gmail.com>
509cc0
Date: Sat, 23 Mar 2019 17:45:10 +0000
509cc0
Subject: [PATCH 2/3] arm64: tegra210: Jetson TX1: disable display panel and
509cc0
 associated backlight
509cc0
509cc0
The Jetson TX1 dev kit doesn't ship with a screen by default and if
509cc0
it's not there it appears to crash on boot so disable them both by
509cc0
default until we work out the problem.
509cc0
509cc0
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
509cc0
---
509cc0
 arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 4 +++-
509cc0
 1 file changed, 3 insertions(+), 1 deletion(-)
509cc0
509cc0
diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts b/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
509cc0
index 37e3c46e753f..a16f24f1d5ff 100644
509cc0
--- a/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
509cc0
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
509cc0
@@ -36,7 +36,7 @@
509cc0
 
509cc0
 	host1x@50000000 {
509cc0
 		dsi@54300000 {
509cc0
-			status = "okay";
509cc0
+			status = "disabled";
509cc0
 
509cc0
 			avdd-dsi-csi-supply = <&vdd_dsi_csi>;
509cc0
 
509cc0
@@ -54,6 +54,8 @@
509cc0
 
509cc0
 	i2c@7000c400 {
509cc0
 		backlight: backlight@2c {
509cc0
+			status = "disabled";
509cc0
+
509cc0
 			compatible = "ti,lp8557";
509cc0
 			reg = <0x2c>;
509cc0
 
509cc0
-- 
509cc0
2.20.1