linux-uconsole/drivers/phy
Simon Xue f6a80248e3 phy: rockchip-inno-combphy: support low power consumption mode
Support low power consumption mode when PCIe suspend.

1. Add missing Kconfig and Makefile
2. Add usb3phy_grf_p reset
3. Turn off PCIe phy pd
4. Write some more MAGIC registers to enter low power mode like following:
	/* enter PCIe phy low power mode */
	writel(0x36, priv->mmio + 0x2150);
	writel(0x36, priv->mmio + 0x3150);
	writel(0x02, priv->mmio + 0x21e8);
	writel(0x02, priv->mmio + 0x31e8);
	writel(0x0c, priv->mmio + 0x2080);
	writel(0x0c, priv->mmio + 0x3080);
	writel(0x08, priv->mmio + 0x20c0);
	writel(0x08, priv->mmio + 0x30c0);
	writel(0x08, priv->mmio + 0x2058);

	writel(0x10, priv->mmio + 0x2044);
	writel(0x10, priv->mmio + 0x21a8);
	writel(0x10, priv->mmio + 0x31a8);
	writel(0x08, priv->mmio + 0x2058);
	writel(0x08, priv->mmio + 0x3058);
	writel(0x40, priv->mmio + 0x205c);
	writel(0x40, priv->mmio + 0x305c);
	writel(0x08, priv->mmio + 0x2184);
	writel(0x08, priv->mmio + 0x3184);
	writel(0x00, priv->mmio + 0x2150);
	writel(0x00, priv->mmio + 0x3150);
	writel(0x10, priv->mmio + 0x20e0);
	writel(0x00, priv->mmio + 0x21e8);
	writel(0x00, priv->mmio + 0x31e8);

Change-Id: I2dc7f99e54d336f45a13b2842bde1a02300311fc
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2019-10-17 10:18:17 +08:00
..
allwinner phy: sun4i-usb: Make sure to disable PHY0 passby for peripheral mode 2019-05-31 06:46:20 -07:00
amlogic
broadcom
hisilicon
lantiq
marvell
mediatek
motorola phy: mapphone-mdm6600: add gpiolib dependency 2019-05-31 06:46:20 -07:00
qualcomm phy: ath79-usb: Fix the main reset name to match the DT binding 2019-03-05 17:58:48 +01:00
ralink
renesas
rockchip phy: rockchip-inno-combphy: support low power consumption mode 2019-10-17 10:18:17 +08:00
samsung
st
tegra
ti phy: ti-pipe3: fix missing bit-wise or operator when assigning val 2019-05-25 18:23:27 +02:00
Kconfig rk: revert to v4.4 2019-02-10 00:33:21 +08:00
Makefile rk: revert to v4.4 2019-02-10 00:33:21 +08:00
phy-core.c phy: add cp_test callback 2019-10-16 17:35:55 +08:00
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c rk: revert to v4.4 2019-02-10 00:33:21 +08:00