clk: AST2600: Add mux for EMMC clock
authorEddie James <eajames@linux.ibm.com>
Thu, 9 Jul 2020 19:57:05 +0000 (14:57 -0500)
committerStephen Boyd <sboyd@kernel.org>
Sat, 11 Jul 2020 16:15:33 +0000 (09:15 -0700)
commitc2407ab3bd55064d459bc822efd1c134e852798c
tree75df0051aa8414a39c33991e87cacd7a57e7fff3
parent8e3709d7e3a67e2d3f42bd1fc2052353a5678944
clk: AST2600: Add mux for EMMC clock

The EMMC clock can be derived from either the HPLL or the MPLL. Register
a clock mux so that the rate is calculated correctly based upon the
parent.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20200709195706.12741-2-eajames@linux.ibm.com
Acked-by: Joel Stanley <joel@jms.id.au>
Fixes: d3d04f6c330a ("clk: Add support for AST2600 SoC")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-ast2600.c