06 Mar, 2012
1 commit
-
All the production devices use the PC compatible version of this
device so don't use the SCU interfaces or the SCU firmware
interfaces.Delete lots of code and conditional paths
Signed-off-by: Alan Cox
Acked-by: H. Peter Anvin
Cc: Matthew Garrett
Signed-off-by: Andrew Morton
Link: http://lkml.kernel.org/n/tip-4bg4fn9na37b350ohhgiy18n@git.kernel.org
Signed-off-by: Ingo Molnar
22 Dec, 2011
1 commit
-
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
Cc: Scott Branden
Cc: Russell King
Cc: Kukjin Kim
Cc: David Brown
Cc: Daniel Walker
Cc: Bryan Huntsman
Cc: Ben Dooks
Cc: Wan ZongShun
Cc: Haavard Skinnemoen
Cc: Hans-Christian Egtvedt
Cc: Guan Xuetao
Cc: "Venkatesh Pallipadi
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
Cc: Grant Likely
Cc: Richard Purdie
Cc: Matthew Garrett
Signed-off-by: Kay Sievers
01 Nov, 2011
1 commit
-
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
06 Aug, 2011
1 commit
-
Signed-off-by: Axel Lin
Signed-off-by: Matthew Garrett
28 Mar, 2011
1 commit
-
Signed-off-by: Lucas De Marchi
Signed-off-by: Matthew Garrett
31 Jan, 2011
1 commit
-
Remove duplicated #include('s) in
drivers/platform/x86/intel_scu_ipc.cSigned-off-by: Huang Weiyi
Signed-off-by: Linus Torvalds
26 Jan, 2011
1 commit
-
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
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds
08 Jan, 2011
1 commit
-
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
[Extensive clean up and debug]
Signed-off-by: Alan Cox
Signed-off-by: Matthew Garrett
09 Nov, 2010
1 commit
-
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
LKML-Reference:
[Clean ups, removal of 0.7 support]
Signed-off-by: Feng Tang
[Clean ups]
Signed-off-by: Alan Cox
Signed-off-by: Thomas Gleixner
21 Oct, 2010
1 commit
-
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
Signed-off-by: Matthew Garrett
25 Aug, 2010
1 commit
-
We should pass the data to the data register.
Signed-off-by: Jianwei Yang
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds
03 Aug, 2010
11 commits
-
Size for PMIC read/write command is byte, while it is DWORD for other
IPC commands.Signed-off-by: Hong Liu
Signed-off-by: ALan Cox
Signed-off-by: Matthew Garrett -
Signed-off-by: Hong Liu
Signed-off-by: Alan Cox
Signed-off-by: Matthew Garrett -
Data is 2-byte per entry for PMIC read-modify-update command.
Signed-off-by: Hong Liu
Signed-off-by: Alan Cox
Signed-off-by: Matthew Garrett -
Don't pass more bytes in the command length field than we filled.
Signed-off-by: Andy Ross
Signed-off-by: Alan Cox
Signed-off-by: Matthew Garrett -
some messages take 4 bytes, but only fill 3 bytes....
this patch makes sure that whatever we send to the SCU is zeroed firstSigned-off-by: Arjan van de Ven
Signed-off-by: Alan Cox
Signed-off-by: Matthew Garrett -
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
Signed-off-by: Alan Cox
Signed-off-by: Matthew Garrett -
This provides an architecture level board identify function to replace the
cpuid direct usageSigned-off-by: Alan Cox
Signed-off-by: Matthew Garrett -
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
Signed-off-by: Alan Cox
Signed-off-by: Matthew Garrett -
The firmware of production devices does not support this interface so this
is dead code.Signed-off-by: Sreedhara DS
Signed-off-by: Alan Cox
Signed-off-by: Matthew Garrett -
Changes to work on bothMmoorestown and Medfield
New pci id added for Medfield
Return type of ipc_data_readl chnaged from u8 to u32Signed-off-by: Sreedhara DS
Signed-off-by: Alan Cox
Signed-off-by: Matthew Garrett -
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
Signed-off-by: Matthew Garrett
20 Jul, 2010
1 commit
-
- fix reversing of command/sub arguments
- fix a crash if the i2c interface is called before the device is foundSigned-off-by: Sreedhara DS
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds
01 Jun, 2010
1 commit
-
Commands with data must set the length in the message.
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds
18 May, 2010
1 commit
-
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
Signed-off-by: Alan Cox