soc: mediatek: pm-domains: Add subsystem clocks
authorMatthias Brugger <mbrugger@suse.com>
Fri, 30 Oct 2020 11:36:14 +0000 (12:36 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 27 Nov 2020 11:04:43 +0000 (12:04 +0100)
commit123e8b4fd0cd9999dd384bef1d7417da68fde962
tree133d013a3454d4b54220a4796f927785a8a02185
parent58a17e310a1c638a71892506f14c1e09b326ed56
soc: mediatek: pm-domains: Add subsystem clocks

For the bus protection operations, some subsystem clocks need to be enabled
before releasing the protection. This patch identifies the subsystem clocks
by it's name.

Suggested-by: Weiyi Lu <weiyi.lu@mediatek.com>
[Adapted the patch to the mtk-pm-domains driver]
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20201030113622.201188-9-enric.balletbo@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pm-domains.c
drivers/soc/mediatek/mtk-pm-domains.h