summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/clevo/cml-u/dsdt.asl1
-rw-r--r--src/mainboard/clevo/cml-u/variants/l140cu/devicetree.cb12
2 files changed, 12 insertions, 1 deletions
diff --git a/src/mainboard/clevo/cml-u/dsdt.asl b/src/mainboard/clevo/cml-u/dsdt.asl
index 7555246700..05e297b206 100644
--- a/src/mainboard/clevo/cml-u/dsdt.asl
+++ b/src/mainboard/clevo/cml-u/dsdt.asl
@@ -18,6 +18,7 @@ DefinitionBlock(
{
#include <soc/intel/common/block/acpi/acpi/northbridge.asl>
#include <soc/intel/cannonlake/acpi/southbridge.asl>
+ #include <drivers/intel/gma/acpi/default_brightness_levels.asl>
}
#include <southbridge/intel/common/acpi/sleepstates.asl>
diff --git a/src/mainboard/clevo/cml-u/variants/l140cu/devicetree.cb b/src/mainboard/clevo/cml-u/variants/l140cu/devicetree.cb
index 3329f638be..d9a642aab5 100644
--- a/src/mainboard/clevo/cml-u/variants/l140cu/devicetree.cb
+++ b/src/mainboard/clevo/cml-u/variants/l140cu/devicetree.cb
@@ -65,7 +65,17 @@ chip soc/intel/cannonlake
device domain 0 on
subsystemid 0x1558 0x1401 inherit
device pci 00.0 on end # Host Bridge
- device pci 02.0 on end # Integrated Graphics Device
+ device pci 02.0 on # Integrated Graphics Device
+ register "gfx" = "GMA_DEFAULT_PANEL(0)"
+ register "panel_cfg" = "{
+ .up_delay_ms = 200,
+ .down_delay_ms = 50,
+ .cycle_delay_ms = 500,
+ .backlight_pwm_hz = 1000,
+ .backlight_on_delay_ms = 1,
+ .backlight_off_delay_ms = 1,
+ }"
+ end
device pci 04.0 on # SA Thermal device
register "Device4Enable" = "1"
end