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)
commitd56f8994b6fb928f59481fabc25bcd1c2f9bd06d
treecbbd57d3e10ccea55b97af2fdcc199f22772e4b7
parent2e20fbf592621b2c2aeddd82e0fa3dad053cce03
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