cmpc_acpi: add support for Classmate PC ACPI devices
Subsystems (3)
PATCH 4/9 cmpc_acpi: add support for Classmate PC ACPI devices
From: Thadeu Lima de Souza Cascardo <[email protected]>
This add supports for devices like keyboard, backlight, tablet and accelerometer.
This work is supported by International Syst S/A.
[[email protected]: cmpc_acpi: depends on ACPI]
[[email protected]: readability tweaks]
[[email protected]: coding-style fixes]
Signed-off-by Thadeu Lima de Souza Cascardo <[email protected]>
Cc Len Brown <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
MAINTAINERS | 6 drivers/platform/x86/Kconfig | 12 drivers/platform/x86/Makefile | 1 drivers/platform/x86/classmate-laptop.c | 609 ++++++++++++++++++++++ 4 files changed, 628 insertions(+)
MAINTAINERS renamed from MAINTAINERS~cmpc_acpi-add-support-for-classmate-pc-acpi-devices +6 -0
@@ -1479,6 +1479,12 @@ L: [email protected] S: Supported F: drivers/scsi/fnic/ +CMPC ACPI DRIVER +M: Thadeu Lima de Souza Cascardo <[email protected]> +M: Daniel Oliveira Nascimento <[email protected]> +S: Supported +F: drivers/platform/x86/classmate-laptop.c + CODA FILE SYSTEM M: Jan Harkes <[email protected]> M: [email protected]
drivers/platform/x86/Kconfig renamed from drivers/platform/x86/Kconfig~cmpc_acpi-add-support-for-classmate-pc-acpi-devices +12 -0
@@ -464,4 +464,16 @@ config TOSHIBA_BT_RFKILL If you have a modern Toshiba laptop with a Bluetooth and an RFKill switch (such as the Portege R500), say Y. + +config ACPI_CMPC + tristate "CMPC Laptop Extras" + depends on X86 && ACPI + select INPUT + select BACKLIGHT_CLASS_DEVICE + default n + help + Support for Intel Classmate PC ACPI devices, including some + keys as input device, backlight device, tablet and accelerometer + devices. + endif # X86_PLATFORM_DEVICES
drivers/platform/x86/Makefile renamed from drivers/platform/x86/Makefile~cmpc_acpi-add-support-for-classmate-pc-acpi-devices +1 -0
@@ -5,6 +5,7 @@ obj-$(CONFIG_ASUS_LAPTOP) += asus-laptop.o obj-$(CONFIG_EEEPC_LAPTOP) += eeepc-laptop.o obj-$(CONFIG_MSI_LAPTOP) += msi-laptop.o +obj-$(CONFIG_ACPI_CMPC) += classmate-laptop.o obj-$(CONFIG_COMPAL_LAPTOP) += compal-laptop.o obj-$(CONFIG_DELL_LAPTOP) += dell-laptop.o obj-$(CONFIG_DELL_WMI) += dell-wmi.o
drivers/platform/x86/classmate-laptop.c new file +609 -0
609 lines not on this page · raw message
_
applied.
I think I should have pushed this for .33-merge, perhaps we should beg forgivness and push it with .33-rc1...
Andrew, Thanks for carrying it in your tree, updating it v2, and polishing.
thanks,
Len Brown, Intel Open Source Technology Center