13 Jul, 2016

1 commit

  • SFI specification v0.8.2 defines type of devices which are connected to
    SD bus. In particularly WiFi dongle is a such.

    Add a callback to enumerate the devices connected to SD bus.

    Signed-off-by: Andy Shevchenko
    Cc: Bjorn Helgaas
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/1468322192-62080-1-git-send-email-andriy.shevchenko@linux.intel.com
    Signed-off-by: Ingo Molnar

    Andy Shevchenko
     

18 Oct, 2013

1 commit

  • As Intel rolling out more SoC's after Moorestown, we need to
    re-structure the code in a way that is backward compatible and easy to
    expand. This patch implements a flexible way to support multiple boards
    and devices.

    This patch does not add any new functional support. It just refactors
    the existing code to increase the modularity and decrease the code
    duplication for supporting multiple soc's and boards.

    Currently intel-mid.c has both board and soc related code in one file.
    This patch moves the board related code to new files and let linker
    script to create SFI devite table following this:

    1. Move the SFI device specific code to
    arch/x86/platform/intel-mid/device-libs/platform_.*
    A new device file is added for every supported device. This code will
    get conditionally compiled by using corresponding device driver
    CONFIG option.

    2. Move the device_ids location to .x86_intel_mid_dev.init section by
    using new sfi_device() macro.

    This patch was based on previous code from Sathyanarayanan Kuppuswamy.

    Signed-off-by: Kuppuswamy Sathyanarayanan
    Link: http://lkml.kernel.org/r/1382049336-21316-13-git-send-email-david.a.cohen@linux.intel.com
    Signed-off-by: David Cohen
    Signed-off-by: H. Peter Anvin

    David Cohen
     

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