Message ID | 20221214125907.376148-6-jagan@amarulasolutions.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm: Add Samsung MIPI DSIM bridge | expand |
On 14.12.22 13:58, Jagan Teki wrote: > 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. > > Reviewed-by: Marek Vasut <marex@denx.de> > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index 4a165764121d..5918d31127aa 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -1687,7 +1687,7 @@ static int exynos_dsi_probe(struct platform_device *pdev) if (IS_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)) { dev_info(dev, "failed to get dsim phy\n"); return PTR_ERR(dsi->phy);