linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PULL REQUEST] i2c for 4.13
@ 2017-07-12 15:49 Wolfram Sang
  2017-07-12 15:54 ` Wolfram Sang
  2017-07-12 17:16 ` Linus Torvalds
  0 siblings, 2 replies; 12+ messages in thread
From: Wolfram Sang @ 2017-07-12 15:49 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-i2c, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 9997 bytes --]

Linus,

here is my first pull request this merge window for the I2C subsystem. A
little later than usual but we needed to sort out one real build problem
and then a few false positives from buildbot. But now everything seems
in order. This pull request contains:

* i2c core reorganization. One source file became too monolithic. It is
  now split up, yet we still have the same named object as the final
  output. This should ease maintenance.
* new drivers: ZTE ZX2967 family, ASPEED 24XX/25XX,
* designware driver gained slave mode support
* xgene-slimpro driver gained ACPI support
* bigger overhaul for pca-platform driver
* the algo-bit module now supports messages with enforced STOP
* slightly bigger than usual set of driver updates and improvements

Please pull.

Thanks,

   Wolfram


The following changes since commit 5ed02dbb497422bf225783f46e6eadd237d23d6b:

  Linux 4.12-rc3 (2017-05-28 17:20:53 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-4.13

for you to fetch changes up to 8f1a357d41a22009150cf404b5aa5876efdb59b1:

  i2c: Provide a stub for i2c_detect_slave_mode() (2017-07-08 21:51:43 +0200)

----------------------------------------------------------------
Andy Shevchenko (1):
      i2c: Provide a stub for i2c_detect_slave_mode()

Arnd Bergmann (1):
      i2c: xgene-slimpro: include linux/io.h for memremap

Arvind Yadav (3):
      i2c: at91: Handle return value of clk_prepare_enable
      i2c: at91: Fix compilation warning.
      i2c: emev2: Handle return value of clk_prepare_enable

Baoyou Xie (2):
      dt: bindings: add documentation for zx2967 family i2c controller
      i2c: zx2967: add i2c controller driver for ZTE's zx2967 family

Brendan Higgins (4):
      i2c: aspeed: added documentation for Aspeed I2C driver
      i2c: aspeed: added driver for Aspeed I2C
      i2c: aspeed: added slave support for Aspeed I2C driver
      MAINTAINERS: add entry for Aspeed I2C driver

Chris Packham (7):
      dt-bindings: add bindings for i2c-pca-platform
      i2c: pca-platform: switch to struct gpio_desc
      i2c: pca-platform: add devicetree awareness
      i2c: pca-platform: use device managed allocations
      i2c: pca-platform: use dev_warn/dev_info instead of printk
      i2c: pca-platform: correctly set algo_data.reset_chip
      i2c: pca-platform: propagate error from i2c_pca_add_numbered_bus

Colin Ian King (1):
      i2c: designware: fix spelling mistakes

George Cherian (1):
      i2c: xlp9xx: Enable HWMON class probing for xlp9xx

Hans de Goede (1):
      i2c: acpi: Do not create i2c-clients for LNXVIDEO ACPI devices

Hoan Tran (2):
      i2c: xgene-slimpro: Use a single function to send command message
      i2c: xgene-slimpro: Add ACPI support by using PCC mailbox

Jarkko Nikula (2):
      i2c: designware: Make HW init functions static
      i2c: designware: Let slave adapter support be optional

Jean Delvare (1):
      i2c: algo-bit: add support for I2C_M_STOP

Luis Oliveira (6):
      i2c: designware: Cleaning and comment style fixes.
      i2c: designware: refactoring of the i2c-designware
      i2c: designware: MASTER mode as separated driver
      i2c: designware: introducing I2C_SLAVE definitions
      i2c: designware: add SLAVE mode functions
      i2c: designware: enable SLAVE in platform module

Matt Weber (1):
      i2c: cadance: fix ctrl/addr reg write order

Michael Thalmeier (1):
      i2c: mxs: change error printing to debug for mxs_i2c_pio_wait_xfer_end

Shawn Guo (1):
      i2c: zx2967: drop COMPILE_TEST dependency

Srinivas Pandruvada (1):
      i2c: i801: Add support for Intel Cannon Lake

Wolfram Sang (15):
      i2c: rename core source file to allow refactorization
      i2c: break out slave support into separate file
      i2c: break out smbus support into separate file
      i2c: break out OF support into separate file
      i2c: break out ACPI support into separate file
      docs: i2c: dev-interface: adapt to new filenames of the i2c core
      i2c: remove unneeded includes from core
      i2c: reformat core-base file header
      i2c: stub: use pr_fmt
      i2c: sh_mobile: remove platform_data
      i2c: sh_mobile: drop needless check for of_node
      i2c: stub: fix build warning regression
      i2c: use proper name for the R-Car SoC
      i2c: rcar: document HW incapabilities
      i2c: zx2967: always use the same device when printing errors


with much appreciated quality assurance from
----------------------------------------------------------------
Andy Shevchenko (17):
      (Rev.) i2c: designware: Let slave adapter support be optional
      (Rev.) i2c: designware: Make HW init functions static
      (Rev.) i2c: pca-platform: propagate error from i2c_pca_add_numbered_bus
      (Rev.) i2c: pca-platform: correctly set algo_data.reset_chip
      (Rev.) i2c: acpi: Do not create i2c-clients for LNXVIDEO ACPI devices
      (Rev.) i2c: designware: enable SLAVE in platform module
      (Rev.) i2c: designware: add SLAVE mode functions
      (Rev.) i2c: zx2967: add i2c controller driver for ZTE's zx2967 family
      (Rev.) i2c: designware: introducing I2C_SLAVE definitions
      (Rev.) i2c: designware: Cleaning and comment style fixes.
      (Rev.) i2c: remove unneeded includes from core
      (Rev.) docs: i2c: dev-interface: adapt to new filenames of the i2c core
      (Rev.) i2c: break out ACPI support into separate file
      (Rev.) i2c: break out OF support into separate file
      (Rev.) i2c: break out smbus support into separate file
      (Rev.) i2c: break out slave support into separate file
      (Rev.) i2c: rename core source file to allow refactorization

Geert Uytterhoeven (2):
      (Rev.) i2c: sh_mobile: drop needless check for of_node
      (Rev.) i2c: sh_mobile: remove platform_data

Hoan Tran (1):
      (Rev.) i2c: xgene-slimpro: include linux/io.h for memremap

Jean Delvare (1):
      (Rev.) i2c: stub: use pr_fmt

Jun Nie (1):
      (Rev.) i2c: zx2967: add i2c controller driver for ZTE's zx2967 family

Luis Oliveira (2):
      (Test) i2c: designware: Let slave adapter support be optional
      (Test) i2c: designware: Make HW init functions static

Mika Westerberg (2):
      (Rev.) i2c: break out ACPI support into separate file
      (Rev.) i2c: rename core source file to allow refactorization

Wolfram Sang (2):
      (Test) i2c: algo-bit: add support for I2C_M_STOP
      (Test) i2c: at91: Fix compilation warning.

 .../devicetree/bindings/i2c/i2c-aspeed.txt         |   48 +
 .../devicetree/bindings/i2c/i2c-designware.txt     |   16 +-
 .../devicetree/bindings/i2c/i2c-pca-platform.txt   |   29 +
 .../devicetree/bindings/i2c/i2c-zx2967.txt         |   22 +
 Documentation/driver-api/i2c.rst                   |    5 +-
 Documentation/i2c/busses/i2c-i801                  |    2 +
 Documentation/i2c/dev-interface                    |   14 +-
 MAINTAINERS                                        |   13 +
 drivers/i2c/Makefile                               |    7 +-
 drivers/i2c/algos/i2c-algo-bit.c                   |   13 +-
 drivers/i2c/busses/Kconfig                         |   34 +-
 drivers/i2c/busses/Makefile                        |    6 +
 drivers/i2c/busses/i2c-aspeed.c                    |  891 +++++++++++
 drivers/i2c/busses/i2c-at91.c                      |   16 +-
 drivers/i2c/busses/i2c-cadence.c                   |    6 +-
 drivers/i2c/busses/i2c-designware-common.c         |  281 ++++
 drivers/i2c/busses/i2c-designware-core.h           |  182 ++-
 ...c-designware-core.c => i2c-designware-master.c} |  474 +-----
 drivers/i2c/busses/i2c-designware-pcidrv.c         |    9 +-
 drivers/i2c/busses/i2c-designware-platdrv.c        |  117 +-
 drivers/i2c/busses/i2c-designware-slave.c          |  393 +++++
 drivers/i2c/busses/i2c-emev2.c                     |    4 +-
 drivers/i2c/busses/i2c-i801.c                      |    8 +
 drivers/i2c/busses/i2c-mxs.c                       |    6 +-
 drivers/i2c/busses/i2c-pca-platform.c              |  133 +-
 drivers/i2c/busses/i2c-rcar.c                      |    9 +-
 drivers/i2c/busses/i2c-sh_mobile.c                 |   27 +-
 drivers/i2c/busses/i2c-xgene-slimpro.c             |  242 ++-
 drivers/i2c/busses/i2c-xlp9xx.c                    |    1 +
 drivers/i2c/busses/i2c-zx2967.c                    |  609 +++++++
 drivers/i2c/i2c-core-acpi.c                        |  665 ++++++++
 drivers/i2c/{i2c-core.c => i2c-core-base.c}        | 1684 +-------------------
 drivers/i2c/i2c-core-of.c                          |  276 ++++
 drivers/i2c/i2c-core-slave.c                       |  115 ++
 drivers/i2c/i2c-core-smbus.c                       |  594 +++++++
 drivers/i2c/i2c-core.h                             |   24 +
 drivers/i2c/i2c-stub.c                             |   14 +-
 include/linux/i2c.h                                |    2 +
 include/linux/i2c/i2c-sh_mobile.h                  |   11 -
 include/trace/events/i2c.h                         |  226 +--
 include/trace/events/smbus.h                       |  249 +++
 41 files changed, 4969 insertions(+), 2508 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-aspeed.txt
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-pca-platform.txt
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-zx2967.txt
 create mode 100644 drivers/i2c/busses/i2c-aspeed.c
 create mode 100644 drivers/i2c/busses/i2c-designware-common.c
 rename drivers/i2c/busses/{i2c-designware-core.c => i2c-designware-master.c} (59%)
 create mode 100644 drivers/i2c/busses/i2c-designware-slave.c
 create mode 100644 drivers/i2c/busses/i2c-zx2967.c
 create mode 100644 drivers/i2c/i2c-core-acpi.c
 rename drivers/i2c/{i2c-core.c => i2c-core-base.c} (58%)
 create mode 100644 drivers/i2c/i2c-core-of.c
 create mode 100644 drivers/i2c/i2c-core-slave.c
 create mode 100644 drivers/i2c/i2c-core-smbus.c
 delete mode 100644 include/linux/i2c/i2c-sh_mobile.h
 create mode 100644 include/trace/events/smbus.h

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PULL REQUEST] i2c for 4.13
@ 2017-08-09 19:29 Wolfram Sang
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfram Sang @ 2017-08-09 19:29 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-i2c, linux-kernel, Peter Rosin

[-- Attachment #1: Type: text/plain, Size: 2261 bytes --]

Linus,

here is a pull request from I2C. The main thing is to allow empty
id_tables for ACPI to make some drivers get probed again. It looks a bit
bigger than usual because it needs some internal renaming, too. Other
than that, there is a fix for broken DSTDs, a super simple enablement
for ARM MPS, and two documentation fixes which I'd like to see in v4.13
already. Please pull.

Thanks,

   Wolfram


The following changes since commit 16f73eb02d7e1765ccab3d2018e0bd98eb93d973:

  Linux 4.13-rc3 (2017-07-30 12:40:36 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current

for you to fetch changes up to 9c80034921d1ece5c0e3241ba1645bce32387684:

  i2c: rephrase explanation of I2C_CLASS_DEPRECATED (2017-07-31 17:33:53 +0200)

----------------------------------------------------------------
Andy Shevchenko (1):
      i2c: core: Allow empty id_table in ACPI case as well

Chris Gorman (1):
      i2c: mux: pinctrl: mention correct module name in Kconfig help text

Hans de Goede (2):
      i2c: designware: Print clock freq on invalid clock freq error
      i2c: designware: Some broken DSTDs use 1MiHz instead of 1MHz

Russell King (1):
      i2c: allow i2c-versatile for ARM MPS platforms

Wolfram Sang (2):
      Merge branch 'i2c-mux/for-current' of https://github.com/peda-r/i2c-mux into i2c/for-current
      i2c: rephrase explanation of I2C_CLASS_DEPRECATED


with much appreciated quality assurance from
----------------------------------------------------------------
Andy Shevchenko (2):
      (Rev.) i2c: designware: Some broken DSTDs use 1MiHz instead of 1MHz
      (Rev.) i2c: designware: Print clock freq on invalid clock freq error

Rajmohan Mani (1):
      (Test) i2c: core: Allow empty id_table in ACPI case as well

 drivers/i2c/busses/Kconfig                  |  2 +-
 drivers/i2c/busses/i2c-designware-platdrv.c |  6 +++++-
 drivers/i2c/i2c-core-acpi.c                 | 19 +++++++++++++++----
 drivers/i2c/i2c-core-base.c                 |  1 +
 drivers/i2c/i2c-core.h                      |  9 +++++++++
 drivers/i2c/muxes/Kconfig                   |  2 +-
 include/linux/i2c.h                         |  3 ++-
 7 files changed, 34 insertions(+), 8 deletions(-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PULL REQUEST] i2c for 4.13
@ 2017-08-25 14:30 Wolfram Sang
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfram Sang @ 2017-08-25 14:30 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-i2c, linux-kernel, Peter Rosin

[-- Attachment #1: Type: text/plain, Size: 2046 bytes --]

Linus,

I2C has some bugfixes for you: mainly Jarkko fixed up a few things in
the designware driver regarding the new slave mode. But Ulf also fixed a
long-standing and now agreed suspend problem. Plus, some simple stuff
which nonetheless needs fixing.

Please pull.

Thanks,

   Wolfram


The following changes since commit ef954844c7ace62f773f4f23e28d2d915adc419f:

  Linux 4.13-rc5 (2017-08-13 16:01:32 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current

for you to fetch changes up to 2a86cdd2e7d3c75580f41f89f9b9211e225573cc:

  i2c: designware: Fix runtime PM for I2C slave mode (2017-08-17 17:55:29 +0200)

----------------------------------------------------------------
Anton Vasilyev (1):
      i2c: simtec: use release_mem_region instead of release_resource

Brendan Higgins (1):
      i2c: aspeed: fixed potential null pointer dereference

Jarkko Nikula (4):
      i2c: designware: Fix oops from i2c_dw_irq_handler_slave
      i2c: designware: Fix standard mode speed when configuring the slave mode
      i2c: designware: Remove needless pm_runtime_put_noidle() call
      i2c: designware: Fix runtime PM for I2C slave mode

Javier Martinez Canillas (1):
      i2c: core: Make comment about I2C table requirement to reflect the code

Ulf Hansson (1):
      i2c: designware: Fix system suspend


with much appreciated quality assurance from
----------------------------------------------------------------
Jarkko Nikula (1):
      (Test) i2c: designware: Fix system suspend

John Stultz (1):
      (Test) i2c: designware: Fix system suspend

Mika Westerberg (1):
      (Rev.) i2c: designware: Fix system suspend

 drivers/i2c/busses/i2c-aspeed.c             |  5 +++--
 drivers/i2c/busses/i2c-designware-platdrv.c | 17 +++++++++++++----
 drivers/i2c/busses/i2c-designware-slave.c   |  6 ++++--
 drivers/i2c/busses/i2c-simtec.c             |  6 ++----
 drivers/i2c/i2c-core-base.c                 |  4 ++--
 5 files changed, 24 insertions(+), 14 deletions(-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PULL REQUEST] i2c for 4.13
@ 2017-09-01 21:40 Wolfram Sang
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfram Sang @ 2017-09-01 21:40 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-i2c, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1418 bytes --]

Linus,

I2C has two bugfixes for you: the ismt driver had a problem with a rarely
used transaction type and the designware driver was made even more
robust against non standard ACPI tables.

Please pull.

Thanks,

   Wolfram


The following changes since commit cc4a41fe5541a73019a864883297bd5043aa6d98:

  Linux 4.13-rc7 (2017-08-27 17:20:40 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current

for you to fetch changes up to 231d069fcde22bd0582c2c9564f1b334d280c7d7:

  i2c: designware: Round down ACPI provided clk to nearest supported clk (2017-08-31 20:27:39 +0200)

----------------------------------------------------------------
Hans de Goede (1):
      i2c: designware: Round down ACPI provided clk to nearest supported clk

Stephen Douthit (2):
      i2c: ismt: Don't duplicate the receive length for block reads
      i2c: ismt: Return EMSGSIZE for block reads with bogus length


with much appreciated quality assurance from
----------------------------------------------------------------
Dan Priamo (2):
      (Test) i2c: ismt: Return EMSGSIZE for block reads with bogus length
      (Test) i2c: ismt: Don't duplicate the receive length for block reads

 drivers/i2c/busses/i2c-designware-platdrv.c | 16 ++++++++++++----
 drivers/i2c/busses/i2c-ismt.c               |  6 ++++--
 2 files changed, 16 insertions(+), 6 deletions(-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-09-01 21:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-12 15:49 [PULL REQUEST] i2c for 4.13 Wolfram Sang
2017-07-12 15:54 ` Wolfram Sang
2017-07-12 17:16 ` Linus Torvalds
2017-07-13  7:56   ` Uwe Kleine-König
2017-07-13 20:57     ` Peter Rosin
2017-07-13 21:05       ` Linus Torvalds
2017-07-13 21:41         ` Peter Rosin
2017-07-13 10:03   ` Wolfram Sang
2017-07-13 10:50     ` Wolfram Sang
2017-08-09 19:29 Wolfram Sang
2017-08-25 14:30 Wolfram Sang
2017-09-01 21:40 Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).