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