phy: exynos4: Remove duplicated defines of PHY register defines
authorKrzysztof Kozlowski <krzk@kernel.org>
Wed, 29 Mar 2017 08:25:57 +0000 (13:55 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 10 Apr 2017 11:12:58 +0000 (16:42 +0530)
commit5812f0106c449533d0eea0b16a6244ec3d6d4abb
treeb0a5ad71d9dd8e75d6280588c1d681eef248948e
parent5b85927e5cc4d2105e2421a92519da3b2a73a142
phy: exynos4: Remove duplicated defines of PHY register defines

Phy drivers access PMU region through regmap provided by exynos-pmu
driver.   However there is no need to duplicate defines for PMU
registers.  Instead just use whatever is defined in exynos-regs-pmu.h.

Additionally MIPI PHY registers for Exynos5433 start from the same
address as Exynos4 and Exynos5250 so re-use existing defines.

This reduces number of defines and allows removal of one header file.

Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-exynos-mipi-video.c
include/linux/mfd/syscon/exynos5-pmu.h
include/linux/soc/samsung/exynos-regs-pmu.h