phy: rockchip-inno-mipi-dphy: Add support for rk3366
authorWeiYong Bi <bivvy.bi@rock-chips.com>
Wed, 12 Jul 2017 06:20:07 +0000 (14:20 +0800)
committerWeiYong Bi <bivvy.bi@rock-chips.com>
Thu, 13 Jul 2017 01:50:34 +0000 (09:50 +0800)
Change-Id: I1e0898b8b588bf71df9a0e1f848f350654446dcf
Signed-off-by: WeiYong Bi <bivvy.bi@rock-chips.com>
Documentation/devicetree/bindings/phy/phy-rockchip-inno-mipi-dphy.txt
drivers/phy/phy-rockchip-inno-mipi-dphy.c

index 94f4423442e5dd6047870e5c4b4329ba20ff9b96..7e596717c1b6b534cf4d2e46dc066f125a2ed5f1 100644 (file)
@@ -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:
index a0eda5d12336b5614eabe974b68cd3d23912178a..ca878c001db654a6735e052f5ca32f97cec87550 100644 (file)
@@ -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 */ }
 };