17 Sep, 2018

6 commits

  • These comments were copied from the Linux kernel driver in
    drivers/platform/x86/intel_scu_ipc.c

    Signed-off-by: Georgii Staroselskii
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Bin Meng

    Georgii Staroselskii
     
  • Now that we have I2C#6 working, it's time to add a corresponsing
    ACPI binding.

    Signed-off-by: Georgii Staroselskii
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Bin Meng

    Georgii Staroselskii
     
  • Now that we have the pinctrl driver for Merrifield in place we can make
    use of it and set I2C#6 pins appropriately.

    Initial configuration came from the firmware. Which quite likely has
    been used in the phones, where that is not part of Atom peripheral, is
    in use. Thus we need to override the leftover.

    Signed-off-by: Georgii Staroselskii
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Bin Meng

    Georgii Staroselskii
     
  • This API is going to be used to configure some pins that are protected
    for simple modification.

    It's not a comprehensive pinctrl driver but can be turned into one
    when we need this in the future. Now it is planned to be used only
    in one place. So that's why I decided not to pollute the codebase with a
    full-blown pinctrl-merrifield nobody will use.

    This driver reads corresponding fields in DT and configures pins
    accordingly.

    The "protected" flag is used to distinguish configuration of SCU-owned
    pins from the ordinary ones.

    The code has been adapted from Linux work done by Andy Shevchenko
    in pinctrl-merrfifield.c

    Signed-off-by: Georgii Staroselskii
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Bin Meng
    [bmeng: fix build warning]
    Signed-off-by: Bin Meng

    Georgii Staroselskii
     
  • This interface will be used to configure properly some pins on
    Merrifield that are shared with SCU.

    scu_ipc_raw_command() writes SPTR and DPTR registers before sending
    a command to SCU.

    This code has been ported from Linux work done by Andy Shevchenko.

    Signed-off-by: Georgii Staroselskii
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Bin Meng

    Georgii Staroselskii
     
  • This will add support for a baud rate of 57600.

    Signed-off-by: Christian Gmeiner
    Reviewed-by: Bin Meng

    Christian Gmeiner
     

15 Sep, 2018

3 commits


14 Sep, 2018

3 commits


12 Sep, 2018

24 commits


11 Sep, 2018

4 commits