hp/pavilion_m6_1035dx: Add ACPI support for reading battery level

Hardware / Coreboot - Alexandru Gagniuc [gmail.com] - 12 April 2014 13:31 UTC

Hook in the EC ASL code. This provides just enough information for the OS to be able to read the battery information.

EC notifications (_Qxx) do not yet work, and it is unclear if the issue is in the ACPI code, or if the EC is not set up properly. Thus, the OS must boot with the battery inserted in order to be able to read its status.

The _L03 ACPI method is also removed, as the EC SCI uses this event.

Change-Id: I85cbaeb9c77e60bd1c68d928412f897de50c6329

f050435 hp/pavilion_m6_1035dx: Add ACPI support for reading battery level
src/mainboard/hp/pavilion_m6_1035dx/acpi/ec.asl | 14 ++++++++++++++
src/mainboard/hp/pavilion_m6_1035dx/acpi/gpe.asl | 6 ------
.../hp/pavilion_m6_1035dx/acpi/mainboard.asl | 19 +++++++++++++++++++
src/mainboard/hp/pavilion_m6_1035dx/dsdt.asl | 4 ++++
4 files changed, 37 insertions(+), 6 deletions(-)

Upstream: review.coreboot.org


  • Share