dev: Set HDLCD default pixel clock for 1080p @ 60Hz
authorChris Emmons <Chris.Emmons@arm.com>
Fri, 9 May 2014 22:58:46 +0000 (18:58 -0400)
committerChris Emmons <Chris.Emmons@arm.com>
Fri, 9 May 2014 22:58:46 +0000 (18:58 -0400)
This patch changes the default pixel clock to effectively generate
1080p resolution at 60 frames per second. It is dependent upon the
kernel device tree file using the specified resolution / display
string in the comments.

src/dev/arm/RealView.py

index 3c9c22ecce61707fe7501bcf05405d973dd26d68..1c4fa0f560d0962e368ea23d13b4587b17a4bbe5 100644 (file)
@@ -165,9 +165,12 @@ class Pl111(AmbaDmaDevice):
 class HDLcd(AmbaDmaDevice):
     type = 'HDLcd'
     cxx_header = "dev/arm/hdlcd.hh"
-    pixel_clock = Param.Clock('65MHz', "Clock frequency of the pixel clock "
-                                       "(i.e. PXLREFCLK / OSCCLK 5; 23.75MHz "
-                                       "default up to 165MHz)")
+    # For reference, 1024x768MR-16@60  ~= 56 MHz
+    #                1920x1080MR-16@60 ~= 137 MHz
+    #                3840x2160MR-16@60 ~= 533 MHz
+    # Match against the resolution selected in the Linux DTS/DTB file.
+    pixel_clock = Param.Clock('137MHz', "Clock frequency of the pixel clock "
+                                        "(i.e. PXLREFCLK / OSCCLK 5")
     vnc = Param.VncInput(Parent.any, "Vnc server for remote frame buffer "
                                      "display")
     amba_id = 0x00141000