1. 14 12月, 2009 9 次提交
  2. 25 11月, 2009 1 次提交
  3. 23 11月, 2009 1 次提交
  4. 27 10月, 2009 1 次提交
  5. 26 10月, 2009 1 次提交
  6. 21 10月, 2009 1 次提交
    • T
      omap: headers: Move remaining headers from include/mach to include/plat · ce491cf8
      Tony Lindgren 提交于
      Move the remaining headers under plat-omap/include/mach
      to plat-omap/include/plat. Also search and replace the
      files using these headers to include using the right path.
      
      This was done with:
      
      #!/bin/bash
      mach_dir_old="arch/arm/plat-omap/include/mach"
      plat_dir_new="arch/arm/plat-omap/include/plat"
      headers=$(cd $mach_dir_old && ls *.h)
      omap_dirs="arch/arm/*omap*/ \
      drivers/video/omap \
      sound/soc/omap"
      other_files="drivers/leds/leds-ams-delta.c \
      drivers/mfd/menelaus.c \
      drivers/mfd/twl4030-core.c \
      drivers/mtd/nand/ams-delta.c"
      
      for header in $headers; do
      	old="#include <mach\/$header"
      	new="#include <plat\/$header"
      	for dir in $omap_dirs; do
      		find $dir -type f -name \*.[chS] | \
      			xargs sed -i "s/$old/$new/"
      	done
      	find drivers/ -type f -name \*omap*.[chS] | \
      		xargs sed -i "s/$old/$new/"
      	for file in $other_files; do
      		sed -i "s/$old/$new/" $file
      	done
      done
      
      for header in $(ls $mach_dir_old/*.h); do
      	git mv $header $plat_dir_new/
      done
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ce491cf8
  7. 12 10月, 2009 1 次提交
  8. 17 9月, 2009 2 次提交
  9. 21 6月, 2009 1 次提交
  10. 18 6月, 2009 1 次提交
    • R
      mfd: Mark clocks_init as non-init in twl4030-core.c · 04ffa131
      Rakib Mullick 提交于
      Impact: Fix section mismatch.
      
      clocks_init() has been called from twl4030_probe() which is a non-init
      function. Since probing can be done anytime so clocks_init will be
      called anytime too. So we mark clock_init() as non-init.
      
      LD      drivers/mfd/built-in.o
      WARNING: drivers/mfd/built-in.o(.text+0x8dd9): Section mismatch in
      reference from the function twl4030_probe() to the function
      .init.text:clocks_init()
      The function twl4030_probe() references
      the function __init clocks_init().
      This is often because twl4030_probe lacks a __init
      annotation or the annotation of clocks_init is wrong.
      Signed-off-by: NRakib Mullick <rakib.mullick@gmail.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      04ffa131
  11. 31 3月, 2009 1 次提交
  12. 17 2月, 2009 1 次提交
  13. 14 1月, 2009 1 次提交
  14. 11 1月, 2009 1 次提交
  15. 04 1月, 2009 5 次提交
  16. 22 10月, 2008 1 次提交
    • D
      mfd: twl4030 IRQ handling update · a30d46c0
      David Brownell 提交于
      - Move it into a separate file; clean and streamline it
       - Restructure the init code for reuse during secondary dispatch
       - Support both levels (primary, secondary) of IRQ dispatch
       - Use a workqueue for irq mask/unmask and trigger configuration
      
      Code for two subchips currently share that secondary handler code.
      One is the power subchip; its IRQs are now handled by this core,
      courtesy of this patch.  The other is the GPIO module, which will
      be supported through a later patch.
      
      There are also minor changes to the header file, mostly related
      to GPIO support; nothing yet in mainline cares about those.  A
      few references to OMAP-specific symbols are disabled; when they
      can all be removed, the TWL4030 support ceases being OMAP-specific.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
      a30d46c0
  17. 20 10月, 2008 2 次提交
    • D
      mfd: twl4030-core irq simplification · 9297a0e7
      David Brownell 提交于
      Simplify twl4030 IRQ handling by removing a needless custom flow
      handler.  The top level IRQs, from the PIH, are well suited for
      handle_simple_irq() ... they can't be acked or masked.
      
      Switching resolves some issues with how IRQs were dispatched.
      Notably, abuse of desc->status, IRQ accounting, and handling
      of various faults.
      
      In short, use standard genirq code.
      
      Drivers that request_irq() to the PIH will need to pay more
      attention to things like setting IRQF_DISABLED (since it's
      no longer ignored), and making I2C calls from handlers (you'll
      need a lockdep workaround).
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
      9297a0e7
    • D
      mfd: TWL4030 core driver · a603a7fa
      David Brownell 提交于
      This patch adds the core of the TWL4030 driver, which supports
      chips including the TPS65950.  These chips are multi-function; see
      
        http://focus.ti.com/docs/prod/folders/print/tps65950.html
      
      Public specs are in the works.  For now, the block diagram on
      the second page of the datasheet is fairly informative.
      
      There are some known issues with this core code.  Most notably,
      the IRQ dispatching needs simplification (to use more of genirq),
      generalization (integrating support for secondary IRQ dispatch
      as well as primary, and removing the build dependency on OMAP),
      and then probably updating to leverage threaded IRQ support
      (expected to arrive in mainline "soon").
      
      Once the core is in mainline, drivers for other parts of this
      chip can follow its lead and start swimming upstream too.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
      a603a7fa