1. 23 1月, 2015 1 次提交
  2. 23 4月, 2014 1 次提交
    • T
      mfd: twl-core: Fix idle mode signaling for omaps when booted with device tree · a613b739
      Tony Lindgren 提交于
      I noticed a regression where the omap sys_clkreq signal will never
      trigger for omap3 when booted with device tree while it triggers
      when booted in legacy mode. This means voltage scaling does not
      do anything when booted with device tree.
      
      Turns out the reason is we fail to initialize the SmartReflex
      enable bit in twl4030 with the following error:
      
      twl: not initialized
      
      And that happens because we are wrongly tinkering with the twl4030
      registers in arch/arm/mach-omap2/omap_twl.c before the driver is
      initialized. Looking at the the SmartReflex bit enable code in
      omap_twl.c, we need to always set it.
      
      So let's fix the issue by always enabling the twl4030 SmartReflex
      bit in the drivers/mfd/twl-core.c probe, and drop the related
      code in omap_twl.c.
      
      Note that we still have some twl4030 tinkering left in omap_twl.c
      for the twl6030 case, but that's a different patch.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      a613b739
  3. 19 3月, 2014 1 次提交
    • T
      mfd: twl-core: Fix accessibility of some twl4030 audio registers · 56816b70
      Tomas Novotny 提交于
      There are some unused registers in twl4030 at I2C address 0x49 and function
      twl4030_49_nop_reg() is used to check accessibility of that registers. These
      registers are written in decimal format but the values are correct in
      hexadecimal format. (It can be checked few lines above the patched code -
      these registers are marked as unused there.)
      
      As a consequence three registers of audio submodule are treated as
      inaccessible (preamplifier carkit right and both handsfree registers).
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NTomas Novotny <tomas@novotny.cz>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      56816b70
  4. 21 1月, 2014 2 次提交
  5. 08 1月, 2014 3 次提交
  6. 21 11月, 2013 1 次提交
  7. 31 7月, 2013 1 次提交
  8. 20 6月, 2013 1 次提交
  9. 19 6月, 2013 1 次提交
  10. 12 6月, 2013 1 次提交
  11. 14 2月, 2013 11 次提交
  12. 29 11月, 2012 1 次提交
  13. 21 11月, 2012 8 次提交
  14. 20 11月, 2012 1 次提交
  15. 22 9月, 2012 1 次提交
  16. 19 9月, 2012 2 次提交
  17. 18 9月, 2012 2 次提交
  18. 13 9月, 2012 1 次提交
    • T
      ARM: OMAP2+: Prepare for irqs.h removal · 7d7e1eba
      Tony Lindgren 提交于
      As the interrupts should only be defined in the platform_data, and
      eventually coming from device tree, there's no need to define them
      in header files.
      
      Let's remove the hardcoded references to irqs.h and fix up the includes
      so we don't rely on headers included in irqs.h. Note that we're
      defining OMAP_INTC_START as 0 to the interrupts. This will be needed
      when we enable SPARSE_IRQ. For some drivers we need to add
      #include <plat/cpu.h> for now until these drivers are fixed to
      remove cpu_is_omapxxxx() usage.
      
      While at it, sort som of the includes the standard way, and add
      the trailing commas where they are missing in the related data
      structures.
      
      Note that for drivers/staging/tidspbridge we just define things
      locally.
      
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      7d7e1eba