1. 23 8月, 2012 1 次提交
  2. 08 8月, 2012 1 次提交
  3. 27 7月, 2012 4 次提交
  4. 25 7月, 2012 2 次提交
  5. 24 7月, 2012 1 次提交
    • A
      I2C: MV64XYZ: Add Device Tree support · b61d1575
      Andrew Lunn 提交于
      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: NAndrew Lunn <andrew@lunn.ch>
      
      [wsa: converted some ints to u32 to match signedness]
      Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
      b61d1575
  6. 23 7月, 2012 5 次提交
  7. 21 7月, 2012 1 次提交
  8. 20 7月, 2012 1 次提交
  9. 19 7月, 2012 1 次提交
  10. 18 7月, 2012 5 次提交
  11. 17 7月, 2012 1 次提交
  12. 16 7月, 2012 1 次提交
  13. 15 7月, 2012 2 次提交
  14. 14 7月, 2012 3 次提交
  15. 13 7月, 2012 5 次提交
  16. 12 7月, 2012 4 次提交
    • D
      clocksource: dw_apb_timer: Add common DTS glue for dw_apb_timer · cfda5901
      Dinh Nguyen 提交于
      Make a common device tree glue for clocksource/dw_apb_timer.
      Move mach-picoxcell/time.c to be a generic device tree application
      of the dw_apb_timer.
      
      Configure mach-picoxcell to use the dw_apb_timer_of device tree
      implementation in drivers/clocksource.
      Signed-off-by: NPavel Machek <pavel@denx.de>
      Signed-off-by: NDinh Nguyen <dinguyen@altera.com>
      Acked-by: NJamie Iles <jamie@jamieiles.com>
      Acked-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      cfda5901
    • R
      clk: add highbank clock support · 8d4d9f52
      Rob Herring 提交于
      This adds real clock support to Calxeda Highbank SOC using the common
      clock infrastructure.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      [mturquette@linaro.org: fixed up invalid writes to const struct member]
      Signed-off-by: NMike Turquette <mturquette@linaro.org>
      8d4d9f52
    • R
      dt: add clock binding doc to primecell bindings · 260b6aa0
      Rob Herring 提交于
      Add clock binding information for primecell peripherals. For most, a
      clock input name of "apb_pclk" is required. Any primecell peripherals
      which are different will need to be documented separately.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Signed-off-by: NMike Turquette <mturquette@linaro.org>
      260b6aa0
    • G
      clk: add DT clock binding support · 766e6a4e
      Grant Likely 提交于
      Based on work 1st by Ben Herrenschmidt and Jeremy Kerr, then by Grant
      Likely, this patch adds support to clk_get to allow drivers to retrieve
      clock data from the device tree.
      
      Platforms scan for clocks in DT with of_clk_init and a match table, and
      the register a provider through of_clk_add_provider. The provider's
      clk_src_get function will be called when a device references the
      provider's OF node for a clock reference.
      
      v6 (Rob Herring):
          - Return error values instead of NULL to match clock framework
            expectations
      
      v5 (Rob Herring):
          - Move from drivers/of into common clock subsystem
          - Squashed "dt/clock: add a simple provider get function" and
            "dt/clock: add function to get parent clock name"
          - Rebase to 3.4-rc1
          - Drop CONFIG_OF_CLOCK and just use CONFIG_OF
          - Add missing EXPORT_SYMBOL to various functions
          - s/clock-output-name/clock-output-names/
          - Define that fixed-clock binding is a single output
      
      v4 (Rob Herring):
          - Rework for common clk subsystem
          - Add of_clk_get_parent_name function
      
      v3: - Clarified documentation
      
      v2: - fixed errant ';' causing compile error
          - Editorial fixes from Shawn Guo
          - merged in adding lookup to clkdev
          - changed property names to match established convention. After
            working with the binding a bit it really made more sense to follow the
            lead of 'reg', 'gpios' and 'interrupts' by making the input simply
            'clocks' & 'clock-names' instead of 'clock-input-*', and to only use
            clock-output* for the producer nodes. (Sorry Shawn, this will mean
            you need to change some code, but it should be trivial)
          - Add ability to inherit clocks from parent nodes by using an empty
            'clock-ranges' property.  Useful for busses.  I could use some feedback
            on the new property name, 'clock-ranges' doesn't feel right to me.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Reviewed-by: NShawn Guo <shawn.guo@freescale.com>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Signed-off-by: NMike Turquette <mturquette@linaro.org>
      766e6a4e
  17. 11 7月, 2012 2 次提交