14 Aug, 2020

2 commits

  • Pull i2c updates from Wolfram Sang:

    - bus recovery can now be given a pinctrl handle and the I2C core will
    do all the steps to switch to/from GPIO which can save quite some
    boilerplate code from drivers

    - "fallthrough" conversion

    - driver updates, mostly ID additions

    * 'i2c/for-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (32 commits)
    i2c: iproc: fix race between client unreg and isr
    i2c: eg20t: use generic power management
    i2c: eg20t: Drop PCI wakeup calls from .suspend/.resume
    i2c: mediatek: Fix i2c_spec_values description
    i2c: mediatek: Add i2c compatible for MediaTek MT8192
    dt-bindings: i2c: update bindings for MT8192 SoC
    i2c: mediatek: Add access to more than 8GB dram in i2c driver
    i2c: mediatek: Add apdma sync in i2c driver
    i2c: i801: Add support for Intel Tiger Lake PCH-H
    i2c: i801: Add support for Intel Emmitsburg PCH
    i2c: bcm2835: Replace HTTP links with HTTPS ones
    Documentation: i2c: dev: 'block process call' is supported
    i2c: at91: Move to generic GPIO bus recovery
    i2c: core: treat EPROBE_DEFER when acquiring SCL/SDA GPIOs
    i2c: core: add generic I2C GPIO recovery
    dt-bindings: i2c: add generic properties for GPIO bus recovery
    i2c: rcar: avoid race when unregistering slave
    i2c: tegra: Avoid tegra_i2c_init_dma() for Tegra210 vi i2c
    i2c: tegra: Fix runtime resume to re-init VI I2C
    i2c: tegra: Fix the error path in tegra_i2c_runtime_resume
    ...

    Linus Torvalds
     
  • Pull documentation fixes from Jonathan Corbet:
    "A handful of obvious fixes that wandered in during the merge window"

    * tag 'docs-5.9-2' of git://git.lwn.net/linux:
    Documentation/locking/locktypes: fix the typo
    doc/zh_CN: resolve undefined label warning in admin-guide index
    doc/zh_CN: fix title heading markup in admin-guide cpu-load
    docs: remove the 2.6 "Upgrading I2C Drivers" guide
    docs: Correct the release date of 5.2 stable
    mailmap: Update comments for with format and more detalis
    docs: cdrom: Fix a typo and rst markup
    Doc: admin-guide: use correct legends in kernel-parameters.txt
    Documentation/features: refresh RISC-V arch support files
    documentation: coccinelle: Improve command example for make C={1,2}
    Core-api: Documentation: Replace deprecated :c:func: Usage
    Dev-tools: Documentation: Replace deprecated :c:func: Usage
    Filesystems: Documentation: Replace deprecated :c:func: Usage
    docs: trace: fix a typo

    Linus Torvalds
     

12 Aug, 2020

1 commit

  • All the drivers have long since been upgraded, and all the important
    information here is also included in the "Implementing I2C device
    drivers" guide.

    Signed-off-by: Stephen Kitt
    Reviewed-by: Wolfram Sang
    Link: https://lore.kernel.org/r/20200806161456.8680-1-steve@sk2.org
    Signed-off-by: Jonathan Corbet

    Stephen Kitt
     

05 Aug, 2020

3 commits

  • Add support for SMBus controller on Intel Emmitsburg PCH. This is the
    same IP as used in Cannon Lake and derivatives.

    Signed-off-by: Mika Westerberg
    Signed-off-by: Jarkko Nikula
    Reviewed-by: Jean Delvare
    Signed-off-by: Wolfram Sang

    Mika Westerberg
     
  • And it has been for a while (since 2012 at least), only it was not
    documented. Add it.

    Signed-off-by: Wolfram Sang
    Signed-off-by: Wolfram Sang

    Wolfram Sang
     
  • Pull documentation updates from Jonathan Corbet:
    "It's been a busy cycle for documentation - hopefully the busiest for a
    while to come. Changes include:

    - Some new Chinese translations

    - Progress on the battle against double words words and non-HTTPS
    URLs

    - Some block-mq documentation

    - More RST conversions from Mauro. At this point, that task is
    essentially complete, so we shouldn't see this kind of churn again
    for a while. Unless we decide to switch to asciidoc or
    something...:)

    - Lots of typo fixes, warning fixes, and more"

    * tag 'docs-5.9' of git://git.lwn.net/linux: (195 commits)
    scripts/kernel-doc: optionally treat warnings as errors
    docs: ia64: correct typo
    mailmap: add entry for
    doc/zh_CN: add cpu-load Chinese version
    Documentation/admin-guide: tainted-kernels: fix spelling mistake
    MAINTAINERS: adjust kprobes.rst entry to new location
    devices.txt: document rfkill allocation
    PCI: correct flag name
    docs: filesystems: vfs: correct flag name
    docs: filesystems: vfs: correct sync_mode flag names
    docs: path-lookup: markup fixes for emphasis
    docs: path-lookup: more markup fixes
    docs: path-lookup: fix HTML entity mojibake
    CREDITS: Replace HTTP links with HTTPS ones
    docs: process: Add an example for creating a fixes tag
    doc/zh_CN: add Chinese translation prefer section
    doc/zh_CN: add clearing-warn-once Chinese version
    doc/zh_CN: add admin-guide index
    doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label
    futex: MAINTAINERS: Re-add selftests directory
    ...

    Linus Torvalds
     

13 Jul, 2020

1 commit


04 Jul, 2020

1 commit


19 Jun, 2020

1 commit


21 Apr, 2020

1 commit

  • When generating the PDF output, the Documentation/i2c dir
    will generate an i2c.pdf. The same happens with i2c.svg:
    it will also produce a file with the same name, at the same dir.

    This causes errors when building the PDF output. So, rename the
    image to i2c_bus.svg.

    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Wolfram Sang
    Link: https://lore.kernel.org/r/ecf3d51909ce46b3e84a1df4b36f07d76989e5da.1586881715.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

10 Mar, 2020

1 commit

  • Only few drivers use this call, so drivers and I2C core are converted at
    once with this patch. By simply using i2c_new_client_device() instead of
    i2c_new_device(), we easily can return an ERRPTR for this function as
    well. To make out of tree users aware that something changed, the
    function is renamed to i2c_new_smbus_alert_device().

    Signed-off-by: Wolfram Sang
    Reviewed-by: Luca Ceresoli
    Signed-off-by: Wolfram Sang

    Wolfram Sang
     

30 Jan, 2020

28 commits


16 Jan, 2020

1 commit