From: Igor Opaniuk <igor.opaniuk@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC 5/6] ARM: dts: colibri_imx7: Add lcdif node
Date: Tue, 4 Jun 2019 00:06:00 +0300 [thread overview]
Message-ID: <20190603210601.30857-6-igor.opaniuk@gmail.com> (raw)
In-Reply-To: <20190603210601.30857-1-igor.opaniuk@gmail.com>
From: Igor Opaniuk <igor.opaniuk@toradex.com>
Extend lcdif DT node with proper display-timings for mxsfb driver.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
---
arch/arm/dts/imx7-colibri-emmc.dts | 2 ++
arch/arm/dts/imx7-colibri.dtsi | 28 ++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
diff --git a/arch/arm/dts/imx7-colibri-emmc.dts b/arch/arm/dts/imx7-colibri-emmc.dts
index efd600091d..8db2a62707 100644
--- a/arch/arm/dts/imx7-colibri-emmc.dts
+++ b/arch/arm/dts/imx7-colibri-emmc.dts
@@ -11,8 +11,10 @@
compatible = "toradex,imx7d-colibri-emmc", "fsl,imx7d";
aliases {
+ u-boot,dm-pre-reloc;
mmc0 = &usdhc3;
mmc1 = &usdhc1;
+ display1 = &lcdif;
};
chosen {
diff --git a/arch/arm/dts/imx7-colibri.dtsi b/arch/arm/dts/imx7-colibri.dtsi
index a85702f519..81717c233d 100644
--- a/arch/arm/dts/imx7-colibri.dtsi
+++ b/arch/arm/dts/imx7-colibri.dtsi
@@ -111,3 +111,31 @@
>;
};
};
+
+&lcdif {
+ u-boot,dm-pre-reloc;
+ status = "okay";
+
+ display-timings {
+ native-mode = <&timing_vga>;
+
+ /* Standard VGA timing */
+ timing_vga: 640x480 {
+ u-boot,dm-pre-reloc;
+ clock-frequency = <25175000>;
+ hactive = <640>;
+ vactive = <480>;
+ hback-porch = <48>;
+ hfront-porch = <16>;
+ vback-porch = <33>;
+ vfront-porch = <10>;
+ hsync-len = <96>;
+ vsync-len = <2>;
+
+ de-active = <1>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ pixelclk-active = <0>;
+ };
+ };
+};
--
2.17.1
next prev parent reply other threads:[~2019-06-03 21:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-03 21:05 [U-Boot] [RFC 0/6] Convert mxsfb to DM_VIDEO Igor Opaniuk
2019-06-03 21:05 ` [U-Boot] [RFC 1/6] video: mxsfb: change mxs_lcd_init signature Igor Opaniuk
2019-06-03 21:05 ` [U-Boot] [RFC 2/6] video: mxsfb: reorder includes Igor Opaniuk
2019-06-03 21:05 ` [U-Boot] [RFC 3/6] video: mxsfb: refactor video_hw_init() Igor Opaniuk
2019-06-03 21:05 ` [U-Boot] [RFC 4/6] video: mxsfb: add DM_VIDEO support Igor Opaniuk
2019-06-03 21:06 ` Igor Opaniuk [this message]
2019-06-04 22:06 ` [U-Boot] [RFC 5/6] ARM: dts: colibri_imx7: Add lcdif node Fabio Estevam
2019-06-05 13:29 ` Igor Opaniuk
2019-06-05 13:55 ` Igor Opaniuk
2019-06-03 21:06 ` [U-Boot] [RFC 6/6] colibri_imx7_emmc: enable DM_VIDEO Igor Opaniuk
2019-06-04 21:38 ` [U-Boot] [RFC 0/6] Convert mxsfb to DM_VIDEO Anatolij Gustschin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190603210601.30857-6-igor.opaniuk@gmail.com \
--to=igor.opaniuk@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox