]> git.karo-electronics.de Git - karo-tx-linux.git/commit
soc: imx: Add GPCv2 power gating driver
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Tue, 28 Mar 2017 15:19:45 +0000 (08:19 -0700)
committerShawn Guo <shawnguo@kernel.org>
Fri, 7 Apr 2017 11:37:07 +0000 (19:37 +0800)
commit03aa12629fc4f73acf28e519c9ee9cb1f5dd3706
treee146754f23725897f2d370bb3df14dad2c39fc9b
parent2d9eb1dd58f26bbf782b043e8c29f9c3ca62a15c
soc: imx: Add GPCv2 power gating driver

Add code allowing for control of various power domains managed by GPCv2
IP block found in i.MX7 series of SoCs. Power domains covered by this
patch are:

    - PCIE PHY
    - MIPI PHY
    - USB HSIC PHY
    - USB OTG1/2 PHY

Support for any other power domain controlled by GPC is not present, and
can be added at some later point.

Testing of this code was done against a PCIe driver.

Cc: yurovsky@gmail.com
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Dong Aisheng <dongas86@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/Kconfig
drivers/soc/imx/Kconfig [new file with mode: 0644]
drivers/soc/imx/Makefile
drivers/soc/imx/gpcv2.c [new file with mode: 0644]