Skip to content
  • Neil Armstrong's avatar
    i2c: Add support for Qualcomm Generic Interface (GENI) I2C controller · 75db9ede
    Neil Armstrong authored and Caleb Connolly's avatar Caleb Connolly committed
    
    
    Add Support for the Qualcomm Generic Interface (GENI) I2C interface
    found on newer Qualcomm SoCs.
    
    The Generic Interface (GENI) is a firmware based Qualcomm Universal
    Peripherals (QUP) Serial Engine (SE) Wrapper which can support multiple
    bus protocols depending on the firmware type loaded at early boot time
    based on system configuration.
    
    It also supports the "I2C Master Hub" which is a single function Wrapper
    that only FIFO mode I2C.
    
    It replaces the fixed-function QUP Wrapper found on older SoCs.
    
    The geni-se.h containing the generic GENI Serial Engine registers defines
    is imported from Linux.
    
    Only FIFO mode is implemented, neither SE DMA nor GPI DMA are implemented.
    
    Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
    Signed-off-by: default avatarCaleb Connolly <caleb.connolly@linaro.org>
    75db9ede