linux/drivers/phy
Sylwester Nawrocki e4b3d38088 phy: exynos-video-mipi: Fix regression by adding support for PMU regmap
After the Exynos Power Management Unit (PMU) driver was converted
to the platform device driver in commit 14fc8b93d4
("ARM: EXYNOS: Add platform driver support for Exynos PMU") and
then PMU device nodes added to Exynos4 DTs in commit
7b9613aca4 ("ARM: dts: add PMU syscon node for exynos4")
the mipi video phy driver started failing probing, due to overlapping
memory mapped register region resources.

Now all the Exynos peripheral devices which have registers in the PMU
region are supposed to use the regmap provided by the syscon driver.
So support for regmap is added in this patch, this unfortunately
creates yet another indirection into that supposedly trivial driver.

The additional mutex is required because single register is used by
PHY pairs (they share bit in a register). An improvement here could
be to allow a PHY instance be created with a driver custom mutex,
which would then be common for each PHY pair. This would eliminate
one of 3 mutexes which need to be taken in the phy_power_on/
phy_power_off code path. However, I tried to keep this bug fix patch
possibly simple.

This change is needed to make MIPI DSI displays and MIPI CSI-2
camera sensors working again on Exynos4 boards.

Cc: Pankaj Dubey <pankaj.dubey@samsung.com>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2015-01-30 16:06:48 +05:30
..
Kconfig phy: add a driver for the Rockchip SoC internal USB2.0 PHY 2015-01-30 16:06:47 +05:30
Makefile phy: add a driver for the Rockchip SoC internal USB2.0 PHY 2015-01-30 16:06:47 +05:30
phy-armada375-usb2.c phy: fix return value check in armada375_usb_phy_probe() 2015-01-21 15:23:06 +05:30
phy-bcm-kona-usb2.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-berlin-sata.c phy: Use PTR_ERR_OR_ZERO to fix warning raised by coccinelle 2014-11-26 11:07:13 +05:30
phy-berlin-usb.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-core.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-exynos4x12-usb2.c drivers: phy: exynos-usb2: add support for Exynos 3250 2014-07-22 12:46:10 +05:30
phy-exynos5-usbdrd.c phy: exynos5-usbdrd: Add facility for VBUS-BOOST-5V supply 2014-11-22 14:08:09 +05:30
phy-exynos4210-usb2.c
phy-exynos5250-sata.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-exynos5250-usb2.c phy: phy-samsung-usb2: Change phy power on/power off sequence 2014-07-22 12:46:10 +05:30
phy-exynos-dp-video.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-exynos-mipi-video.c phy: exynos-video-mipi: Fix regression by adding support for PMU regmap 2015-01-30 16:06:48 +05:30
phy-hix5hd2-sata.c phy: Use PTR_ERR_OR_ZERO to fix warning raised by coccinelle 2014-11-26 11:07:13 +05:30
phy-miphy28lp.c phy: miphy28lp: Pass sysconfig register offsets via syscfg dt property. 2015-01-21 15:23:06 +05:30
phy-miphy365x.c phy: Use PTR_ERR_OR_ZERO to fix warning raised by coccinelle 2014-11-26 11:07:13 +05:30
phy-mvebu-sata.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-omap-control.c phy: phy-ti-pipe3: fix inconsistent enumeration of PCIe gen2 cards 2014-12-23 15:44:32 +05:30
phy-omap-usb2.c More ACPI and power management updates for 3.19-rc1 2014-12-18 20:28:33 -08:00
phy-qcom-apq8064-sata.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-qcom-ipq806x-sata.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-rcar-gen2.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-rockchip-usb.c phy: add a driver for the Rockchip SoC internal USB2.0 PHY 2015-01-30 16:06:47 +05:30
phy-s5pv210-usb2.c phy: Add support for S5PV210 to the Exynos USB 2.0 PHY driver 2014-07-19 04:25:09 +09:00
phy-samsung-usb2.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-samsung-usb2.h ARM: SoC platform changes for 3.17 2014-08-08 11:14:29 -07:00
phy-spear1310-miphy.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-spear1340-miphy.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30
phy-stih41x-usb.c phy: Use PTR_ERR_OR_ZERO to fix warning raised by coccinelle 2014-11-26 11:07:13 +05:30
phy-stih407-usb.c phy: phy-stih407-usb: Pass sysconfig register offsets via syscfg property. 2015-01-21 15:23:06 +05:30
phy-sun4i-usb.c phy-sun4i-usb: Change disconnect threshold value for sun6i 2014-12-23 15:44:31 +05:30
phy-ti-pipe3.c phy: ti-pipe3: Fix SATA across suspend/resume 2015-01-21 15:23:06 +05:30
phy-twl4030-usb.c Improvements in phy-core specifically on PHY core finds the PHY in the case 2014-11-27 08:25:20 -08:00
phy-xgene.c phy: remove the old lookup method 2014-11-22 13:58:39 +05:30