From: Gabe Black Date: Tue, 24 Nov 2020 04:06:30 +0000 (-0800) Subject: dev: Set the "status" field of the HDLCD device tree node to "ok". X-Git-Tag: develop-gem5-snapshot~210 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=141a2f697b3a17a38c3cb00cc1a25c36ed9119e7;p=gem5.git dev: Set the "status" field of the HDLCD device tree node to "ok". This makes the kernel enable the device. Change-Id: I2c237b9ba038c5128e2a7e020587ac46ef7b4abd Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37936 Reviewed-by: Giacomo Travaglini Maintainer: Giacomo Travaglini Tested-by: kokoro --- diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py index 0b5fddadd..8969bc007 100644 --- a/src/dev/arm/RealView.py +++ b/src/dev/arm/RealView.py @@ -531,7 +531,7 @@ class HDLcd(AmbaDmaDevice): pixel_chunk = Param.Unsigned(32, "Number of pixels to handle in one batch") virt_refresh_rate = Param.Frequency("20Hz", "Frame refresh rate " "in KVM mode") - _status = "disabled" + _status = "ok" encoder = Param.Display(Display1080p(), "Display encoder") @@ -563,10 +563,6 @@ class HDLcd(AmbaDmaDevice): node.append(FdtPropertyWords("clocks", state.phandle(self.pxl_clk))) node.append(FdtPropertyStrings("clock-names", ["pxlclk"])) - # This driver is disabled by default since the required DT nodes - # haven't been standardized yet. To use it, override this status to - # "ok" and add the display configuration nodes required by the driver. - # See the driver for more information. node.append(FdtPropertyStrings("status", [ self._status ])) self.addIommuProperty(state, node)