1. 23 12月, 2010 2 次提交
    • T
      OMAP4: Smartreflex framework extensions · b35cecf9
      Thara Gopinath 提交于
      This patch extends the smartreflex framework to support
      OMAP4. The changes are minor like compiling smartreflex Kconfig
      option for OMAP4 also, and a couple of OMAP4 checks in
      the smartreflex framework.
      
      The change in sr_device.c where new logic has to be introduced
      for reading the efuse registers is due to the fact that in OMAP4
      the efuse registers are 24 bit aligned. A __raw_readl will
      fail for non-32 bit aligned address and hence the 8-bit read
      and shift.
      Signed-off-by: NThara Gopinath <thara@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      b35cecf9
    • T
      OMAP3: PM: Adding smartreflex device file. · 0c0a5d61
      Thara Gopinath 提交于
      This patch adds support for device registration of various
      smartreflex module present in the system. This patch introduces
      the platform data for smartreflex devices which include
      the efused n-target vaules, a parameter to indicate
      whether smartreflex autocompensation needs to be
      enabled on init or not. An API
      omap_enable_smartreflex_on_init is provided for the
      board files to enable smartreflex autocompensation during
      system boot up.
      Signed-off-by: NThara Gopinath <thara@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      0c0a5d61