clk: add clk_set_parent()
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 8 Jan 2018 10:15:08 +0000 (11:15 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 28 Jan 2018 16:12:35 +0000 (17:12 +0100)
commitf7d1046da18fd03a047b5f4d290a8ab8550ebf73
tree308343715a5434f6442d81c29e8c618d06f08923
parent1a7f6d4597646662022f3e67ceaaeff7a23459e5
clk: add clk_set_parent()

Clocks may support multiple parents: this change introduces an
optional operation on the clk-uclass to set a clock's parent.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: David Wu <david.wu@rock-chips.com>
Series-changes: 2
- Fixed David's email address.
drivers/clk/clk-uclass.c
include/clk-uclass.h
include/clk.h