]> asedeno.scripts.mit.edu Git - linux.git/commit
phy: exynos-dp-video: Use syscon support to control pmu register
authorVivek Gautam <gautam.vivek@samsung.com>
Tue, 16 Sep 2014 05:02:06 +0000 (10:32 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 24 Sep 2014 09:48:34 +0000 (15:18 +0530)
commita5ec598650257d9a7abefa6616840c872e194fdb
tree3e027828bd1c845721e14e98289a7e2f6811fa18
parent26389c78269ada2927a4ec114bbf4df45776445d
phy: exynos-dp-video: Use syscon support to control pmu register

Currently the DP_PHY_ENABLE register is mapped in the driver,
and accessed to control power to the PHY.
With mfd-syscon and regmap interface available at our disposal,
it's wise to use that instead of using a 'reg' property for the
controller and allocating a memory resource for that.

To facilitate this, we have added another compatible string
for Exynso5420 SoC to acquire driver data which contains
different DP-PHY-CONTROL register offset.

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/samsung-phy.txt
drivers/phy/phy-exynos-dp-video.c