1. 26 7月, 2008 3 次提交
    • G
      spi: Add OF binding support for SPI busses · 284b0189
      Grant Likely 提交于
      This patch adds support for populating an SPI bus based on data in the
      OF device tree.  This is useful for powerpc platforms which use the
      device tree instead of discrete code for describing platform layout.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      284b0189
    • G
      of: adapt of_find_i2c_driver() to be usable by SPI also · 3f07af49
      Grant Likely 提交于
      SPI has a similar problem as I2C in that it needs to determine an
      appropriate modalias value for each device node.  This patch adapts
      the of_i2c of_find_i2c_driver() function to be usable by of_spi also.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      3f07af49
    • M
      gpiolib: allow user-selection · 7444a72e
      Michael Buesch 提交于
      This patch adds functionality to the gpio-lib subsystem to make it
      possible to enable the gpio-lib code even if the architecture code didn't
      request to get it built in.
      
      The archtitecture code does still need to implement the gpiolib accessor
      functions in its asm/gpio.h file.  This patch adds the implementations for
      x86 and PPC.
      
      With these changes it is possible to run generic GPIO expansion cards on
      every architecture that implements the trivial wrapper functions.  Support
      for more architectures can easily be added.
      Signed-off-by: NMichael Buesch <mb@bu3sch.de>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: Jesper Nilsson <jesper.nilsson@axis.com>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Jean Delvare <khali@linux-fr.org>
      Cc: Samuel Ortiz <sameo@openedhand.com>
      Cc: Kumar Gala <galak@gate.crashing.org>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Adrian Bunk <bunk@stusta.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      7444a72e
  2. 22 7月, 2008 1 次提交
  3. 13 7月, 2008 1 次提交
  4. 07 6月, 2008 1 次提交
  5. 23 5月, 2008 1 次提交
  6. 16 5月, 2008 1 次提交
  7. 15 5月, 2008 1 次提交
  8. 14 5月, 2008 1 次提交
  9. 24 4月, 2008 1 次提交
  10. 20 4月, 2008 1 次提交
  11. 17 4月, 2008 2 次提交
  12. 07 4月, 2008 1 次提交
    • J
      [POWERPC] Add of_device_is_available function · 834d97d4
      Josh Boyer 提交于
      IEEE 1275 defined a standard "status" property to indicate the operational
      status of a device.  The property has four possible values: okay, disabled,
      fail, fail-xxx.  The absence of this property means the operational status
      of the device is unknown or okay.
      
      This adds a function called of_device_is_available that checks the state
      of the status property of a device.  If the property is absent or set to
      either "okay" or "ok", it returns 1.  Otherwise it returns 0.
      Signed-off-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      834d97d4
  13. 06 2月, 2008 2 次提交
  14. 17 1月, 2008 1 次提交
  15. 18 10月, 2007 1 次提交
  16. 20 7月, 2007 9 次提交