]> git.baikalelectronics.ru Git - kernel.git/commit
soc: imx: gpcv2: add domain option to keep domain clocks enabled
authorLucas Stach <l.stach@pengutronix.de>
Sat, 2 Oct 2021 00:59:41 +0000 (02:59 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 6 Oct 2021 12:13:39 +0000 (20:13 +0800)
commit38ee8c675b3b89920359c1d1a63c74216a8bdc2c
tree727c8723ea9d89d57a558e64845d2c009a612e3c
parent61102c21a124500de45f9e8d325ee2813187a967
soc: imx: gpcv2: add domain option to keep domain clocks enabled

Some of the MIX domains are using clocks to drive the bus bridges. Those
must be enabled at all times, as long as the domain is powered up and
they don't have any other consumer than the power domain. Add an option
to keep the clocks attached to a domain enabled as long as the domain
is power up and only disable them after the domain is powered down.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/gpcv2.c