summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/alienware-wmi.c
Commit message (Collapse)AuthorAgeFilesLines
* alienware-wmi: whitespace improvementsMario Limonciello2016-02-071-9/+5
| | | | | | | | | | These were some items that were pointed out in previous patches that weren't caught be previous reviewers, but should be applied to other parts of the driver as well. Signed-off-by: Mario Limonciello <mario_limonciello@dell.com> [dvhart: reverted a couple incorrect line wrapping changes] Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* alienware-wmi: Add support for two new systems: ASM200 and ASM201.Mario Limonciello2016-02-071-0/+32
| | | | | | | | | | | | Both of these systems support: * 2 lighting control zones * HDMI mux control * deep sleep control (to enable wakup from controller) The ASM201 also supports the external graphics amplifier. Signed-off-by: Mario Limonciello <mario_limonciello@dell.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* alienware-wmi: Add support for deep sleep control.Mario Limonciello2016-02-071-0/+95
| | | | | | | | | | | | Allow for user configuration of BIOS settings that allow the system to be turned on via HID devices. The feature requires hardware architectural modifications and can not be supported on existing systems. Signed-off-by: Mario Limonciello <mario_limonciello@dell.com> [dvhart: comment formatting and line length fixes] Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* alienware-wmi: Add initial support for alienware graphics amplifier.Mario Limonciello2016-02-071-19/+88
| | | | | | | | | | | | The alienware graphics amplifier is a device that provides external access to a full PCIe slot, USB hub, and additional control zone. This patch enables support for reading status whether the cable is plugged in as well as for setting the colors in the new zone on the amplifier. Signed-off-by: Mario Limonciello <mario_limonciello@dell.com> [dvhart: minor comment formatting fixes] Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* alienware-wmi: Add support for new platform: X51-R3Mario Limonciello2016-02-071-5/+19
| | | | | | | | | The X51-R3 is in the X51 family. It includes 3 internal lighting zones as well as is the first AW desktop that includes support for a graphics amplifier. Signed-off-by: Mario Limonciello <mario_limonciello@dell.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* alienware-wmi: Clean up whitespace for ASM100 platformMario Limonciello2016-02-071-8/+8
| | | | | | | | This brings them more in line with the usage of whitespace in other platforms. Signed-off-by: Mario Limonciello <mario_limonciello@dell.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* platform: x86: drop owner assignment from platform_driversWolfram Sang2014-10-201-1/+0
| | | | | | | A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
* alienware-wmi: make hdmi_mux enabled on case-by-case basisMario Limonciello2014-08-161-2/+20
| | | | | | | | Not all HW supporting WMAX method will support the HDMI mux feature. Explicitly quirk the HW that does support it. Signed-off-by: Mario Limonciello <mario_limonciello@dell.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
* alienware-wmi: Mark DMI table as __initconstMathias Krause2014-08-161-2/+2
| | | | | | | | | The DMI table is only ever used during initialization. Mark it as __initconst so its memory can be released appropriately. In turn, the callback function can be marked with __init, too. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
* alienware-wmi: For WMAX HDMI method, introduce a way to query HDMI cable statusMario Limonciello2014-06-101-30/+88
| | | | | | | | Since there are now multiple HDMI attributes associated with the WMAX method, create a sysfs group for them instead. Signed-off-by: Mario Limonciello <mario_limonciello@dell.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
* alienware-wmi: Update WMAX brightness method limit to 15Mario Limonciello2014-06-091-2/+1
| | | | | | | This more closely reflects what the hardware can actually support. Signed-off-by: Mario Limonciello <mario_limonciello@dell.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
* alienware-wmi: cover some scenarios where memory allocations would failMario Limonciello2014-04-101-2/+10
| | | | | | | | | Intel test builder caught a few instances that should test if kzalloc failed to allocate memory as well as a scenario that platform_driver wasn't properly initialized. Signed-off-by: Mario Limonciello <mario_limonciello@dell.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
* Add WMI driver for controlling AlienFX features on some Alienware productsMario Limonciello2014-04-061-0/+557
Signed-off-by: Mario Limonciello <mario_limonciello@dell.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
OpenPOWER on IntegriCloud