Commit 28a1b056 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull i2c updates from Wolfram Sang:
 "i2c-core updates (collected by Wolfram):
   - remove last user and unexport i2c_of_match_device()
   - irq usage cleanup from Jiri

  i2c-host updates (collected by Andi):

  Refactoring and cleanups:
   - octeon, cadence, i801, pasemi, mlxbf, bcm-iproc: general
     refactorings
   - octeon: remove 10-bit address support

  Improvements:
   - amd-asf: improved error handling
   - designware: use guard(mutex)
   - amd-asf, designware: update naming to follow latest specs
   - cadence: fix cleanup path in probe
   - i801: use MMIO and I/O mapping helpers to access registers
   - pxa: handle error after clk_prepare_enable

  New features:
   - added i2c_10bit_addr_*_from_msg() and updated multiple drivers
   - omap: added multiplexer state handling
   - qcom-geni: update frequency configuration
   - qup: introduce DMA usage policy

  New hardware support:
   - exynos: add support for Samsung exynos7870
   - k1: add support for spacemit k1 (new driver)
   - imx: add support for i.mx94 lpi2c
   - rk3x: add support for rk3562
   - designware: add support for Renesas RZ/N1D

  Multiplexers:
   - ltc4306, reg: fix assignment in platform_driver structure

  at24 eeprom updates (collected by Bartosz):
   - add two new compatible entries to the DT binding document
   - drop of_match_ptr() and ACPI_PTR() macros"

* tag 'i2c-for-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (50 commits)
  dt-bindings: i2c: snps,designware-i2c: describe Renesas RZ/N1D variant
  irqdomain: i2c: Switch to irq_find_mapping()
  i2c: iproc: Refactor prototype and remove redundant error checks
  i2c: qcom-geni: Update i2c frequency table to match hardware guidance
  i2c: mlxbf: Use readl_poll_timeout_atomic() for polling
  i2c: pasemi: Add registers bits and switch to BIT()
  i2c: k1: Initialize variable before use
  i2c: spacemit: add support for SpacemiT K1 SoC
  dt-bindings: i2c: spacemit: add support for K1 SoC
  i2c: omap: Add support for setting mux
  dt-bindings: i2c: omap: Add mux-states property
  i2c: octeon: remove 10-bit addressing support
  i2c: octeon: fix return commenting
  i2c: i801: Use MMIO if available
  i2c: i801: Switch to iomapped register access
  i2c: i801: Improve too small kill wait time in i801_check_post
  i2c: i801: Move i801_wait_intr and i801_wait_byte_done in the code
  i2c: i801: Cosmetic improvements
  i2c: cadence: Move reset_control_assert after pm_runtime_set_suspended in probe error path
  i2c: cadence: Simplify using devm_clk_get_enabled()
  ...
parents 91e5bfe3 31396626
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -130,10 +130,13 @@ properties:
          - const: giantec,gt24c32a
          - const: atmel,24c32
      - items:
          - const: onnn,n24s64b
          - enum:
              - onnn,n24s64b
              - puya,p24c64f
          - const: atmel,24c64
      - items:
          - enum:
              - giantec,gt24p128e
              - giantec,gt24p128f
              - renesas,r1ex24128
              - samsung,s524ad0xd1
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ properties:
      - items:
          - enum:
              - samsung,exynos5433-hsi2c
              - samsung,exynos7870-hsi2c
              - tesla,fsd-hsi2c
          - const: samsung,exynos7-hsi2c
      - items:
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ properties:
              - fsl,imx8qm-lpi2c
              - fsl,imx8ulp-lpi2c
              - fsl,imx93-lpi2c
              - fsl,imx94-lpi2c
              - fsl,imx95-lpi2c
          - const: fsl,imx7ulp-lpi2c

+1 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ properties:
              - rockchip,px30-i2c
              - rockchip,rk3308-i2c
              - rockchip,rk3328-i2c
              - rockchip,rk3562-i2c
              - rockchip,rk3568-i2c
              - rockchip,rk3576-i2c
              - rockchip,rk3588-i2c
+14 −0
Original line number Diff line number Diff line
@@ -40,6 +40,9 @@ properties:
      - const: tx
      - const: rx

  interconnects:
    maxItems: 1

  interrupts:
    maxItems: 1

@@ -52,9 +55,15 @@ properties:
      - const: default
      - const: sleep

  power-domains:
    maxItems: 1

  reg:
    maxItems: 1

  required-opps:
    maxItems: 1

required:
  - compatible
  - clock-names
@@ -67,7 +76,9 @@ unevaluatedProperties: false
examples:
  - |
    #include <dt-bindings/clock/qcom,gcc-msm8998.h>
    #include <dt-bindings/interconnect/qcom,msm8996.h>
    #include <dt-bindings/interrupt-controller/arm-gic.h>
    #include <dt-bindings/power/qcom-rpmpd.h>

    i2c@c175000 {
        compatible = "qcom,i2c-qup-v2.2.1";
@@ -82,6 +93,9 @@ examples:
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&blsp1_i2c1_default>;
        pinctrl-1 = <&blsp1_i2c1_sleep>;
        power-domains = <&rpmpd MSM8909_VDDCX>;
        required-opps = <&rpmpd_opp_svs_krait>;
        interconnects = <&pnoc MASTER_BLSP_1 &bimc SLAVE_EBI_CH0>;
        clock-frequency = <400000>;

        #address-cells = <1>;
Loading