From 9de84324a2ec10ca7260a588698dbfc34131c730 Mon Sep 17 00:00:00 2001 From: WeiYong Bi Date: Wed, 12 Jul 2017 14:20:07 +0800 Subject: [PATCH] phy: rockchip-inno-mipi-dphy: Add support for rk3366 Change-Id: I1e0898b8b588bf71df9a0e1f848f350654446dcf Signed-off-by: WeiYong Bi --- .../devicetree/bindings/phy/phy-rockchip-inno-mipi-dphy.txt | 4 +++- drivers/phy/phy-rockchip-inno-mipi-dphy.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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 */ } }; -- 2.34.1