summaryrefslogtreecommitdiff
path: root/drivers/clk/sprd
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2019-11-08 10:17:18 +0300
committerStephen Boyd <sboyd@kernel.org>2019-11-09 00:07:59 +0300
commitfc59462c5ce60da119568fac325c92fc6b7c6175 (patch)
treeeb80198e0d3defea821eb551069da9df10f60790 /drivers/clk/sprd
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff)
downloadlinux-fc59462c5ce60da119568fac325c92fc6b7c6175.tar.xz
clk: clk-gpio: propagate rate change to parent
For an external clock source, which is gated via a GPIO, the rate change should typically be propagated to the parent clock. The situation where we are requiring this propagation, is when an external clock is connected to override an internal clock (which typically has a fixed rate). The external clock can have a different rate than the internal one, and may also be variable, thus requiring the rate propagation. This rate change wasn't propagated until now, and it's unclear about cases where this shouldn't be propagated. Thus, it's unclear whether this is fixing a bug, or extending the current driver behavior. Also, it's unsure about whether this may break any existing setups; in the case that it does, a device-tree property may be added to disable this flag. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Link: https://lkml.kernel.org/r/20191108071718.17985-1-alexandru.ardelean@analog.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/sprd')
0 files changed, 0 insertions, 0 deletions