Commit 9528af4a authored by Jagan Teki's avatar Jagan Teki Committed by Inki Dae

drm: exynos: dsi: Mark PHY as optional

The same Samsung MIPI DSIM master can also be used in NXP's
i.MX8M Mini/Nano/Plus SoC.

In i.MX8M Mini/Nano/Plus SoC the DSI Phy requires a MIPI DPHY
bit to reset in order to activate the PHY and that can be done
via upstream i.MX8M blk-ctrl driver.

So, mark the phy get as optional.
Tested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: default avatarFrieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarJagan Teki <jagan@amarulasolutions.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent e39a82bf
...@@ -1732,7 +1732,7 @@ static int exynos_dsi_probe(struct platform_device *pdev) ...@@ -1732,7 +1732,7 @@ static int exynos_dsi_probe(struct platform_device *pdev)
if (IS_ERR(dsi->reg_base)) if (IS_ERR(dsi->reg_base))
return PTR_ERR(dsi->reg_base); return PTR_ERR(dsi->reg_base);
dsi->phy = devm_phy_get(dev, "dsim"); dsi->phy = devm_phy_optional_get(dev, "dsim");
if (IS_ERR(dsi->phy)) { if (IS_ERR(dsi->phy)) {
dev_info(dev, "failed to get dsim phy\n"); dev_info(dev, "failed to get dsim phy\n");
return PTR_ERR(dsi->phy); return PTR_ERR(dsi->phy);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment