Commit 9bca19a0 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull i2c updates from Wolfram Sang:

 - mainly feature additions to drivers (stm32f7, qup, xlp9xx, mlxcpld, ...)

 - conversion to use the i2c_8bit_addr_from_msg macro consistently

 - move includes to platform_data

 - core updates to allow the (still in review) I3C subsystem to connect

 - and the regular share of smaller driver updates

* 'i2c/for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (68 commits)
  i2c: qup: fix building without CONFIG_ACPI
  i2c: tegra: Remove suspend-resume
  i2c: imx-lpi2c: Switch to SPDX identifier
  i2c: mxs: Switch to SPDX identifier
  i2c: busses: make use of i2c_8bit_addr_from_msg
  i2c: algos: make use of i2c_8bit_addr_from_msg
  i2c: rcar: document R8A77980 bindings
  i2c: qup: Add command-line parameter to override SCL frequency
  i2c: qup: Correct duty cycle for FM and FM+
  i2c: qup: Add support for Fast Mode Plus
  i2c: qup: add probe path for Centriq ACPI devices
  i2c: robotfuzz-osif: drop pointless test
  i2c: robotfuzz-osif: remove pointless local variable
  i2c: rk3x: Don't print visible virtual mapping MMIO address
  i2c: opal: don't check number of messages in the driver
  i2c: ibm_iic: don't check number of messages in the driver
  i2c: imx: Switch to SPDX identifier
  i2c: mux: pca954x: merge calls to of_match_device and of_device_get_match_data
  i2c: mux: demux-pinctrl: use proper parent device for demux adapter
  i2c: mux: improve error message for failed symlink
  ...
parents 463f2021 53e39628
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ Recommended properties :
- clock-frequency : desired I2C bus clock frequency in Hz.
- ti,has-pfunc: boolean; if defined, it indicates that SoC supports PFUNC
	registers. PFUNC registers allow to switch I2C pins to function as
	GPIOs, so they can by toggled manually.
	GPIOs, so they can be toggled manually.

Example (enbw_cmc board):
	i2c@1c22000 {
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ Required properties:
	"renesas,i2c-r8a7796" if the device is a part of a R8A7796 SoC.
	"renesas,i2c-r8a77965" if the device is a part of a R8A77965 SoC.
	"renesas,i2c-r8a77970" if the device is a part of a R8A77970 SoC.
	"renesas,i2c-r8a77980" if the device is a part of a R8A77980 SoC.
	"renesas,i2c-r8a77995" if the device is a part of a R8A77995 SoC.
	"renesas,rcar-gen1-i2c" for a generic R-Car Gen1 compatible device.
	"renesas,rcar-gen2-i2c" for a generic R-Car Gen2 or RZ/G1 compatible
+1 −3
Original line number Diff line number Diff line
@@ -8,9 +8,7 @@ Required properties:
      (b) "samsung, s3c2440-i2c", for i2c compatible with s3c2440 i2c.
      (c) "samsung, s3c2440-hdmiphy-i2c", for s3c2440-like i2c used
          inside HDMIPHY block found on several samsung SoCs
      (d) "samsung, exynos5440-i2c", for s3c2440-like i2c used
	   on EXYNOS5440 which does not need GPIO configuration.
      (e) "samsung, exynos5-sata-phy-i2c", for s3c2440-like i2c used as
      (d) "samsung, exynos5-sata-phy-i2c", for s3c2440-like i2c used as
	   a host to SATA PHY controller on an internal bus.
  - reg: physical base address of the controller and length of memory mapped
    region.
+4 −0
Original line number Diff line number Diff line
@@ -20,6 +20,10 @@ The next transaction types are supported:
 - Write Byte/Block.

Registers:
CPBLTY		0x0 - capability reg.
			Bits [6:5] - transaction length. b01 - 72B is supported,
			36B in other case.
			Bit 7 - SMBus block read support.
CTRL		0x1 - control reg.
			Resets all the registers.
HALF_CYC	0x4 - cycle reg.
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ Usage
i2c-ocores uses the platform bus, so you need to provide a struct
platform_device with the base address and interrupt number. The
dev.platform_data of the device should also point to a struct
ocores_i2c_platform_data (see linux/i2c-ocores.h) describing the
ocores_i2c_platform_data (see linux/platform_data/i2c-ocores.h) describing the
distance between registers and the input clock speed.
There is also a possibility to attach a list of i2c_board_info which
the i2c-ocores driver will add to the bus upon creation.
Loading