RealView.py (14283:b02cde4661e1) RealView.py (14284:41f38d022533)
1# Copyright (c) 2009-2019 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 477 unchanged lines hidden (view full) ---

486 "image format of the captured frame")
487
488 pixel_buffer_size = Param.MemorySize32("2kB", "Size of address range")
489
490 pxl_clk = Param.ClockDomain("Pixel clock source")
491 pixel_chunk = Param.Unsigned(32, "Number of pixels to handle in one batch")
492 virt_refresh_rate = Param.Frequency("20Hz", "Frame refresh rate "
493 "in KVM mode")
1# Copyright (c) 2009-2019 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 477 unchanged lines hidden (view full) ---

486 "image format of the captured frame")
487
488 pixel_buffer_size = Param.MemorySize32("2kB", "Size of address range")
489
490 pxl_clk = Param.ClockDomain("Pixel clock source")
491 pixel_chunk = Param.Unsigned(32, "Number of pixels to handle in one batch")
492 virt_refresh_rate = Param.Frequency("20Hz", "Frame refresh rate "
493 "in KVM mode")
494 _status = "disabled"
494
495 encoder = Param.Display(Display1080p(), "Display encoder")
496
497 def endpointPhandle(self):
498 return "hdlcd_endpoint"
499
500 def generateDeviceTree(self, state):
501 endpoint_node = FdtNode("endpoint")

--- 20 unchanged lines hidden (view full) ---

522 node.appendCompatible(["arm,hdlcd"])
523 node.append(FdtPropertyWords("clocks", state.phandle(self.pxl_clk)))
524 node.append(FdtPropertyStrings("clock-names", ["pxlclk"]))
525
526 # This driver is disabled by default since the required DT nodes
527 # haven't been standardized yet. To use it, override this status to
528 # "ok" and add the display configuration nodes required by the driver.
529 # See the driver for more information.
495
496 encoder = Param.Display(Display1080p(), "Display encoder")
497
498 def endpointPhandle(self):
499 return "hdlcd_endpoint"
500
501 def generateDeviceTree(self, state):
502 endpoint_node = FdtNode("endpoint")

--- 20 unchanged lines hidden (view full) ---

523 node.appendCompatible(["arm,hdlcd"])
524 node.append(FdtPropertyWords("clocks", state.phandle(self.pxl_clk)))
525 node.append(FdtPropertyStrings("clock-names", ["pxlclk"]))
526
527 # This driver is disabled by default since the required DT nodes
528 # haven't been standardized yet. To use it, override this status to
529 # "ok" and add the display configuration nodes required by the driver.
530 # See the driver for more information.
530 node.append(FdtPropertyStrings("status", ["disabled"]))
531 node.append(FdtPropertyStrings("status", [ self._status ]))
531
532 self.addIommuProperty(state, node)
533
534 node.append(port_node)
535
536 yield node
537
538class RealView(Platform):

--- 612 unchanged lines hidden ---
532
533 self.addIommuProperty(state, node)
534
535 node.append(port_node)
536
537 yield node
538
539class RealView(Platform):

--- 612 unchanged lines hidden ---