• Cezary Jackiewicz's avatar
    misc,acpi,backlight: compal Laptop Extras · 5411552c
    Cezary Jackiewicz authored
    This is driver for Compal Laptop: FL90/IFL90, based on MSI driver.
    
    This driver exports a few files in /sys/devices/platform/compal-laptop/:
     lcd_level - screen brightness: contains a single integer in the range 0..7 (rw)
     wlan - wlan subsystem state: contains 0 or 1 (rw)
     bluetooth - bluetooth subsystem state: contains 0 or 1 (rw)
     raw - raw value taken from embedded controller register (ro)
    
    In addition to these platform device attributes the driver registers itself
    in the Linux backlight control subsystem and is available to userspace under
    /sys/class/backlight/compal-laptop/.
    Signed-off-by: default avatarCezary Jackiewicz <cezary.jackiewicz@gmail.com>
    Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
    Cc: Richard Purdie <rpurdie@rpsys.net>
    Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
    Cc: Len Brown <lenb@kernel.org>
    Cc: Alexey Starikovskiy <aystarik@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    5411552c
compal-laptop.c 9.32 KB