phy: exynos-mipi-video: Rewrite handling of phy registers
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 23 Mar 2016 11:09:17 +0000 (12:09 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 30 Apr 2016 14:42:29 +0000 (20:12 +0530)
commit97a3042f76164330f7ac5dbe7434f63f92d6f09d
treeeecfe7b87fdeb3d954d7a8f7bb38ca2b91c90906
parent26dbadba495fa69b041a7f1ceaa8c48c26178e34
phy: exynos-mipi-video: Rewrite handling of phy registers

Controlling Exynos MIPI DPHY is done by handling 2 registers: one for
phy reset and one for enabling it. This patch moves definitions of those
2 registers to speparate exynos_mipi_phy_desc structure, which can be
defined separately for each PHY for each supported hardware variant.
This code rewrite is needed to add support for newer Exynos SoCs, which
have MIPI PHY related registers at different offsets or even different
register regions.

Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-exynos-mipi-video.c