edbaa603eb801655e80808a9cf3d3b622e8ac66b |
|
22-Dec-2011 |
Kay Sievers <kay.sievers@vrfy.org> |
driver-core: remove sysdev.h usage. The sysdev.h file should not be needed by any in-kernel code, so remove the .h file from these random files that seem to still want to include it. The sysdev code will be going away soon, so this include needs to be removed no matter what. Cc: Jiandong Zheng <jdzheng@broadcom.com> Cc: Scott Branden <sbranden@broadcom.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Kukjin Kim <kgene.kim@samsung.com> Cc: David Brown <davidb@codeaurora.org> Cc: Daniel Walker <dwalker@fifo99.com> Cc: Bryan Huntsman <bryanh@codeaurora.org> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Wan ZongShun <mcuos.com@gmail.com> Cc: Haavard Skinnemoen <hskinnemoen@gmail.com> Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Cc: "Venkatesh Pallipadi Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Matthew Garrett <mjg@redhat.com> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
/drivers/platform/x86/intel_scu_ipc.c
|
7c52d55170ce84ddf9c0ad4e020ef1d7a97975a7 |
|
27-May-2011 |
Paul Gortmaker <paul.gortmaker@windriver.com> |
x86: fix up files really needing to include module.h These files aren't just exporting symbols -- they are also defining a MODULE_LICENSE etc. so give them the full module.h file. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
/drivers/platform/x86/intel_scu_ipc.c
|
daa7769641019e9a0da180170cc1cd1b8ebd1641 |
|
07-Jul-2011 |
Axel Lin <axel.lin@gmail.com> |
platform-drivers-x86: intel_scu_ipc: convert to DEFINE_PCI_DEVICE_TABLE Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
c8440336fe376036e473554c30f7266987961734 |
|
17-Mar-2011 |
Lucas De Marchi <lucas.de.marchi@gmail.com> |
platform-drivers: x86: fix common misspellings Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
2f215a7d6d1d8ed0bbdda4fc4f7d64e3a1d46acc |
|
28-Jan-2011 |
Huang Weiyi <weiyi.huang@gmail.com> |
intel_scu_ipc: remove duplicated #include Remove duplicated #include('s) in drivers/platform/x86/intel_scu_ipc.c Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
/drivers/platform/x86/intel_scu_ipc.c
|
ecb5646cb098d9d1961c4b1af7b776c73b7541ac |
|
25-Jan-2011 |
Axel Lin <axel.lin@gmail.com> |
intel_scu_ipc: fix signedness bug busy_loop() returns negative error code, thus change err variable from u32 to int to properly propagate correct error code. Also remove unneeded initialization for err and i variables. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
/drivers/platform/x86/intel_scu_ipc.c
|
5369c02d951afc72d68f5f85089160a63d31ca37 |
|
22-Oct-2010 |
Sreedhara DS <sreedhara.ds@intel.com> |
intel_scu_ipc: Utility driver for intel scu ipc This driver implements ioctl and interfaces with intel scu ipc driver. It is used to access pmic/msic registers from user space and firmware update utility. Signed-off-by: Sreedhara DS <sreedhara.ds@intel.com> [Extensive clean up and debug] Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
1da4b1c6a4dfb5a13d7147a27c1ac53fed09befd |
|
09-Nov-2010 |
Feng Tang <feng.tang@intel.com> |
x86/mrst: Add SFI platform device parsing code SFI provides a series of tables. These describe the platform devices present including SPI and I²C devices, as well as various sensors, keypads and other glue as well as interfaces provided via the SCU IPC mechanism (intel_scu_ipc.c) This patch is a merge of the core elements and relevant fixes from the Intel development code by Feng, Alek, myself into a single coherent patch for upstream submission. It provides the needed infrastructure to register I2C, SPI and platform devices described by the tables, as well as handlers for some of the hardware already supported in kernel. The 0.8 firmware also provides GPIO tables. Devices are created at boot time or if they are SCU dependant at the point an SCU is discovered. The existing Linux device mechanisms will then handle the device binding. At an abstract level this is an SFI to Linux device translator. Device/platform specific setup/glue is in this file. This is done so that the drivers for the generic I²C and SPI bus devices remain cross platform as they should. (Updated from RFC version to correct the emc1403 name used by the firmware and a wrongly used #define) Signed-off-by: Alek Du <alek.du@linux.intel.com> LKML-Reference: <20101109112158.20013.6158.stgit@localhost.localdomain> [Clean ups, removal of 0.7 support] Signed-off-by: Feng Tang <feng.tang@linux.intel.com> [Clean ups] Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
/drivers/platform/x86/intel_scu_ipc.c
|
209009b2cb29124ad707fbb3ba4c95d3d100a1c4 |
|
13-Sep-2010 |
Alan Cox <alan@linux.intel.com> |
scu_ipc: Fix warning caused by include changes We need to include the SFI headers. This is fine as the SCU is only relevant to x86 platforms with SFI. Fixes the -next warning report. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
32e2f63bcc8903487975506d8db5931a8c4bbb1f |
|
24-Aug-2010 |
Jianwei Yang <jianwei.yang@intel.com> |
intel_scu_ipc: fix IPC i2c write bug We should pass the data to the data register. Signed-off-by: Jianwei Yang <jianwei.yang@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
/drivers/platform/x86/intel_scu_ipc.c
|
5aa06930fbcfcb6b03fcb18b753122b10ac47a87 |
|
26-Jul-2010 |
Hong Liu <hong.liu@intel.com> |
intel_scu_ipc: fix size field for intel_scu_ipc_command Size for PMIC read/write command is byte, while it is DWORD for other IPC commands. Signed-off-by: Hong Liu <hong.liu@intel.com> Signed-off-by: ALan Cox <alan@linux.intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
77e01d6d177f060f466417fa32fc3e1381a73502 |
|
26-Jul-2010 |
Hong Liu <hong.liu@intel.com> |
intel_scu_ipc: return -EIO for error condition in busy_loop Signed-off-by: Hong Liu <hong.liu@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
215c330fe92be8d9f74bc292ea085dbe2ace6bf5 |
|
26-Jul-2010 |
Hong Liu <hong.liu@intel.com> |
intel_scu_ipc: fix data packing of PMIC command on Moorestown Data is 2-byte per entry for PMIC read-modify-update command. Signed-off-by: Hong Liu <hong.liu@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
6c8d0fdbe88e8bb1a07fa9a2830767cc180f7d1b |
|
26-Jul-2010 |
Andy Ross <andy.ross@windriver.com> |
Clean up command packing on MRST. Don't pass more bytes in the command length field than we filled. Signed-off-by: Andy Ross <andy.ross@windriver.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
ed6f2b4da32913875355f5c9cbbb38e4168b7801 |
|
26-Jul-2010 |
Arjan van de Ven <arjan@linux.intel.com> |
zero the stack buffer before giving random garbage to the SCU some messages take 4 bytes, but only fill 3 bytes.... this patch makes sure that whatever we send to the SCU is zeroed first Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
51cd525dce018f298568d8e2e769b1a698ef91cd |
|
26-Jul-2010 |
Arjan van de Ven <arjan@linux.intel.com> |
Fix stack buffer size for IPC writev messages The stack buffer for IPC messages was 16 bytes, limiting messages to a size of 4 (each message is 32 bit). However, the touch screen driver is trying to send messages of size 5.... (AC: Set to 20 bytes having checked the max size allowed) Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
9dd3adeb00b14d4b3d106360e2e33272deab35f3 |
|
26-Jul-2010 |
Alan Cox <alan@linux.intel.com> |
intel_scu_ipc: Use the new cpu identification function This provides an architecture level board identify function to replace the cpuid direct usage Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
a5b74e69e1238eb46a6fcf2b9dc9d0e4efbb4e46 |
|
26-Jul-2010 |
Sreedhara DS <sreedhara.ds@intel.com> |
intel_scu_ipc: tidy up unused bits Delete unused constants IPC_CMD_INDIRECT_RD and IPC_CMD_INDIRECT_WR Remove multiple inclusion of header file "asm/mrst.h" Signed-off-by: Sreedhara DS <sreedhara.ds@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
804f8681a99da2aa49bd7f0dab3750848d1ab1bc |
|
26-Jul-2010 |
Sreedhara DS <sreedhara.ds@intel.com> |
Remove indirect read write api support. The firmware of production devices does not support this interface so this is dead code. Signed-off-by: Sreedhara DS <sreedhara.ds@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
e3359fd5d2d97f4d3bca5778e35427b07a2b1060 |
|
26-Jul-2010 |
Sreedhara DS <sreedhara.ds@intel.com> |
intel_scu_ipc: Support Medfield processors Changes to work on bothMmoorestown and Medfield New pci id added for Medfield Return type of ipc_data_readl chnaged from u8 to u32 Signed-off-by: Sreedhara DS <sreedhara.ds@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
14d10f0a48cdfa76773cadcbf0deb233282f6b94 |
|
26-Jul-2010 |
Sreedhara DS <sreedhara.ds@intel.com> |
intel_scu_ipc: detect CPU type automatically Intel SCU message formats depend upon the processor type. Replace the module option with automatic detection of the processor type. Signed-off-by: Sreedhara DS <sreedhara.ds@intel.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
/drivers/platform/x86/intel_scu_ipc.c
|
b4fd4f890bca2291a12bb0807027db40f929a82d |
|
19-Jul-2010 |
Sreedhara DS <sreedhara.ds@intel.com> |
intel_scu_ipc: Oops/crash fixes - fix reversing of command/sub arguments - fix a crash if the i2c interface is called before the device is found Signed-off-by: Sreedhara DS <sreedhara.ds@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
/drivers/platform/x86/intel_scu_ipc.c
|
2e8949f09e3097c629f33323eaf280cf5c88c81a |
|
01-Jun-2010 |
Alan Cox <alan@linux.intel.com> |
intel_scu_ipc: Length fix Commands with data must set the length in the message. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
/drivers/platform/x86/intel_scu_ipc.c
|
9a58a3333923c7fef4ba6ac9afd817429e63a1fe |
|
26-Apr-2010 |
Sreedhara DS <sreedhara.ds@intel.com> |
IPC driver for Intel Mobile Internet Device (MID) platforms The IPC (inter processor communications) is used to provide the communications between kernel and system control units on some embedded Intel x86 platforms. (Various bits of clean up and restructuring by Alan Cox) Signed-off-by: Sreedhara DS <sreedhara.ds@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com>
/drivers/platform/x86/intel_scu_ipc.c
|