]> git.baikalelectronics.ru Git - kernel.git/commit
clk: Provide OF helper to mark clocks as CRITICAL
authorLee Jones <lee.jones@linaro.org>
Thu, 11 Feb 2016 21:19:11 +0000 (13:19 -0800)
committerMichael Turquette <mturquette@baylibre.com>
Sat, 9 Apr 2016 18:58:11 +0000 (11:58 -0700)
commit8201238920329653e33a23a468de686ce79c46e3
treecbbd57d3e10ccea55b97af2fdcc199f22772e4b7
parent46c3ed4512287163caa7be1fa85e5f041aa26353
clk: Provide OF helper to mark clocks as CRITICAL

This call matches clocks which have been marked as critical in DT
and sets the appropriate flag.  These flags can then be used to
mark the clock core flags appropriately prior to registration.

Legacy bindings requiring this feature must add the clock-critical
property to their binding descriptions, as it is not a part of
common-clock binding.

Cc: devicetree@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/1455225554-13267-4-git-send-email-mturquette@baylibre.com
drivers/clk/clk.c
include/linux/clk-provider.h