2008-11-30 22:09:47 -07:00
|
|
|
#
|
|
|
|
# Makefile for linux/drivers/platform/x86
|
|
|
|
# x86 Platform-Specific Drivers
|
|
|
|
#
|
|
|
|
obj-$(CONFIG_ASUS_LAPTOP) += asus-laptop.o
|
2011-02-26 02:20:31 -07:00
|
|
|
obj-$(CONFIG_ASUS_WMI) += asus-wmi.o
|
2011-02-26 02:20:40 -07:00
|
|
|
obj-$(CONFIG_ASUS_NB_WMI) += asus-nb-wmi.o
|
2008-11-30 22:09:47 -07:00
|
|
|
obj-$(CONFIG_EEEPC_LAPTOP) += eeepc-laptop.o
|
2011-02-26 02:20:31 -07:00
|
|
|
obj-$(CONFIG_EEEPC_WMI) += eeepc-wmi.o
|
2008-11-30 22:09:47 -07:00
|
|
|
obj-$(CONFIG_MSI_LAPTOP) += msi-laptop.o
|
2009-12-21 17:20:01 -07:00
|
|
|
obj-$(CONFIG_ACPI_CMPC) += classmate-laptop.o
|
2008-11-30 22:09:47 -07:00
|
|
|
obj-$(CONFIG_COMPAL_LAPTOP) += compal-laptop.o
|
2009-01-09 15:23:38 -07:00
|
|
|
obj-$(CONFIG_DELL_LAPTOP) += dell-laptop.o
|
2009-01-09 13:17:11 -07:00
|
|
|
obj-$(CONFIG_DELL_WMI) += dell-wmi.o
|
2011-02-17 11:44:09 -07:00
|
|
|
obj-$(CONFIG_DELL_WMI_AIO) += dell-wmi-aio.o
|
2008-11-30 22:09:47 -07:00
|
|
|
obj-$(CONFIG_ACER_WMI) += acer-wmi.o
|
2009-06-21 10:53:03 -06:00
|
|
|
obj-$(CONFIG_ACERHDF) += acerhdf.o
|
2011-03-21 10:59:36 -06:00
|
|
|
obj-$(CONFIG_HP_ACCEL) += hp_accel.o
|
2008-11-30 22:09:47 -07:00
|
|
|
obj-$(CONFIG_HP_WMI) += hp-wmi.o
|
2011-11-24 21:09:37 -07:00
|
|
|
obj-$(CONFIG_AMILO_RFKILL) += amilo-rfkill.o
|
2008-11-30 22:09:47 -07:00
|
|
|
obj-$(CONFIG_TC1100_WMI) += tc1100-wmi.o
|
|
|
|
obj-$(CONFIG_SONY_LAPTOP) += sony-laptop.o
|
2010-10-05 07:18:30 -06:00
|
|
|
obj-$(CONFIG_IDEAPAD_LAPTOP) += ideapad-laptop.o
|
2008-11-30 22:09:47 -07:00
|
|
|
obj-$(CONFIG_THINKPAD_ACPI) += thinkpad_acpi.o
|
2010-10-05 04:08:57 -06:00
|
|
|
obj-$(CONFIG_SENSORS_HDAPS) += hdaps.o
|
2008-11-30 22:09:47 -07:00
|
|
|
obj-$(CONFIG_FUJITSU_LAPTOP) += fujitsu-laptop.o
|
2012-01-18 06:26:22 -07:00
|
|
|
obj-$(CONFIG_FUJITSU_TABLET) += fujitsu-tablet.o
|
2008-11-30 22:09:47 -07:00
|
|
|
obj-$(CONFIG_PANASONIC_LAPTOP) += panasonic-laptop.o
|
|
|
|
obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
|
2008-12-11 12:37:26 -07:00
|
|
|
obj-$(CONFIG_ACPI_WMI) += wmi.o
|
2009-12-10 06:18:13 -07:00
|
|
|
obj-$(CONFIG_MSI_WMI) += msi-wmi.o
|
2009-09-14 18:11:21 -06:00
|
|
|
obj-$(CONFIG_TOPSTAR_LAPTOP) += topstar-laptop.o
|
2012-01-18 12:44:11 -07:00
|
|
|
|
|
|
|
# toshiba_acpi must link after wmi to ensure that wmi devices are found
|
|
|
|
# before toshiba_acpi initializes
|
2008-12-11 12:37:26 -07:00
|
|
|
obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o
|
2012-01-18 12:44:11 -07:00
|
|
|
|
2009-12-16 10:08:15 -07:00
|
|
|
obj-$(CONFIG_TOSHIBA_BT_RFKILL) += toshiba_bluetooth.o
|
2010-04-26 11:13:05 -06:00
|
|
|
obj-$(CONFIG_INTEL_SCU_IPC) += intel_scu_ipc.o
|
2011-02-20 10:35:43 -07:00
|
|
|
obj-$(CONFIG_INTEL_SCU_IPC_UTIL) += intel_scu_ipcutil.o
|
|
|
|
obj-$(CONFIG_INTEL_MFLD_THERMAL) += intel_mid_thermal.o
|
2010-05-14 16:41:14 -06:00
|
|
|
obj-$(CONFIG_INTEL_IPS) += intel_ips.o
|
2010-07-13 03:56:25 -06:00
|
|
|
obj-$(CONFIG_GPIO_INTEL_PMIC) += intel_pmic_gpio.o
|
2010-10-05 08:55:21 -06:00
|
|
|
obj-$(CONFIG_XO1_RFKILL) += xo1-rfkill.o
|
2011-02-03 09:27:55 -07:00
|
|
|
obj-$(CONFIG_XO15_EBOOK) += xo15-ebook.o
|
2010-10-05 16:47:18 -06:00
|
|
|
obj-$(CONFIG_IBM_RTL) += ibm_rtl.o
|
2011-03-11 10:41:19 -07:00
|
|
|
obj-$(CONFIG_SAMSUNG_LAPTOP) += samsung-laptop.o
|
2010-12-05 19:43:33 -07:00
|
|
|
obj-$(CONFIG_MXM_WMI) += mxm-wmi.o
|
2011-04-06 08:45:03 -06:00
|
|
|
obj-$(CONFIG_INTEL_MID_POWER_BUTTON) += intel_mid_powerbtn.o
|
2011-04-06 08:05:24 -06:00
|
|
|
obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o
|
2011-07-07 15:05:25 -06:00
|
|
|
obj-$(CONFIG_SAMSUNG_Q10) += samsung-q10.o
|
2012-03-16 13:41:22 -06:00
|
|
|
obj-$(CONFIG_APPLE_GMUX) += apple-gmux.o
|
2013-07-02 16:41:03 -06:00
|
|
|
obj-$(CONFIG_INTEL_RST) += intel-rst.o
|
2013-07-02 22:50:13 -06:00
|
|
|
obj-$(CONFIG_INTEL_SMARTCONNECT) += intel-smartconnect.o
|
2013-05-07 21:15:32 -06:00
|
|
|
|
|
|
|
obj-$(CONFIG_PVPANIC) += pvpanic.o
|
X86 platform: New BayTrail IOSF-SB MBI driver
Current Intel SOC cores use a MailBox Interface (MBI) to provide access to unit
devices connected to the system fabric. This driver implements access to this
interface on BayTrail platforms. This is a requirement for drivers that need
access to unit registers on the platform (e.g. accessing the PUNIT for power
management features such as RAPL). Serialized access is handled by all exported
routines with spinlocks.
The API includes 3 functions for access to unit registers:
int bt_mbi_read(u8 port, u8 opcode, u32 offset, u32 *mdr)
int bt_mbi_write(u8 port, u8 opcode, u32 offset, u32 mdr)
int bt_mbi_modify(u8 port, u8 opcode, u32 offset, u32 mdr, u32 mask)
port: indicating the unit being accessed
opcode: the read or write port specific opcode
offset: the register offset within the port
mdr: the register data to be read, written, or modified
mask: bit locations in mdr to change
Returns nonzero on error
Note: GPU code handles access to the GFX unit. Therefore access to that unit
with this driver is disallowed to avoid conflicts.
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
2013-12-19 11:37:22 -07:00
|
|
|
obj-$(CONFIG_INTEL_BAYTRAIL_MBI) += intel_baytrail.o
|