1. 05 Sep, 2018 2 commits
    • Icenowy Zheng's avatar
      drivers: mentor: extract MI2CV driver from Marvell driver · 7e4d5620
      Icenowy Zheng authored
      
      
      The Marvell A8K SoCs use the MI2CV IP core from Mentor Graphics, which
      is also used by Allwinner.
      
      As Mentor Graphics allows a lot of customization, the MI2CV in the two
      SoC families are not compatible, and driver modifications are needed.
      
      Extract the common code to a MI2CV driver.
      Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.io>
      7e4d5620
    • Icenowy Zheng's avatar
      marvell: drivers: use anonymous union in I2C driver · f348c351
      Icenowy Zheng authored
      
      
      The I2C controller found in Marvell A8K SoCs (and some older SoCs) mux
      status and baudrate registers into the same address, however, it's a
      vendor customization, and the original IP core by Mentor Graphics uses
      two different addresses for the two registers.
      
      Use anonymous union in the driver, in order to ease code sharing for
      other SoC vendors that use this IP core (Allwinner SoCs that are newly
      introduced to mainline ATF use this core).
      Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.io>
      f348c351
  2. 02 Sep, 2018 1 commit
  3. 18 Jul, 2018 1 commit