From: WeiYong Bi Date: Wed, 12 Jul 2017 06:20:07 +0000 (+0800) Subject: phy: rockchip-inno-mipi-dphy: Add support for rk3366 X-Git-Tag: release-20171130_firefly~4^2~205 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9de84324a2ec10ca7260a588698dbfc34131c730;p=firefly-linux-kernel-4.4.55.git phy: rockchip-inno-mipi-dphy: Add support for rk3366 Change-Id: I1e0898b8b588bf71df9a0e1f848f350654446dcf Signed-off-by: WeiYong Bi --- diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-mipi-dphy.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-mipi-dphy.txt index 94f4423442e5..7e596717c1b6 100644 --- a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-mipi-dphy.txt +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-mipi-dphy.txt @@ -1,7 +1,9 @@ ROCKCHIP MIPI DPHY WITH INNO IP BLOCK Required properties: - - compatible : should be "rockchip,rk3368-mipi-dphy"; + - compatible : must be one of: + "rockchip,rk3366-mipi-dphy"; + "rockchip,rk3368-mipi-dphy"; - reg : the address offset of register for mipi-dphy configuration. - #phy-cells : must be 0. See ./phy-bindings.txt for details. - clocks and clock-names: diff --git a/drivers/phy/phy-rockchip-inno-mipi-dphy.c b/drivers/phy/phy-rockchip-inno-mipi-dphy.c index a0eda5d12336..ca878c001db6 100644 --- a/drivers/phy/phy-rockchip-inno-mipi-dphy.c +++ b/drivers/phy/phy-rockchip-inno-mipi-dphy.c @@ -661,6 +661,7 @@ static int inno_mipi_dphy_probe(struct platform_device *pdev) } static const struct of_device_id inno_mipi_dphy_of_match[] = { + { .compatible = "rockchip,rk3366-mipi-dphy", }, { .compatible = "rockchip,rk3368-mipi-dphy", }, { /* Sentinel */ } };