summaryrefslogtreecommitdiff
path: root/drivers/clk/bcm/clk-nsp.c
diff options
context:
space:
mode:
authorRemi Pommarel <repk@triplefau.lt>2015-12-06 19:22:47 +0300
committerMichael Turquette <mturquette@baylibre.com>2015-12-25 07:38:30 +0300
commit6d18b8adbe679b5947aa822b676efff230acc5f6 (patch)
tree5119d5f0608992c2f7b597c491d8691d856d53c4 /drivers/clk/bcm/clk-nsp.c
parent9c95b32ca09364e4687b72c4e17b78dc1c420026 (diff)
downloadlinux-6d18b8adbe679b5947aa822b676efff230acc5f6.tar.xz
clk: bcm2835: Support for clock parent selection
Some bcm2835 clocks used by hardware (like "PWM" or "H264") can have multiple parent clocks. These clocks divide the rate of a parent which can be selected by setting the proper bits in the clock control register. Previously all these parents where handled by a mux clock. But a mux clock cannot be used because updating clock control register to select parent needs a password to be xor'd with the parent index. This patch get rid of mux clock and make these clocks handle their own parent, allowing them to select the one to use. Signed-off-by: Remi Pommarel <repk@triplefau.lt> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Diffstat (limited to 'drivers/clk/bcm/clk-nsp.c')
0 files changed, 0 insertions, 0 deletions