22 Jul, 2017
1 commit
-
Now that we have a custom printf format specifier, convert users of
full_name to use %pOF instead. This is preparation to remove storing
of the full path string for each node.Signed-off-by: Rob Herring
Cc: Michael Turquette
Cc: Stephen Boyd
Cc: Maxime Coquelin
Cc: Alexandre Torgue
Cc: Russell King
Cc: Matthias Brugger
Cc: Geert Uytterhoeven
Cc: Maxime Ripard
Cc: Chen-Yu Tsai
Cc: "Emilio López"
Cc: Peter De Schrijver
Cc: Prashant Gaikwad
Cc: Thierry Reding
Cc: Jonathan Hunter
Cc: Tero Kristo
Cc: linux-clk@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-renesas-soc@vger.kernel.org
Cc: linux-tegra@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Acked-by: Maxime Ripard
Reviewed-by: Geert Uytterhoeven
Acked-by: Geert Uytterhoeven
Acked-by: James Liao
Acked-by: Alexandre TORGUE
Reviewed-by: Matthias Brugger
Signed-off-by: Stephen Boyd
01 Jun, 2017
1 commit
-
When failing to set a clock the printout emitted is incorrect.
"u32 rate" is formatted as %d and should be %u whereas "unsigned long
clk_set_rate()" is formatted as %ld and should be %lu as per
Documentation/printk-formats.txt.Fixes: 2885c3b2a3da ("clk: Show correct information when fail to set clock rate")
Signed-off-by: Bryan O'Donoghue
Signed-off-by: Stephen Boyd
10 Jan, 2017
1 commit
-
EPROBE_DEFER is not an error, hence printing an error message like
clk: couldn't get clock 0 for /soc/display@feb00000
may confuse the user.
Suppress error messages in case of probe deferral to fix this.
Signed-off-by: Geert Uytterhoeven
Reviewed-by: Javier Martinez Canillas
Reviewed-by: Marek Vasut
Signed-off-by: Stephen Boyd
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
22 May, 2015
1 commit
-
Signed-off-by: Shailendra Verma
Signed-off-by: Stephen Boyd
16 May, 2015
1 commit
-
This patch shows the correct information for debugging when fail
to set clock rate because original error message shows the error
value instead of current clock rate.Cc: Mike Turquette
Signed-off-by: Chanwoo Choi
Acked-by: Sylwester Nawrocki
Signed-off-by: Stephen Boyd
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
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
02 Aug, 2014
1 commit
-
There is a cut and paste bug so we check "pclk" instead of "clk".
Signed-off-by: Dan Carpenter
Signed-off-by: Mike Turquette
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