08 Feb, 2020

2 commits

  • Pull i2c updates from Wolfram Sang:
    "i2c core:

    - huge improvements and refactorizations of the Linux I2C
    documentation (lots of thanks to Luca for doing it and Jean for the
    careful review)

    - subsystem wide API conversion to i2c_new_client_device()

    - remove obsolete parport-light driver

    - smaller core updates (removal of 'extern', enabling more compile
    testing, use more helper macros)

    - and quite a bunch of driver updates (new IDs, simplifications,
    better PM, support of atomic transfers and other improvements)

    i2c-mux:

    - The main feature is the idle-state rework of the pca954x driver
    from Biwen Li

    at24 driver:

    - minor maintenance: update the license tag, sort headers

    - move support for the write-protect pin into nvmem core

    - add a reference to the new wp-gpios property in nvmem to at25
    bindings

    - add support for regulator and pm_runtime control"

    * 'i2c/for-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (91 commits)
    i2c: cros-ec-tunnel: Fix ACPI identifier
    i2c: cros-ec-tunnel: Fix slave device enumeration
    i2c: stm32f7: add PM_SLEEP suspend/resume support
    i2c: cadence: Fix wording in i2c-cadence driver
    i2c: cadence: Fix power management order of operations
    i2c: cadence: Fix error printing in case of defer
    i2c: cadence: Handle transfer_size rollover
    i2c: i801: Add support for Intel Comet Lake PCH-V
    docs: i2c: writing-clients: properly name the stop condition
    docs: i2c: i2c-protocol: use same wording as smbus-protocol
    docs: i2c: rename sections so the overall picture is clearer
    docs: i2c: old-module-parameters: use monospace instead of ""
    docs: i2c: old-module-parameters: clarify this is for obsolete kernels
    docs: i2c: old-module-parameters: fix internal hyperlink
    docs: i2c: instantiating-devices: use monospace for sysfs attributes
    docs: i2c: instantiating-devices: rearrange static instatiation
    docs: i2c: instantiating-devices: fix internal hyperlink
    docs: i2c: smbus-protocol: improve I2C Block transactions description
    docs: i2c: smbus-protocol: fix punctuation
    docs: i2c: smbus-protocol: fix typo
    ...

    Linus Torvalds
     
  • Pull more ACPI updates from Rafael Wysocki:
    "Add Hisilicon Hip08-Lite I2C controller clock frequency support to the
    ACPI driver for AMD SoCs (APD) and to the Designware I2C driver
    (Hanjun Guo)"

    * tag 'acpi-5.6-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    i2c: designware: Add ACPI HID for Hisilicon Hip08-Lite I2C controller
    ACPI / APD: Add clock frequency for Hisilicon Hip08-Lite I2C controller

    Linus Torvalds
     

04 Feb, 2020

1 commit

  • 'PTR_ERR(p) == -E*' is a stronger condition than IS_ERR(p).
    Hence, IS_ERR(p) is unneeded.

    The semantic patch that generates this commit is as follows:

    //
    @@
    expression ptr;
    constant error_code;
    @@
    -IS_ERR(ptr) && (PTR_ERR(ptr) == - error_code)
    +PTR_ERR(ptr) == - error_code
    //

    Link: http://lkml.kernel.org/r/20200106045833.1725-1-masahiroy@kernel.org
    Signed-off-by: Masahiro Yamada
    Cc: Julia Lawall
    Acked-by: Stephen Boyd [drivers/clk/clk.c]
    Acked-by: Bartosz Golaszewski [GPIO]
    Acked-by: Wolfram Sang [drivers/i2c]
    Acked-by: Rafael J. Wysocki [acpi/scan.c]
    Acked-by: Rob Herring
    Cc: Eric Biggers
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Masahiro Yamada
     

03 Feb, 2020

1 commit


31 Jan, 2020

2 commits

  • The initial patch was using the incorrect identifier.

    Fixes: 9af1563a5486 ("i2c: cros-ec-tunnel: Make the device acpi compatible")
    Signed-off-by: Raul E Rangel
    Acked-by: Enric Balletbo i Serra
    Signed-off-by: Wolfram Sang

    Raul E Rangel
     
  • During adding of the adapter the slave device registration
    use to fail as the acpi companion field was not populated.

    Fixes: 9af1563a5486 ("i2c: cros-ec-tunnel: Make the device acpi compatible")
    Signed-off-by: Akshu Agrawal
    Acked-by: Raul E Rangel
    Reviewed-by: Enric Balletbo i Serra
    Signed-off-by: Wolfram Sang

    Akshu Agrawal
     

30 Jan, 2020

9 commits


28 Jan, 2020

1 commit


23 Jan, 2020

2 commits

  • Update the help text to reflect current support devices:
    1. The Exynos high speed I2C driver supports Exynos5 (ARMv7), Exynos5433
    and Exynos7 (both ARMv8) SoCs,
    2. The S3C I2C driver supports S3C, S5Pv210 and Exynos{3,4,5} SoCs.

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Wolfram Sang

    Krzysztof Kozlowski
     
  • Some of the I2C bus drivers can be compile tested to increase build
    coverage. This requires also:
    1. Adding dependencies on COMMON_CLK for BCM2835 and Meson I2C
    controllers,
    2. Adding 'if' conditional to 'default y' so they will not get enabled
    by default on all other architectures,
    3. Limiting few compile test options to supported architectures (which
    provide the readsX()/writesX() primitives).

    Signed-off-by: Krzysztof Kozlowski
    [wsa: revert chunk for ZX2967. it needs more preparation]
    Signed-off-by: Wolfram Sang

    Krzysztof Kozlowski
     

16 Jan, 2020

22 commits