1. 11 9月, 2011 2 次提交
    • B
      mtd: nand: rename NAND_USE_FLASH_BBT · bb9ebd4e
      Brian Norris 提交于
      Recall the recently added prefix requirements:
       * "NAND_" for flags in nand.h, used in nand_chip.options
       * "NAND_BBT_" for flags in bbm.h, used in nand_chip.bbt_options
              or in nand_bbt_descr.options
      
      Thus, I am changing NAND_USE_FLASH_BBT to NAND_BBT_USE_FLASH.
      
      Again, this flag is found in bbm.h and so should NOT be used in the
      "nand_chip.options" field.
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      bb9ebd4e
    • B
      mtd: nand: consolidate redundant flash-based BBT flags · a40f7341
      Brian Norris 提交于
      This patch works with the following three flags from two headers (nand.h
      and bbm.h):
        (1) NAND_USE_FLASH_BBT (nand.h)
        (2) NAND_USE_FLASH_BBT_NO_OOB (nand.h)
        (3) NAND_BBT_NO_OOB (bbm.h)
      
      These flags are all related and interdependent, yet they were in
      different headers. Flag (2) is simply the combination of (1) and (3) and
      can be eliminated.
      
      This patch accomplishes the following:
        * eliminate NAND_USE_FLASH_BBT_NO_OOB (i.e., flag (2))
        * move NAND_USE_FLASH_BBT (i.e., flag (1)) to bbm.h
      
      It's important to note that because (1) and (3) are now both found in
      bbm.h, they should NOT be used in the "nand_chip.options" field.
      
      I removed a small section from the mtdnand DocBook because it referes to
      NAND_USE_FLASH_BBT in nand.h, which has been moved to bbm.h.
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      a40f7341
  2. 20 7月, 2011 1 次提交
  3. 19 7月, 2011 3 次提交
  4. 12 7月, 2011 1 次提交
    • I
      arm: davinci: Fix low level gpio irq handlers' argument · f299bb95
      Ido Yariv 提交于
      Commit 74164016 ("arm: davinci: Fix fallout from generic irq chip
      conversion") introduced a bug, causing low level interrupt handlers to
      get a bogus irq number as an argument. The gpio irq handler falsely
      assumes that the handler data is the irq base number and that is no
      longer true.
      
      Set the irq handler data to be a pointer to the corresponding gpio
      controller. The chained irq handler can then use it to extract both the
      irq base number and the gpio registers structure.
      Signed-off-by: NIdo Yariv <ido@wizery.com>
      CC: Thomas Gleixner <tglx@linutronix.de>
      [nsekhar@ti.com: renamed "ctl" to "d", simplified indexing logic for chips and
      took care of odd bank handling in irq handler]
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      f299bb95
  5. 08 7月, 2011 5 次提交
    • S
      davinci: da850 evm: register SATA device · 8bb2c481
      Sekhar Nori 提交于
      Register the platform device for SATA interface
      present on the DA850/OMAP-L138/AM18x EVM.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      8bb2c481
    • S
      davinci: da850: add support for SATA interface · cbb2c961
      Sekhar Nori 提交于
      Add support for SATA controller on the
      DA850/OMAP-L138/AM18x devices.
      
      The patch adds the necessary clocks, platform
      resources and a routine to initialize the SATA
      controller.
      
      The PHY configuration in this patch is
      courtesy the work done by Zegeye Alemu,
      Swaminathan and Mansoor Ahamed from TI.
      
      While testing this patch, enable port multiplier
      support iff you are actually using one. The
      reasons of this behaviour are discussed
      here: http://patchwork.ozlabs.org/patch/78163/
      
      ChangeLog:
      v3:
      Removed fields which were being initialized
      to zero in PHY configuration. Moved SATA base
      address definition to the top of the file to
      make it inline with what is done for the rest
      of the modules.
      v2:
      Addressed comments from Sergei. Removed unnecessary
      braces and removed unnecessary else after goto.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      cbb2c961
    • S
      davinci: enable forced transitions on PSC · aad70de2
      Sekhar Nori 提交于
      Some DaVinci modules like the SATA on DA850
      need forced module state transitions.
      
      Define a "force" flag which can be passed to
      the PSC config function to enable it to make
      forced transitions.
      
      Forced transitions shouldn't normally be attempted,
      unless the TRM explicitly specifies its usage.
      
      ChangeLog:
      v2:
      Modified to take care of the fact that
      davinci_psc_config() now takes the flags
      directly.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      aad70de2
    • S
      davinci: pass clock flags to davinci_psc_config() · a51ca38b
      Sekhar Nori 提交于
      Enabling or disabling a PSC can take certain
      modifiers like "disable with reset", "force
      enable/disable" and "enable/disable with local
      reset" apart from the regular clock gating
      functionality.
      
      Pass a flags argument to davinci_psc_config()
      so these variations can be supported there.
      
      At this time only "disable with reset" is
      supported, but other functionality will be
      added in subsequent patches.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      a51ca38b
    • S
      genirq: replace irq_gc_ack() with {set,clr}_bit variants (fwd) · 659fb32d
      Simon Guinot 提交于
      This fixes a regression introduced by e59347a1 "arm: orion:
      Use generic irq chip".
      
      Depending on the device, interrupts acknowledgement is done by setting
      or by clearing a dedicated register. Replace irq_gc_ack() with some
      {set,clr}_bit variants allows to handle both cases.
      
      Note that this patch affects the following SoCs: Davinci, Samsung and
      Orion. Except for this last, the change is minor: irq_gc_ack() is just
      renamed into irq_gc_ack_set_bit().
      
      For the Orion SoCs, the edge GPIO interrupts support is currently
      broken. irq_gc_ack() try to acknowledge a such interrupt by setting
      the corresponding cause register bit. The Orion GPIO device expect the
      opposite. To fix this issue, the irq_gc_ack_clr_bit() variant is used.
      
      Tested on Network Space v2.
      Reported-by: NJoey Oravec <joravec@drewtech.com>
      Signed-off-by: NSimon Guinot <sguinot@lacie.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      659fb32d
  6. 07 7月, 2011 1 次提交
  7. 06 7月, 2011 2 次提交
  8. 28 6月, 2011 1 次提交
  9. 22 6月, 2011 1 次提交
    • A
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan 提交于
      Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).
      
      To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
      definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
      via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
      Removal of mm.h from scatterlist.h was tried and was found not feasible
      on most archs, so the link was cutoff earlier.
      
      Hope people are OK with tiny include file.
      
      Note, that mm_types.h is still dragged in, but it is a separate story.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b7f080cf
  10. 08 6月, 2011 2 次提交
  11. 24 5月, 2011 1 次提交
  12. 12 5月, 2011 3 次提交
  13. 07 5月, 2011 1 次提交
  14. 06 5月, 2011 3 次提交
  15. 04 5月, 2011 1 次提交
    • D
      [CPUFREQ] use dynamic debug instead of custom infrastructure · 2d06d8c4
      Dominik Brodowski 提交于
      With dynamic debug having gained the capability to report debug messages
      also during the boot process, it offers a far superior interface for
      debug messages than the custom cpufreq infrastructure. As a first step,
      remove the old cpufreq_debug_printk() function and replace it with a call
      to the generic pr_debug() function.
      
      How can dynamic debug be used on cpufreq? You need a kernel which has
      CONFIG_DYNAMIC_DEBUG enabled.
      
      To enabled debugging during runtime, mount debugfs and
      
      $ echo -n 'module cpufreq +p' > /sys/kernel/debug/dynamic_debug/control
      
      for debugging the complete "cpufreq" module. To achieve the same goal during
      boot, append
      
      	ddebug_query="module cpufreq +p"
      
      as a boot parameter to the kernel of your choice.
      
      For more detailled instructions, please see
      Documentation/dynamic-debug-howto.txt
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: NDave Jones <davej@redhat.com>
      2d06d8c4
  16. 27 4月, 2011 1 次提交
  17. 25 4月, 2011 4 次提交
  18. 20 4月, 2011 1 次提交
  19. 31 3月, 2011 1 次提交
  20. 29 3月, 2011 2 次提交
  21. 15 3月, 2011 3 次提交