1. 12 4月, 2013 4 次提交
  2. 16 2月, 2013 1 次提交
  3. 10 2月, 2013 2 次提交
  4. 29 1月, 2013 2 次提交
  5. 25 1月, 2013 1 次提交
  6. 19 1月, 2013 1 次提交
    • B
      clk: prima2: enable dt-binding clkdev mapping · eb8b8f2e
      Barry Song 提交于
      this patche deletes hard code that registers clkdev by things like:
      clk_register_clkdev(clk, NULL, "b0030000.nand");
      clk_register_clkdev(clk, NULL, "b0040000.audio");
      clk_register_clkdev(clk, NULL, "b0080000.usp");
      prima2 clock controller becomes a clock provider and  every dt node
      just declares its clock sources by dt prop.
      
      it also makes us easier to extend this driver to support both prima2
      and marco as marco has different address mapping with prima2.
      Signed-off-by: NBarry Song <Baohua.Song@csr.com>
      Signed-off-by: NMike Turquette <mturquette@linaro.org>
      eb8b8f2e
  7. 04 1月, 2013 1 次提交
  8. 22 11月, 2012 3 次提交
  9. 20 11月, 2012 4 次提交
  10. 17 11月, 2012 1 次提交
  11. 14 11月, 2012 1 次提交
  12. 12 11月, 2012 1 次提交
  13. 21 9月, 2012 1 次提交
  14. 11 9月, 2012 3 次提交
    • S
      ARM: imx6q: replace clk_register_clkdev with clock DT lookup · 0e87e043
      Shawn Guo 提交于
      It really becomes an maintenance issue that every time a device needs
      to look up (clk_get) a clock we have to patch kernel clock file to call
      clk_register_clkdev for that clock.
      
      Since clock DT support which is meant to resolve clock lookup in device
      tree is in place, the patch moves imx6q client devices' clock lookup
      over to device tree, so that any new lookup to be added at later time
      can just get done in DT instead of kernel.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      0e87e043
    • S
      clk: mxs: replace imx23 clk_register_clkdev with clock DT lookup · 53f9443d
      Shawn Guo 提交于
      It really becomes a maintenance issue that every time a device needs
      to look up (clk_get) a clock we have to patch kernel clock file to call
      clk_register_clkdev for that clock.
      
      Since clock DT support which is meant to resolve clock lookup in device
      tree is in place, the patch moves imx23 client devices' clock lookup
      over to device tree, so that any new lookup to be added at later time
      can just get done in DT instead of kernel.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      53f9443d
    • S
      clk: mxs: replace imx28 clk_register_clkdev with clock DT lookup · b598b9f3
      Shawn Guo 提交于
      It really becomes a maintenance issue that every time a device needs
      to look up (clk_get) a clock we have to patch kernel clock file to call
      clk_register_clkdev for that clock.
      
      Since clock DT support which is meant to resolve clock lookup in device
      tree is in place, the patch moves imx28 client devices' clock lookup
      over to device tree, so that any new lookup to be added at later time
      can just get done in DT instead of kernel.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      b598b9f3
  15. 12 7月, 2012 2 次提交
    • 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
    • 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