sunxi: clk: A80: add MMC clock support
authorAndre Przywara <andre.przywara@arm.com>
Tue, 29 Jan 2019 15:54:10 +0000 (15:54 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 29 Jan 2019 18:03:08 +0000 (23:33 +0530)
commite0c7ce7e52b73a1eeb3568b8a6bbcc7f189bb389
tree4542335b42f5d137f332d720ea091b9a00bc2383
parentbb3e5aa2896d69a6fe86861004d7d4e33824efbe
sunxi: clk: A80: add MMC clock support

The A80 handles resets and clock gates for the MMC devices differently,
outside of the CCU IP block. Consequently we have a separate clock
device with a separate binding for that.

Implement that with the respective clock gates and resets to allow the
A80 taking part in the DM_MMC game.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
[jagan: fix a80 mmc clock config compatible]
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/clk/sunxi/clk_a80.c