UPSTREAM: phy: rockchip-dp: should be a child device of the GRF
authorJacob Chen <jacob2.chen@rock-chips.com>
Fri, 9 Dec 2016 06:40:51 +0000 (14:40 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 9 Dec 2016 10:14:14 +0000 (18:14 +0800)
commit56191483061d03d987910eea774bef16e21144c3
tree045174746d86ce0a4cfc6bfc946282dd687782b0
parent7362631009263cfec36b3d74debb8664eb34d3a9
UPSTREAM: phy: rockchip-dp: should be a child device of the GRF

The displayport-phy is fully enclosed in the general register files (GRF).
Therefore as seen from the device-tree it shouldn't be a separate platform-
device but instead a sub-device of the GRF - using the simply-mfd mechanism.

The driver entered the kernel in the current merge-window, so we can still
adapt the binding without needing a fallback, as the binding hasn't been
released with a full kernel yet.

While the edp phy is fully part of the GRF, it doesn't have any separate
register set there, so doesn't get any register-area assigned.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Change-Id: I44a857051be195386fc888b2c713bedc948d5c95
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
 (cherry picked from commit 0311c76e4722b8d6e5fa47eaee63c6552bcc74f5)
Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt [new file with mode: 0644]
drivers/phy/phy-rockchip-dp.c