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

    Feng Tang
     

19 Oct, 2010

1 commit


25 May, 2010

1 commit

  • There are 2 major changes from v0.81 to v0.7:
    1. Consolidating the SPIB/I2CB tables into a new DEVS table,
    which is more expandable and can support other bus types
    than spi/i2c.
    2. Creating a new GPIO table, which list all the GPIO pins
    used in the platform.

    However, to avoid breaking current platforms who use SFI v0.7
    version firmware, the definitions for SPIB/I2CB will still
    be kept for a while

    Signed-off-by: Feng Tang
    Signed-off-by: Len Brown

    Feng Tang
     

29 Aug, 2009

1 commit

  • include/linux/include/sfi.h defines everything that customers
    of SFI need to know in order to use the SFI suport in the kernel.

    The primary API is sfi_table_parse(), where a driver or another part
    of the kernel can supply a handler to parse the named table.

    sfi.h also includes the currently defined table signatures and table
    formats.

    Signed-off-by: Feng Tang
    Signed-off-by: Len Brown

    Feng Tang