02 Sep, 2019

1 commit


19 Jun, 2019

1 commit

  • Based on 2 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation #

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 4122 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Enrico Weigelt
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

18 Feb, 2019

1 commit

  • We now using a common macro for PM operations in Intel LPSS driver,
    and, since that macro relies on the definition and macro from linux/pm.h
    header file, it's logical to include it directly in intel-lpss.h.
    Otherwise it's a bit fragile and requires a proper ordering
    of header inclusion in C files.

    Signed-off-by: Andy Shevchenko
    Acked-by: Mika Westerberg
    Signed-off-by: Lee Jones

    Andy Shevchenko
     

27 Apr, 2017

1 commit


04 Oct, 2016

1 commit

  • Default I2C device properties for Intel Broxton, especially SDA hold time
    may not be enough on Intel Apollo Lake. These properties are used in case
    we don't get timing parameters from ACPI.

    The default SDA hold time for Broxton may fail with arbitration lost errors
    on Apollo Lake:

    i2c_designware i2c_designware.1: i2c_dw_handle_tx_abort: lost arbitration

    Fix this by using different default device properties on Apollo Lake than
    Broxton.

    Reported-by: Paul Liu
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=156181
    Signed-off-by: Jarkko Nikula
    Acked-by: Mika Westerberg
    Signed-off-by: Lee Jones

    Jarkko Nikula
     

09 Apr, 2016

1 commit

  • Since device_add_property_set() now always takes a copy of
    the property_set, and also since the fwnode type is always
    hard coded to be FWNODE_PDATA, there is no need for the
    drivers to deliver the entire struct property_set. The
    function can just create the instance of it on its own and
    bind the properties from the drivers to it on the spot.

    This renames device_add_property_set() to
    device_add_properties(). The function now takes struct
    property_entry as its parameter instead of struct
    property_set.

    Reviewed-by: Andy Shevchenko
    Reviewed-by: Mika Westerberg
    Acked-by: Thierry Reding
    Acked-by: Lee Jones
    Signed-off-by: Heikki Krogerus
    Signed-off-by: Rafael J. Wysocki

    Heikki Krogerus
     

16 Mar, 2016

1 commit

  • I2C host controller need to be configured properly in order to meet I2C
    timings specified in the I2C protocol specification. Some Intel Broxton
    based machines do not have this information in the ACPI namespace (or the
    boot firmware does not support ACPI at all) so we use build-in device
    properties instead.

    Signed-off-by: Mika Westerberg
    Signed-off-by: Andy Shevchenko
    Signed-off-by: Lee Jones

    Mika Westerberg
     

07 Dec, 2015

1 commit

  • Intel Skylake the LPSS I2C pad circuit has internal delays that require
    programming non-zero SDA hold time for the I2C host controller. If this is
    not done communication to slave devices may fail with arbitration lost
    errors like the one seen below taken from Lenovo Yoga 900:

    i2c_hid i2c-SYNA2B29:00: Fetching the HID descriptor
    i2c_hid i2c-SYNA2B29:00: __i2c_hid_command: cmd=20 00
    i2c_designware i2c_designware.1: i2c_dw_handle_tx_abort: lost arbitration

    To fix this we follow what the Windows driver is doing and pass the default
    SDA hold time of 230 ns to all Intel Skylake host controllers. This still
    allows the platform to override these values by passing special ACPI
    methods SSCN and FMCN.

    Reported-by: Kevin Fenzi
    Signed-off-by: Mika Westerberg
    Signed-off-by: Andy Shevchenko
    Signed-off-by: Rafael J. Wysocki

    Mika Westerberg
     

31 Oct, 2015

1 commit


28 Jul, 2015

1 commit

  • The new coming Intel platforms such as Skylake will contain Sunrisepoint PCH.
    The main difference to the previous platforms is that the LPSS devices are
    compound devices where usually main (SPI, HSUART, or I2C) and DMA IPs are
    present.

    This patch brings the driver for such devices found on Sunrisepoint PCH.

    Signed-off-by: Mika Westerberg
    Signed-off-by: Andy Shevchenko
    Signed-off-by: Lee Jones

    Andy Shevchenko