mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
update xbian-4.4 to 3bde863 update linux config files to disable suspend (kodi patch can be removed later)
341 lines
7.5 KiB
Diff
341 lines
7.5 KiB
Diff
From 21ecd35bd9e5030a6b33a41dea3a2653609b09d7 Mon Sep 17 00:00:00 2001
|
|
From: Peter Vicman <peter.vicman@gmail.com>
|
|
Date: Thu, 24 Mar 2016 15:53:56 +0100
|
|
Subject: [PATCH] dts: udoo: add both lvds displays
|
|
|
|
---
|
|
arch/arm/boot/dts/Makefile | 4 +++
|
|
arch/arm/boot/dts/imx6dl-udoo-15lvds.dts | 54 +++++++++++++++++++++++++++++
|
|
arch/arm/boot/dts/imx6dl-udoo-7lvds.dts | 49 +++++++++++++++++++++++++++
|
|
arch/arm/boot/dts/imx6q-udoo-15lvds.dts | 58 ++++++++++++++++++++++++++++++++
|
|
arch/arm/boot/dts/imx6q-udoo-7lvds.dts | 53 +++++++++++++++++++++++++++++
|
|
arch/arm/boot/dts/imx6qdl-udoo.dtsi | 5 +--
|
|
6 files changed, 221 insertions(+), 2 deletions(-)
|
|
create mode 100644 arch/arm/boot/dts/imx6dl-udoo-15lvds.dts
|
|
create mode 100644 arch/arm/boot/dts/imx6dl-udoo-7lvds.dts
|
|
create mode 100644 arch/arm/boot/dts/imx6q-udoo-15lvds.dts
|
|
create mode 100644 arch/arm/boot/dts/imx6q-udoo-7lvds.dts
|
|
|
|
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
|
index 08ff98a..ffffb8c 100644
|
|
--- a/arch/arm/boot/dts/Makefile
|
|
+++ b/arch/arm/boot/dts/Makefile
|
|
@@ -167,6 +167,8 @@ dtb-$(CONFIG_ARCH_MXC) += \
|
|
imx6dl-sabresd-pf200.dtb \
|
|
imx6dl-sabresd-hdcp.dtb \
|
|
imx6dl-udoo.dtb \
|
|
+ imx6dl-udoo-7lvds.dtb \
|
|
+ imx6dl-udoo-15lvds.dtb \
|
|
imx6dl-sbc-fx6.dtb \
|
|
imx6dl-sbc-fx6m.dtb \
|
|
imx6dl-wandboard.dtb \
|
|
@@ -192,6 +194,8 @@ dtb-$(CONFIG_ARCH_MXC) += \
|
|
imx6q-sbc-fx6m.dtb \
|
|
imx6q-sbc6x.dtb \
|
|
imx6q-udoo.dtb \
|
|
+ imx6q-udoo-7lvds.dtb \
|
|
+ imx6q-udoo-15lvds.dtb \
|
|
imx6q-wandboard.dtb \
|
|
imx6q-tbs2910.dtb \
|
|
imx6sl-evk.dtb \
|
|
diff --git a/arch/arm/boot/dts/imx6dl-udoo-15lvds.dts b/arch/arm/boot/dts/imx6dl-udoo-15lvds.dts
|
|
new file mode 100644
|
|
index 0000000..ac189cc
|
|
--- /dev/null
|
|
+++ b/arch/arm/boot/dts/imx6dl-udoo-15lvds.dts
|
|
@@ -0,0 +1,63 @@
|
|
+/*
|
|
+ * Copyright 2013 Freescale Semiconductor, Inc.
|
|
+ *
|
|
+ * Author: Fabio Estevam <fabio.estevam@freescale.com>
|
|
+ * Author: Ettore Chimenti <ettore.chimenti@udoo.org>
|
|
+ *
|
|
+ * This program is free software; you can redistribute it and/or modify
|
|
+ * it under the terms of the GNU General Public License version 2 as
|
|
+ * published by the Free Software Foundation.
|
|
+ *
|
|
+ */
|
|
+
|
|
+/dts-v1/;
|
|
+#include "imx6dl.dtsi"
|
|
+#include "imx6qdl-udoo.dtsi"
|
|
+
|
|
+/ {
|
|
+ model = "Udoo i.MX6 Dual-lite Board";
|
|
+ compatible = "udoo,imx6dl-udoo", "fsl,imx6dl";
|
|
+
|
|
+ mxcfb2: fb@1 {
|
|
+ compatible = "fsl,mxc_sdc_fb";
|
|
+ disp_dev = "ldb";
|
|
+ interface_pix_fmt = "RGB24";
|
|
+ mode_str = "1360x768M@60";
|
|
+ default_bpp = <32>;
|
|
+ int_clk = <0>;
|
|
+ late_init = <1>;
|
|
+ status = "okay";
|
|
+ };
|
|
+
|
|
+ regulators {
|
|
+ reg_lcd0_pwr: regulator@1 {
|
|
+ status = "okay";
|
|
+ };
|
|
+
|
|
+ reg_lcd0_backlight: regulator@2 {
|
|
+ status = "okay";
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
+&dcic1 {
|
|
+ status = "disabled";
|
|
+};
|
|
+
|
|
+&dcic2 {
|
|
+ dcic_id = <0>;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&ldb {
|
|
+ status = "okay";
|
|
+
|
|
+ lvds-channel@0 {
|
|
+ status = "okay";
|
|
+ fsl,data-width = <24>;
|
|
+
|
|
+ display-timings {
|
|
+ native-mode = <&timing2>;
|
|
+ };
|
|
+ };
|
|
+};
|
|
diff --git a/arch/arm/boot/dts/imx6dl-udoo-7lvds.dts b/arch/arm/boot/dts/imx6dl-udoo-7lvds.dts
|
|
new file mode 100644
|
|
index 0000000..da6ba4d
|
|
--- /dev/null
|
|
+++ b/arch/arm/boot/dts/imx6dl-udoo-7lvds.dts
|
|
@@ -0,0 +1,58 @@
|
|
+/*
|
|
+ * Copyright 2013 Freescale Semiconductor, Inc.
|
|
+ *
|
|
+ * Author: Fabio Estevam <fabio.estevam@freescale.com>
|
|
+ * Author: Ettore Chimenti <ettore.chimenti@udoo.org>
|
|
+ *
|
|
+ * This program is free software; you can redistribute it and/or modify
|
|
+ * it under the terms of the GNU General Public License version 2 as
|
|
+ * published by the Free Software Foundation.
|
|
+ *
|
|
+ */
|
|
+
|
|
+/dts-v1/;
|
|
+#include "imx6dl.dtsi"
|
|
+#include "imx6qdl-udoo.dtsi"
|
|
+
|
|
+/ {
|
|
+ model = "Udoo i.MX6 Dual-lite Board";
|
|
+ compatible = "udoo,imx6dl-udoo", "fsl,imx6dl";
|
|
+
|
|
+ mxcfb2: fb@1 {
|
|
+ compatible = "fsl,mxc_sdc_fb";
|
|
+ disp_dev = "ldb";
|
|
+ interface_pix_fmt = "RGB666";
|
|
+ mode_str = "800x480M@60";
|
|
+ default_bpp = <32>;
|
|
+ int_clk = <0>;
|
|
+ late_init = <0>;
|
|
+ status = "okay";
|
|
+ };
|
|
+
|
|
+ regulators {
|
|
+ reg_lcd0_pwr: regulator@1 {
|
|
+ status = "okay";
|
|
+ };
|
|
+
|
|
+ reg_lcd0_backlight: regulator@2 {
|
|
+ status = "okay";
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
+&dcic1 {
|
|
+ status = "disabled";
|
|
+};
|
|
+
|
|
+&dcic2 {
|
|
+ dcic_id = <0>;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&ldb {
|
|
+ status = "okay";
|
|
+
|
|
+ lvds-channel@0 {
|
|
+ status = "okay";
|
|
+ };
|
|
+};
|
|
diff --git a/arch/arm/boot/dts/imx6q-udoo-15lvds.dts b/arch/arm/boot/dts/imx6q-udoo-15lvds.dts
|
|
new file mode 100644
|
|
index 0000000..35e7651
|
|
--- /dev/null
|
|
+++ b/arch/arm/boot/dts/imx6q-udoo-15lvds.dts
|
|
@@ -0,0 +1,67 @@
|
|
+/*
|
|
+ * Copyright 2013 Freescale Semiconductor, Inc.
|
|
+ *
|
|
+ * Author: Fabio Estevam <fabio.estevam@freescale.com>
|
|
+ * Author: Ettore Chimenti <ettore.chimenti@udoo.org>
|
|
+ *
|
|
+ * This program is free software; you can redistribute it and/or modify
|
|
+ * it under the terms of the GNU General Public License version 2 as
|
|
+ * published by the Free Software Foundation.
|
|
+ *
|
|
+ */
|
|
+
|
|
+/dts-v1/;
|
|
+#include "imx6q.dtsi"
|
|
+#include "imx6qdl-udoo.dtsi"
|
|
+
|
|
+/ {
|
|
+ model = "Udoo i.MX6 Quad Board";
|
|
+ compatible = "udoo,imx6q-udoo", "fsl,imx6q";
|
|
+
|
|
+ mxcfb2: fb@1 {
|
|
+ compatible = "fsl,mxc_sdc_fb";
|
|
+ disp_dev = "ldb";
|
|
+ interface_pix_fmt = "RGB24";
|
|
+ mode_str = "1360x768M@60";
|
|
+ default_bpp = <32>;
|
|
+ int_clk = <0>;
|
|
+ late_init = <1>;
|
|
+ status = "okay";
|
|
+ };
|
|
+
|
|
+ regulators {
|
|
+ reg_lcd0_pwr: regulator@1 {
|
|
+ status = "okay";
|
|
+ };
|
|
+
|
|
+ reg_lcd0_backlight: regulator@2 {
|
|
+ status = "okay";
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
+&sata {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&dcic1 {
|
|
+ status = "disabled";
|
|
+};
|
|
+
|
|
+&dcic2 {
|
|
+ dcic_id = <0>;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&ldb {
|
|
+ status = "okay";
|
|
+
|
|
+ lvds-channel@0 {
|
|
+ status = "okay";
|
|
+ fsl,data-width = <24>;
|
|
+
|
|
+ display-timings {
|
|
+ native-mode = <&timing2>;
|
|
+ };
|
|
+ };
|
|
+};
|
|
diff --git a/arch/arm/boot/dts/imx6q-udoo-7lvds.dts b/arch/arm/boot/dts/imx6q-udoo-7lvds.dts
|
|
new file mode 100644
|
|
index 0000000..e5f3125
|
|
--- /dev/null
|
|
+++ b/arch/arm/boot/dts/imx6q-udoo-7lvds.dts
|
|
@@ -0,0 +1,62 @@
|
|
+/*
|
|
+ * Copyright 2013 Freescale Semiconductor, Inc.
|
|
+ *
|
|
+ * Author: Fabio Estevam <fabio.estevam@freescale.com>
|
|
+ * Author: Ettore Chimenti <ettore.chimenti@udoo.org>
|
|
+ *
|
|
+ * This program is free software; you can redistribute it and/or modify
|
|
+ * it under the terms of the GNU General Public License version 2 as
|
|
+ * published by the Free Software Foundation.
|
|
+ *
|
|
+ */
|
|
+
|
|
+/dts-v1/;
|
|
+#include "imx6q.dtsi"
|
|
+#include "imx6qdl-udoo.dtsi"
|
|
+
|
|
+/ {
|
|
+ model = "Udoo i.MX6 Quad Board";
|
|
+ compatible = "udoo,imx6q-udoo", "fsl,imx6q";
|
|
+
|
|
+ mxcfb2: fb@1 {
|
|
+ compatible = "fsl,mxc_sdc_fb";
|
|
+ disp_dev = "ldb";
|
|
+ interface_pix_fmt = "RGB666";
|
|
+ mode_str = "800x480M@60";
|
|
+ default_bpp = <32>;
|
|
+ int_clk = <0>;
|
|
+ late_init = <0>;
|
|
+ status = "okay";
|
|
+ };
|
|
+
|
|
+ regulators {
|
|
+ reg_lcd0_pwr: regulator@1 {
|
|
+ status = "okay";
|
|
+ };
|
|
+
|
|
+ reg_lcd0_backlight: regulator@2 {
|
|
+ status = "okay";
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
+&sata {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&dcic1 {
|
|
+ status = "disabled";
|
|
+};
|
|
+
|
|
+&dcic2 {
|
|
+ dcic_id = <0>;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&ldb {
|
|
+ status = "okay";
|
|
+
|
|
+ lvds-channel@0 {
|
|
+ status = "okay";
|
|
+ };
|
|
+};
|
|
diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi
|
|
index 2f6ec9a..7dca6db 100755
|
|
--- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi
|
|
+++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi
|
|
@@ -202,7 +202,7 @@
|
|
&dcic2 {
|
|
dcic_id = <1>;
|
|
dcic_mux = "dcic-lvds1";
|
|
- status = "okay";
|
|
+ status = "disabled";
|
|
};
|
|
|
|
&gpc { // General power controller
|
|
@@ -254,9 +254,10 @@
|
|
vsync-len = <2>;
|
|
};
|
|
|
|
- timing2: 1366x768 { // 15.6" display
|
|
+ // IPU needs X and Y by modulo 8
|
|
+ timing2: 1360x768 { // 15.6" display
|
|
clock-frequency = <76000000>;
|
|
- hactive = <1366>;
|
|
+ hactive = <1360>;
|
|
vactive = <768>;
|
|
hback-porch = <220>;
|
|
hfront-porch = <40>;
|