gma ACPI: Consolidate non-PCH and PCH brightness levels
commitd5842f5b5facce03365415633359584002639a00
authorNico Huber <nico.huber@secunet.com>
Thu, 24 Sep 2015 15:45:45 +0000 (24 17:45 +0200)
committerNico Huber <nico.h@gmx.de>
Mon, 12 Oct 2015 10:09:29 +0000 (12 10:09 +0000)
tree40b0982add0c99f3be89dd69b8b0bde7fdbe1773
parent62047d1e4a3b0e4114cd936af705a3ace95ab313
gma ACPI: Consolidate non-PCH and PCH brightness levels

The two cases only differ in the register locations.

As the values in BRIG were all the same, consolidate them. They also
got normalized to percentages as the ACPI spec wants that (0x61 was 100%
before).

Change-Id: I9216a953bb89458ed102c39194ea370cbf463d5e
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/11703
Tested-by: build bot (Jenkins)
Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
src/drivers/intel/gma/acpi/brightness_levels.asl [new file with mode: 0644]
src/drivers/intel/gma/acpi/non-pch.asl
src/drivers/intel/gma/acpi/pch.asl