From e7a76a40f68ea557b497f652507d17a3c8a37dba Mon Sep 17 00:00:00 2001 From: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: Wed, 9 Oct 2019 11:20:56 +0200 Subject: [PATCH] apertis: sabrelite: Add patch to disable the lcd display by default The apertis reference setup with a sabrelite has an LVDS screen but not an LCD one; so disable the LCD one by default in the dtb Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> --- .../0216-Disable-the-lcd-interface.patch | 43 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 44 insertions(+) create mode 100644 debian/patches/apertis/sabrelite/0216-Disable-the-lcd-interface.patch diff --git a/debian/patches/apertis/sabrelite/0216-Disable-the-lcd-interface.patch b/debian/patches/apertis/sabrelite/0216-Disable-the-lcd-interface.patch new file mode 100644 index 00000000000..14a209f1ce9 --- /dev/null +++ b/debian/patches/apertis/sabrelite/0216-Disable-the-lcd-interface.patch @@ -0,0 +1,43 @@ +From: Martyn Welch <martyn.welch@collabora.com> +Date: Tue, 1 Oct 2019 12:55:07 +0100 +Subject: Disable the lcd interface + +We do not use the lcd interface (not to be confused with the LVDS +interface) in the supported configuration. Disable the lcd interface so +that it's not presented as a viable option for Weston. + +Signed-off-by: Martyn Welch <martyn.welch@collabora.com> +--- + arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +index 654cf2c..ba3ca16 100644 +--- a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi ++++ b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +@@ -209,7 +209,7 @@ + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + power-supply = <®_3p3v>; +- status = "okay"; ++ status = "disabled"; + }; + + backlight_lvds: backlight-lvds { +@@ -228,7 +228,7 @@ + interface-pix-fmt = "bgr666"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_j15>; +- status = "okay"; ++ status = "disabled"; + + port@0 { + reg = <0>; +@@ -250,6 +250,7 @@ + panel-lcd { + compatible = "okaya,rs800480t-7x0gp"; + backlight = <&backlight_lcd>; ++ status = "disabled"; + + port { + lcd_panel_in: endpoint { diff --git a/debian/patches/series b/debian/patches/series index 41082b419d7..2217dcb0acc 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -267,3 +267,4 @@ apparmor/0002-UBUNTU-SAUCE-apparmor-userspace-queries.patch # Apertis support/fixes for sabre ai audio apertis/sabreai-audio/0001-cs42xx8-i2c-Fix-module-auto-loading.patch apertis/sabreai-audio/0002-Hack-hardcode-to-sample-rates-usable-on-sabre-AI.patch +apertis/sabrelite/0216-Disable-the-lcd-interface.patch -- GitLab