09 Jul, 2016

1 commit

  • When failing to lookup the assigned clock for setting its parents, we
    were previously printing a misleading error message that lead to think
    that it was the parent clock what couldn't be found.

    Change error message to make clear that it's the assigned clock what
    couldn't be found in this case.

    Signed-off-by: Tomeu Vizoso
    Signed-off-by: Michael Turquette
    Link: lkml.kernel.org/r/1467962078-30405-1-git-send-email-tomeu.vizoso@collabora.com

    Tomeu Vizoso
     

22 May, 2015

1 commit


16 May, 2015

1 commit


13 Mar, 2015

1 commit

  • of_clk_get_by_clkspec() has the same function signature as
    of_clk_get_from_provider()

    struct clk *of_clk_get_by_clkspec(struct of_phandle_args
    *clkspec)
    struct clk *of_clk_get_from_provider(struct of_phandle_args
    *clkspec)

    except of_clk_get_by_clkspec() checks to make sure clkspec is not
    NULL. Let's remove of_clk_get_by_clkspec() and replace the
    callers of it (clkconf.c) with of_clk_get_from_provider().

    Cc: Sylwester Nawrocki
    Reviewed-by: Tomeu Vizoso
    Signed-off-by: Stephen Boyd

    Stephen Boyd
     

05 Aug, 2014

1 commit

  • The of_clk_set_defaults() function is used in subsystems which can
    be built as module. Add the missing symbol export entry so there
    is no build errors like:
    "ERROR: "of_clk_set_defaults" [drivers/i2c/i2c-core.ko] undefined!".

    Fixes commit: 86be408bfbd846fab3c4ac21d6f9298bd2e4b790
    "clk: Support for clock parents and rates assigned from device tree"

    Reported-by: kbuild test robot
    Signed-off-by: Sylwester Nawrocki
    Acked-by: Wolfram Sang
    Signed-off-by: Mike Turquette

    Sylwester Nawrocki
     

02 Aug, 2014

1 commit


26 Jul, 2014

1 commit

  • This patch adds helper functions to configure clock parents and rates
    as specified through 'assigned-clock-parents', 'assigned-clock-rates'
    DT properties for a clock provider or clock consumer device.
    The helpers are now being called by the bus code for the platform, I2C
    and SPI busses, before the driver probing and also in the clock core
    after registration of a clock provider.

    Signed-off-by: Sylwester Nawrocki
    Acked-by: Kyungmin Park
    Signed-off-by: Mike Turquette

    Sylwester Nawrocki