Skip to content
Snippets Groups Projects
  1. Sep 11, 2012
  2. Aug 18, 2012
  3. Jul 31, 2012
  4. Jul 24, 2012
  5. Jul 23, 2012
    • Andrew Lunn's avatar
      I2C: MV64XYZ: Add Device Tree support · b61d1575
      Andrew Lunn authored
      
      Extends the driver to get properties from device tree. Rather than
      pass the N & M factors in DT, use the more standard clock-frequency
      property. Calculate N & M at run time. In order to do this, we need to
      know tclk. So the driver uses clk_get() etc in order to get the clock
      and clk_get_rate() to determine the tclk rate. Not all platforms
      however have CLK, so some #ifdefery is needed to ensure the driver
      still compiles when CLK is not available.
      
      Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
      
      [wsa: converted some ints to u32 to match signedness]
      
      Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
      b61d1575
    • David Daney's avatar
      i2c: Convert i2c-octeon.c to use device tree. · f353a218
      David Daney authored
      
      There are three parts to this:
      
      1) Remove the definitions of OCTEON_IRQ_TWSI and OCTEON_IRQ_TWSI2.
         The interrupts are specified by the device tree and these hard
         coded irq numbers block the used of the irq lines by the irq_domain
         code.
      
      2) Remove platform device setup code from octeon-platform.c, it is
         now unused.
      
      3) Convert i2c-octeon.c to use device tree.  Part of this includes
         using the devm_* functions instead of the raw counterparts, thus
         simplifying error handling.  No functionality is changed.
      
      Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
      Acked-by: default avatarRob Herring <rob.herring@calxeda.com>
      Acked-by: default avatarWolfram Sang <w.sang@pengutronix.de>
      Cc: linux-mips@linux-mips.org
      Cc: devicetree-discuss@lists.ozlabs.org
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: linux-kernel@vger.kernel.org
      Patchwork: https://patchwork.linux-mips.org/patch/3939/
      
      
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      f353a218
  6. Jul 19, 2012
    • Theodore Ts'o's avatar
      i2c-pmcmsp: remove IRQF_SAMPLE_RANDOM which is now a no-op · d38a0149
      Theodore Ts'o authored
      
      With the changes in the random tree, IRQF_SAMPLE_RANDOM is now a
      no-op; interrupt randomness is now collected unconditionally in a very
      low-overhead fashion; see commit 775f4b29.  The IRQF_SAMPLE_RANDOM
      flag was scheduled to be removed in 2009 on the
      feature-removal-schedule, so this patch is preparation for the final
      removal of this flag.
      
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      Cc: "Ben Dooks" <ben-linux@fluff.org>
      Cc: "Wolfram Sang" <w.sang@pengutronix.de>
      d38a0149
  7. Jul 16, 2012
  8. Jul 14, 2012
  9. Jul 13, 2012
Loading