]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
clk: AST2600: Add mux for EMMC clock
authorEddie James <eajames@linux.ibm.com>
Thu, 9 Jul 2020 19:57:05 +0000 (14:57 -0500)
committerKhalid Elmously <khalid.elmously@canonical.com>
Sat, 8 Aug 2020 05:53:12 +0000 (01:53 -0400)
commit1cb2645e4592d703c5b288dc2d4e2d843704656d
treea0a1697f09c1c72595f3ab3c2c7f29d6bb20ff33
parent9c436608f5ebc433a4510e8b21fe62fa4d3b2dfd
clk: AST2600: Add mux for EMMC clock

BugLink: https://bugs.launchpad.net/bugs/1888560
[ Upstream commit c2407ab3bd55064d459bc822efd1c134e852798c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/clk/clk-ast2600.c