1. 29 3月, 2010 1 次提交
  2. 08 3月, 2010 1 次提交
  3. 17 2月, 2010 3 次提交
  4. 03 2月, 2010 1 次提交
    • I
      fsldma: simplify IRQ probing and handling · d3f620b2
      Ira Snyder 提交于
      The IRQ probing is needlessly complex. All off the 83xx device trees in
      arch/powerpc/boot/dts/ specify 5 interrupts per DMA controller: one for the
      controller, and one for each channel. These interrupts are all attached to
      the same IRQ line.
      
      This causes an interesting situation if two channels interrupt at the same
      time. The per-controller handler will handle the first channel, and the
      per-channel handler will handle the remaining channels.
      
      Instead of this mess, we fix the bug in the per-controller handler, and
      make it handle all channels that generated an interrupt. When a
      per-controller handler is specified in the device tree, we prefer to use
      the shared handler instead of the per-channel handler.
      
      The 85xx/86xx controllers do not have a per-controller interrupt, and
      instead use a per-channel interrupt. This behavior has not been changed.
      Signed-off-by: NIra W. Snyder <iws@ovro.caltech.edu>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      d3f620b2
  5. 08 1月, 2010 1 次提交
  6. 13 12月, 2009 2 次提交
  7. 12 12月, 2009 2 次提交
  8. 10 12月, 2009 1 次提交
  9. 17 11月, 2009 1 次提交
  10. 14 11月, 2009 2 次提交
  11. 12 11月, 2009 1 次提交
  12. 23 9月, 2009 1 次提交
  13. 21 9月, 2009 1 次提交
  14. 20 9月, 2009 1 次提交
  15. 24 6月, 2009 1 次提交
    • T
      leds: Add options to have GPIO LEDs start on or keep their state · ed88bae6
      Trent Piepho 提交于
      There already is a "default-on" trigger but there are problems with it.
      
      For one, it's a inefficient way to do it and requires led trigger support
      to be compiled in.
      
      But the real reason is that is produces a glitch on the LED.  The GPIO is
      allocate with the LED *off*, then *later* when the trigger runs it is
      turned back on.  If the LED was already on via the GPIO's reset default or
      action of the firmware, this produces a glitch where the LED goes from on
      to off to on.  While normally this is fast enough that it wouldn't be
      noticeable to a human observer, there are still serious problems.
      
      One is that there may be something else on the GPIO line, like a hardware
      alarm or watchdog, that is fast enough to notice the glitch.
      
      Another is that the kernel may panic before the LED is turned back on, thus
      hanging with the LED in the wrong state.  This is not just speculation, but
      actually happened to me with an embedded system that has an LED which
      should turn off when the kernel finishes booting, which was left in the
      incorrect state due to a bug in the OF LED binding code.
      
      We also let GPIO LEDs get their initial value from whatever the current
      state of the GPIO line is.  On some systems the LEDs are put into some
      state by the firmware or hardware before Linux boots, and it is desired to
      have them keep this state which is otherwise unknown to Linux.
      
      This requires that the underlying GPIO driver support reading the value of
      output GPIOs.  Some drivers support this and some do not.
      
      The platform device binding gains a field in the platform data
      "default_state" that controls this.  There are three constants defined to
      select from on, off, or keeping the current state.  The OpenFirmware
      binding uses a property named "default-state" that can be set to "on",
      "off", or "keep".  The default if the property isn't present is off.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NWolfram Sang <w.sang@pengutronix.de>
      Acked-by: NSean MacLennan <smaclennan@pikatech.com>
      Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
      ed88bae6
  16. 23 6月, 2009 1 次提交
  17. 22 6月, 2009 1 次提交
  18. 13 6月, 2009 2 次提交
  19. 01 6月, 2009 1 次提交
    • W
      can: sja1000: generic OF platform bus driver · d1a277c5
      Wolfgang Grandegger 提交于
      This patch adds a generic driver for SJA1000 chips on the OpenFirmware
      platform bus found on embedded PowerPC systems. You need a SJA1000 node
      definition in your flattened device tree source (DTS) file similar to:
      
        can@3,100 {
        	compatible = "nxp,sja1000";
        	reg = <3 0x100 0x80>;
        	interrupts = <2 0>;
        	interrupt-parent = <&mpic>;
        	nxp,external-clock-frequency = <16000000>;
        };
      
      See also Documentation/powerpc/dts-bindings/can/sja1000.txt.
      
      CC: devicetree-discuss@ozlabs.org
      Signed-off-by: NWolfgang Grandegger <wg@grandegger.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d1a277c5
  20. 19 5月, 2009 5 次提交
  21. 17 4月, 2009 2 次提交
  22. 08 4月, 2009 1 次提交
  23. 06 4月, 2009 2 次提交
  24. 01 4月, 2009 1 次提交
  25. 30 3月, 2009 1 次提交
  26. 27 3月, 2009 1 次提交
  27. 09 3月, 2009 1 次提交
  28. 07 2月, 2009 1 次提交