1. 19 2月, 2016 1 次提交
    • S
      clk: gpio: Really allow an optional clock= DT property · 4462b4bb
      Stephen Boyd 提交于
      We mis-merged the original patch from Russell here and so the
      patch went almost all the way, except that we still failed to
      probe when there wasn't a clocks property in the DT node. Allow
      that case by making a negative value from
      of_clk_get_parent_count() into "no parents", like the original
      patch did.
      
      Fixes: 7ed88aa2 ("clk: fix clk-gpio.c with optional clock= DT property")
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Michael Turquette <mturquette@baylibre.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      4462b4bb
  2. 07 2月, 2016 1 次提交
    • S
      clk: gpio: Make into a platform driver · 14b04f28
      Stephen Boyd 提交于
      clk_get() for DT based clks already returns EPROBE_DEFER when the
      OF clk provider is not present. So having all this code in the
      clk provider to return EPROBE_DEFER when the gpio isn't ready yet
      can be replaced with a platform driver that doesn't add the clk
      provider until the gpio can be requested. Get rid of the
      OF_CLK_DECLARE and convert this to a platform driver instead.
      Tested-by: NJyri Sarha <jsarha@ti.com>
      Cc: Sergej Sawazki <ce3a@gmx.de>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Jon Nettleton <jon@solid-run.com>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      14b04f28
  3. 30 1月, 2016 1 次提交
  4. 03 1月, 2016 1 次提交
  5. 01 1月, 2016 2 次提交
  6. 19 11月, 2015 1 次提交
    • J
      clk: gpio: Get parent clk names in of_gpio_clk_setup() · f66541ba
      Jyri Sarha 提交于
      Get parent clk names in of_gpio_clk_setup() and store the names
      in struct clk_gpio_delayed_register_data instead of doing it from
      the clk provider's get() callback. of_clk_get_parent_name() can't
      be called in struct of_clk_provider's get() callback since it may
      make a call to of_clk_get_from_provider() and this in turn tries
      to recursively lock of_clk_mutex.
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      Cc: Sergej Sawazki <ce3a@gmx.de>
      Fixes: 0a4807c2 ("clk: Make of_clk_get_parent_name() robust with #clock-cells = 1")
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      f66541ba
  7. 29 7月, 2015 2 次提交
  8. 07 7月, 2015 4 次提交
  9. 15 5月, 2015 1 次提交
  10. 11 4月, 2015 1 次提交
  11. 01 10月, 2014 1 次提交
  12. 27 9月, 2014 1 次提交