Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save anonymous/4595201 to your computer and use it in GitHub Desktop.
Save anonymous/4595201 to your computer and use it in GitHub Desktop.
From 75448c8b6dc7c37e134d630d8e9b50b38d44d0be Mon Sep 17 00:00:00 2001
From: Jason Kridner <jdk@ti.com>
Date: Fri, 18 Jan 2013 21:36:15 +0000
Subject: [PATCH] firmware: capes: quick hack on HDMI to add panel
---
firmware/capes/cape-boneblack-hdmi-00A0.dts | 37 +++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/firmware/capes/cape-boneblack-hdmi-00A0.dts b/firmware/capes/cape-boneblack-hdmi-00A0.dts
index b080907..bb780ac 100644
--- a/firmware/capes/cape-boneblack-hdmi-00A0.dts
+++ b/firmware/capes/cape-boneblack-hdmi-00A0.dts
@@ -57,6 +57,7 @@
i2c = <&i2c0>;
pinctrl-names = "default";
pinctrl-0 = <&nxp_hdmi_bonelt_pins>;
+ disp-pll = <371000000>;
};
fb {
@@ -67,6 +68,42 @@
ti,hwmods = "lcdc";
};
+ /* Fixed 720p settings */
+ panel {
+ compatible = "tilcdc,panel";
+ pinctrl-names = "default";
+ pinctrl-0 = <&nxp_hdmi_bonelt_pins>;
+ panel-info {
+ ac-bias = <255>;
+ ac-bias-intrpt = <0>;
+ dma-burst-sz = <16>;
+ bpp = <16>;
+ fdd = <0x80>;
+ tft-alt-mode = <0>;
+ stn-565-mode = <0>;
+ mono-8bit-mode = <0>;
+ invert-line-clock = <1>;
+ invert-frm-clock = <1>;
+ sync-edge = <0>;
+ sync-ctrl = <1>;
+ raster-order = <0>;
+ fifo-th = <0>;
+ };
+ display-timings {
+ native-mode = <&timing0>;
+ timing0: 1280x720 {
+ hactive = <1280>;
+ vactive = <720>;
+ hback-porch = <216>;
+ hfront-porch = <72>;
+ hsync-len = <80>;
+ vback-porch = <22>;
+ vfront-porch = <3>;
+ vsync-len = <5>;
+ clock-frequency = <7420000>;
+ };
+ };
+ };
};
};
--
1.7.8.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment