Skip to content
  • Paul Walmsley's avatar
    i2c-omap: reprogram OCP_SYSCONFIG register after reset · fdd07fe6
    Paul Walmsley authored
    
    
    The I2C controller clears its OCP_SYSCONFIG register after an OCP soft reset.
    Reprogram OCP_SYSCONFIG for maximum power savings on rev3.6 controllers
    and beyond.  On 2430, this involves setting the module AUTOIDLE bit.
    On 3430, this includes module AUTOIDLE, wakeup enable, slave smart-idle,
    and considers only the module functional clock state for idle-ack.
    
    Boot-tested on 2430SDP and 3430SDP.
    
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    Cc: Richard Woodruff <r-woodruff2@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    
    fdd07fe6