Commit bb7a3fc2 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull i2c updates from Wolfram Sang:
 - core: cleaner fwnode usage
 - tegra: timing improvements and Tegra264 support
 - lpi2c: fix SMBus block read NACK after byte count
 - amd-mp2, designware, mlxbf, rtl9300, spacemit, tegra: cleanups
 - designware:
    - use a dedicated algorithm for AMD Navi
    - replace magic numbers with named constants
    - replace min_t() with min() to avoid u8 truncation
    - refactor core to enable mode switching
 - imx-lpi2c: add runtime PM support for IRQ and clock handling
 - lan9691-i2c: add new driver
 - rtl9300: use OF helpers directly and avoid fwnode handling
 - spacemit: add bus reset support
 - units: add HZ_PER_GHZ and use it in several i2c drivers
 - at24 i2c eeprom:
    - add a set of new compatibles to DT bindings
    - use dev_err_probe() consistently in the driver

* tag 'i2c-for-7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (46 commits)
  i2c: imx-lpi2c: fix SMBus block read NACK after byte count
  i2c: designware: Remove an unnecessary condition
  i2c: designware: Enable mode swapping
  i2c: designware: Combine the init functions
  i2c: designware: Combine some of the common functions
  i2c: designware: Use device_is_compatible() instead of custom approach
  dt-bindings: eeprom: at24: Add compatible for Puya P24C128F
  drivers/i2c/busses: use min() instead of min_t()
  i2c: imx-lpi2c: Add runtime PM support for IRQ and clock management on i.MX8QXP/8QM
  i2c: amd-mp2: clean up amd_mp2_find_device()
  i2c: designware: Replace magic numbers with named constants
  i2c: rtl9300: use of instead of fwnode
  i2c: rtl9300: remove const cast
  i2c: tegra: remove unused rst
  i2c: designware: Remove not-going-to-be-supported code for Baikal SoC
  i2c: spacemit: drop useless spaces
  i2c: mlxbf: Use HZ_PER_KHZ in the driver
  i2c: mlxbf: Remove unused bus speed definitions
  i2c: core: Use dev_fwnode()
  i2c: core: Replace custom implementation of device_match_fwnode()
  ...
parents 348e77b8 efdc383d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -116,6 +116,7 @@ properties:
          - const: atmel,24c02
      - items:
          - enum:
              - belling,bl24c04a
              - giantec,gt24c04a
              - onnn,cat24c04
              - onnn,cat24c05
@@ -124,6 +125,7 @@ properties:
      - items:
          - enum:
              - belling,bl24c16a
              - belling,bl24c16f
              - renesas,r1ex24016
          - const: atmel,24c16
      - items:
@@ -132,6 +134,7 @@ properties:
      - items:
          - enum:
              - belling,bl24s64
              - giantec,gt24p64a
              - onnn,n24s64b
              - puya,p24c64f
          - const: atmel,24c64
@@ -139,6 +142,7 @@ properties:
          - enum:
              - giantec,gt24p128e
              - giantec,gt24p128f
              - puya,p24c128f
              - renesas,r1ex24128
              - samsung,s524ad0xd1
          - const: atmel,24c128
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ properties:
              - microchip,sam9x60-i2c
      - items:
          - enum:
              - microchip,lan9691-i2c
              - microchip,sama7d65-i2c
              - microchip,sama7g5-i2c
              - microchip,sam9x7-i2c
+1 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ properties:
          - enum:
              - mediatek,mt6878-i2c
              - mediatek,mt6991-i2c
              - mediatek,mt8189-i2c
              - mediatek,mt8196-i2c
          - const: mediatek,mt8188-i2c
      - items:
+3 −0
Original line number Diff line number Diff line
@@ -41,6 +41,9 @@ properties:
    default: 400000
    maximum: 3300000

  resets:
    maxItems: 1

required:
  - compatible
  - reg
+2 −9
Original line number Diff line number Diff line
@@ -569,24 +569,17 @@ config I2C_DESIGNWARE_CORE
	help
	  This option enables support for the Synopsys DesignWare I2C adapter.
	  This driver includes support for the I2C host on the Synopsys
	  Designware I2C adapter.
	  Designware I2C adapter, and the I2C slave when enabled (select
	  I2C_SLAVE).

	  To compile the driver as a module, choose M here: the module will be
	  called i2c-designware-core.

if I2C_DESIGNWARE_CORE

config I2C_DESIGNWARE_SLAVE
	bool "Synopsys DesignWare Slave"
	select I2C_SLAVE
	help
	  If you say yes to this option, support will be included for the
	  Synopsys DesignWare I2C slave adapter.

config I2C_DESIGNWARE_PLATFORM
	tristate "Synopsys DesignWare Platform driver"
	depends on (ACPI && COMMON_CLK) || !ACPI
	select MFD_SYSCON if MIPS_BAIKAL_T1
	default I2C_DESIGNWARE_CORE
	help
	  If you say yes to this option, support will be included for the
Loading