• Daniel Drake's avatar
    ACPI: EC: add support for hardware-reduced systems · 406857f7
    Daniel Drake authored
    As defined in the ACPI spec section 12.11, ACPI hardware-reduced
    platforms define the EC SCI interrupt as a GpioInt in the _CRS object.
    
    This replaces the previous way of using a GPE for this interrupt;
    GPE blocks are not available on reduced hardware platforms.
    
    Add support for handling this interrupt as an EC event source, and
    avoid GPE usage on reduced hardware platforms.
    
    This enables the use of several media keys (e.g. screen brightness
    up/down) on Asus UX434DA.
    Signed-off-by: default avatarDaniel Drake <drake@endlessm.com>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    406857f7
ec.c 58.5 KB