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

 - mostly driver updates. Bigger ones for mlxcpld and iproc. But most of
   them are all over the place.

 - removal of the efm32, sirf, u300, and zte zx bus drivers because of
   platform removal. So, we have a pleasant diffstat this time.

 - first set of cleanups in the I2C core as preparation to increase
   maximum length of SMBus transfers to 255 (as specified in the new
   standard). Better documentation of struct i2c_msg and its flags stand
   out here.

 - the testunit can now respond to SMBus block process calls which is
   the testcase when implementing the above new maximum length.

* 'i2c/for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (62 commits)
  i2c: remove redundant error print in stm32f7_i2c_probe
  i2c: testunit: add support for block process calls
  i2c: busses: Replace spin_lock_irqsave with spin_lock in hard IRQ
  dt-bindings: eeprom: at24: Document ROHM BR24G01
  i2c: i801: Add support for Intel Alder Lake PCH-P
  i2c: mv64xxx: Fix check for missing clock after adding RPM
  i2c: mux: mlxcpld: Add callback to notify mux creation completion
  i2c: mux: mlxcpld: Extend supported mux number
  i2c: mux: mlxcpld: Extend driver to support word address space devices
  i2c: mux: mlxcpld: Get rid of adapter numbers enforcement
  i2c: mux: mlxcpld: Prepare mux selection infrastructure for two-byte support
  i2c: mux: mlxcpld: Convert driver to platform driver
  i2c: imx: Synthesize end of transaction events without idle interrupts
  i2c: i2c-qcom-geni: Add shutdown callback for i2c
  i2c: mv64xxx: Add runtime PM support
  i2c: amd-mp2: Remove unused macro
  i2c: amd-mp2: convert to PCI logging functions
  i2c: mux: mlxcpld: Move header file out of x86 realm
  platform/x86: mlxcpld: Update module license
  i2c: mux: mlxcpld: Update module license
  ...
parents a26a9d8a 0b16cfd9
Loading
Loading
Loading
Loading
+6 −3
Original line number Original line Diff line number Diff line
@@ -95,9 +95,6 @@ properties:
                  pattern: spd$
                  pattern: spd$
      # These are special cases that don't conform to the above pattern.
      # These are special cases that don't conform to the above pattern.
      # Each requires a standard at24 model as fallback.
      # Each requires a standard at24 model as fallback.
      - items:
          - const: rohm,br24t01
          - const: atmel,24c01
      - items:
      - items:
          - const: nxp,se97b
          - const: nxp,se97b
          - const: atmel,24c02
          - const: atmel,24c02
@@ -113,6 +110,12 @@ properties:
      - items:
      - items:
          - const: renesas,r1ex24128
          - const: renesas,r1ex24128
          - const: atmel,24c128
          - const: atmel,24c128
      - items:
          - const: rohm,br24g01
          - const: atmel,24c01
      - items:
          - const: rohm,br24t01
          - const: atmel,24c01


  label:
  label:
    description: Descriptive name of the EEPROM.
    description: Descriptive name of the EEPROM.
+0 −19
Original line number Original line Diff line number Diff line
I2C for SiRFprimaII platforms

Required properties :
- compatible : Must be "sirf,prima2-i2c"
- reg: physical base address of the controller and length of memory mapped
     region.
- interrupts: interrupt number to the cpu.

Optional properties:
- clock-frequency : Constains desired I2C/HS-I2C bus clock frequency in Hz.
  The absence of the property indicates the default frequency 100 kHz.

Examples :

i2c0: i2c@b00e0000 {
    compatible = "sirf,prima2-i2c";
    reg = <0xb00e0000 0x10000>;
    interrupts = <24>;
};
+0 −15
Original line number Original line Diff line number Diff line
ST Microelectronics DDC I2C

Required properties :
- compatible : Must be "st,ddci2c"
- reg: physical base address of the controller and length of memory mapped
     region.
- interrupts: interrupt number to the cpu.
- #address-cells = <1>;
- #size-cells = <0>;

Optional properties:
- Child nodes conforming to i2c bus binding

Examples :
+0 −22
Original line number Original line Diff line number Diff line
ZTE zx2967 I2C controller

Required properties:
 - compatible: must be "zte,zx296718-i2c"
 - reg: physical address and length of the device registers
 - interrupts: a single interrupt specifier
 - clocks: clock for the device
 - #address-cells: should be <1>
 - #size-cells: should be <0>
 - clock-frequency: the desired I2C bus clock frequency.

Examples:

	i2c@112000 {
		compatible = "zte,zx296718-i2c";
		reg = <0x00112000 0x1000>;
		interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
		clocks = <&osc24m>;
		#address-cells = <1>
		#size-cells = <0>;
		clock-frequency = <1600000>;
	};
+7 −14
Original line number Original line Diff line number Diff line
@@ -18,21 +18,14 @@ properties:
          - const: allwinner,sun4i-a10-i2c
          - const: allwinner,sun4i-a10-i2c
      - const: allwinner,sun6i-a31-i2c
      - const: allwinner,sun6i-a31-i2c
      - items:
      - items:
          - const: allwinner,sun8i-a23-i2c
          - enum:
              - allwinner,sun8i-a23-i2c
              - allwinner,sun8i-a83t-i2c
              - allwinner,sun50i-a64-i2c
              - allwinner,sun50i-a100-i2c
              - allwinner,sun50i-h6-i2c
              - allwinner,sun50i-h616-i2c
          - const: allwinner,sun6i-a31-i2c
          - const: allwinner,sun6i-a31-i2c
      - items:
          - const: allwinner,sun8i-a83t-i2c
          - const: allwinner,sun6i-a31-i2c
      - items:
          - const: allwinner,sun50i-a64-i2c
          - const: allwinner,sun6i-a31-i2c
      - items:
          - const: allwinner,sun50i-a100-i2c
          - const: allwinner,sun6i-a31-i2c
      - items:
          - const: allwinner,sun50i-h6-i2c
          - const: allwinner,sun6i-a31-i2c

      - const: marvell,mv64xxx-i2c
      - const: marvell,mv64xxx-i2c
      - const: marvell,mv78230-i2c
      - const: marvell,mv78230-i2c
      - const: marvell,mv78230-a0-i2c
      - const: marvell,mv78230-a0-i2c
Loading