History log of /fuchsia/zircon/system/dev/bus/acpi/dev.h
Revision Date Author Comments
# 1faef322 10-Aug-2018 Todd Eisenberger <teisenbe@google.com>

[acpi] Export a power button HID device

This lets us push the logic for handling a power button press outside of
the ACPI driver. This will make it simpler to perform more complex
actions, like triggering a proper shutdown through devmgr.

ZX-2483 #comment Export the power button from ACPI

Test: Booted on qemu, NUC, and pixelbook, used "hid read" to see the
power button events.

Change-Id: I61678fb773fa4dcf190fc5d32ea51d1feb177852


# 7320e1d6 13-Mar-2018 Todd Eisenberger <teisenbe@google.com>

[acpi] Bind RTC and i8042 via ACPI rather than MISC_PARENT

Change-Id: I9de8676c9643508c3002d7b3e256a4c862c8aeb5


# d5fd2f30 17-Jan-2018 David Stevens <stevensd@google.com>

[dev][acpi] Do basic GPE initialization

Enable GPEs during ACPI initialization with AcpiUpdateAllGpes. This
does not enable GPE processing for GPEs without an associated _Lxx/_Exx
method, and it does not handle handlers becoming available after boot.
As part of initialization, execute all _PRW methods.

Change-Id: Iaa0a7f2ecda2e5622714c8416203c33afe7a35e3


# ada1c8f2 29-Nov-2017 Yvonne Yip <yky@google.com>

[dev][acpi] add INT3403 thermal sensor driver

Change-Id: Id52ef91a035e99cae2f4807823088431fa86453c


# b3b48153 27-Oct-2017 Todd Eisenberger <teisenbe@google.com>

[acpi][i2c] Also provide i2c controller info for TPMs

Change-Id: I1129fa240b3cb48f006d3f00e75bbea8ea427a76


# bfd8be06 05-Oct-2017 Yvonne Yip <yky@google.com>

[ddk] initialize touchpanel device from ACPI

Introduce get_auxdata() protocol call to get I2C configuration
for the touchpanel devices instead of hard coding.

Change-Id: I7c4056f232ff86f03d2b19264d3e769c2c968493


# e25f7267 13-Sep-2017 Todd Eisenberger <teisenbe@google.com>

[acpi][cros-ec] Add CrOS EC driver

This allows us to communicate with the Embedded Controller on CrOS
devices. In particular, it will get us access to sensors.

ZX-1110 #comment Core done

Change-Id: I91411d2f9847bdcf87922c2fa37cb4b06b371936


# b6bd32c1 12-Sep-2017 Todd Eisenberger <teisenbe@google.com>

[acpi][drv] Implement a driver for GOOG0006

GOOG0006 is a tablet mode switch.

MG-1051 #comment Form factor switch now exposed via HID report

Change-Id: I1f84ea880a976ca6eb0848260fb7e32989fa50ae


# f3e2126c 12-Sep-2017 Roland McGrath <mcgrathr@google.com>

[zx] Magenta -> Zircon

The Great Renaming is here!

Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94


# 4327f12c 23-Aug-2017 Todd Eisenberger <teisenbe@google.com>

[acpi] Modernize the EC driver

Change-Id: I69f736230a0e957e5d5a21d3e090c9100e4d31f2


# b2c74c71 10-Aug-2017 Yvonne Yip <yky@google.com>

[dev][acpi] add support for battery and power source devices

Batteries and power source devices (e.g. AC adapters) are
published under /dev/class/power. These devices support
the following ioctls:

IOCTL_POWER_GET_INFO returns the type of the device and
its status.

IOCTL_POWER_GET_BATTERY_INFO is only supported by
batteries. It returns battery status such as capacity
and voltage.

IOCTL_POWER_GET_STATE_CHANGE_EVENT returns an event the
client can use to receive power state change events. When
the state is changed MX_USER_SIGNAL_0 is raised on the
event. Reading the state with IOCTL_POWER_GET_INFO clears
the signal.

Refer to magenta/device/power.h for more information on
the API.

Add the 'lspwr' utility to show information about power
devices.

Change-Id: Ic354402541659b11693184353e3f5d1deac8a129