From patchwork Mon Feb 27 11:39:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2745 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8C8DF3F9C2 for ; Mon, 27 Feb 2023 12:40:15 +0100 (CET) Received: by mail-pl1-f198.google.com with SMTP id n1-20020a170902968100b0019cf3c5728fsf2867846plp.19 for ; Mon, 27 Feb 2023 03:40:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677498014; cv=pass; d=google.com; s=arc-20160816; b=qzYF1AxNU55xvQ/P+WWGP3SRWUkyMI5T5vAprTdTeTjpe4dRfaAK6VpZY+BMK4QTCZ 9meePGwf6LArrCzllUcmQQidAtbC5mdT7+J1MJI2s+CDI4rZ9TbK0blvQDbTiLI8oihE mWfOfrOVKk1fNm8IjCxb2mM8h+Df9+5OVUhK4Jil1fQk9WVa5on6fGoo+bMHQaJsUu5+ n0qvA/Z2XdTq422rWDXijeP0sICaw+wSKE5uUgFMba5iWfHClcttidx2uRSx0ev2fLRs 2uqiLBPXUEUP7bqqGNDyBk6y9WPfwtAFD1E1XYof4UAu4cihCAM60xOQRLcS2ICn/2T3 v/uw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=okoBAF4yOzmR28bddkwN/FFAF8GdvfEdC4GHslyh6uQ=; b=pzgnG9vnhfsThnz3vAhTE2rdSlYal84PTjH5Q/2RmuzP+eXe83yNvYeiARsIsbZBMA amq6WMpadPlrcTeLJTKHSDPe2hQw1WbIWMA/gwLtfJc1PfT758g3/W6HycEeOHJAE8tC z2x0jtpcO5WE1hrprspjcg+LmC5mYuFWyLYvbB9q/I4py9qMcO9MhjGtoPVcQGdSJYr6 6G6+4dgCFIslNxGZWJ1CFGmwkmb+gI8yFXTZPWG8/P/lXZ8OmOWWMqJM1jKPoA0JeXBb teurI/qMaWWEeQ4w0KtZWZUdc8RsUaGxCS14XoVOngDa8GcAMi9Tt0QEJErxLdMgzkcO x+Ew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rOiJ8pyf; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=okoBAF4yOzmR28bddkwN/FFAF8GdvfEdC4GHslyh6uQ=; b=lTmgbQsxP5Gm4g+c/Md0GUw1fRcK1o4UUBd8rrb1CUmzexNacZXtE0MaurO4bzpkPM isguRPFDVJS6/GJx6WHJo63LxhyyQLvGe8bFPmMMdVronucegctloMwCPUB48kWMtDA9 Q2CuVYDCf5q6CDsjqmmF3J8UzLJkTwyEVkfjQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=okoBAF4yOzmR28bddkwN/FFAF8GdvfEdC4GHslyh6uQ=; b=Y+3DouoNP4dC9Ce+gCF160OPPlwtwzirRxCuTsviLZv3ey0NqVmqTvO7HbdkLMVj23 lPXW8pHlaMVve0Ad4EM2lJPqaLu40uxjy02TONUywgKPpQghwPIvgF4fG+heG1hN4SnH Eh+IXutjZSk1xzH/OCGWcES6UIf1Q3wX9TmCS6IZ+O3rGxq2Wd4hzCq+ZYzQ4RQyKiKz zGhlp6xEQdYNy4L7kjrlJUA0gvdy3SBeB2u2VLcxA8l9YQkydJnHJnc7+cPeITR+dT8B bU/7PeRsPMOqXOcgdOZL480zwQ2mxws4nNBODQKs/P4LX0Hfblz/egI7LOSCsNyzcGjA c2PA== X-Gm-Message-State: AO0yUKVE8ZRDMQDQzbRlKmvqbXwgKLRqlR+f1ADo/OT5usyZW9GiKaXf sM+AZd3ReS28+GBEl27+TxVZPwWr X-Google-Smtp-Source: AK7set+xqjbevzSBhalPhLNzV9YmQ+cjYNdUlaCfhQroMc+cotBAT0zEAyxrOz4hu1kRTRrZgTtzpg== X-Received: by 2002:a63:3dc4:0:b0:502:d6c1:a72 with SMTP id k187-20020a633dc4000000b00502d6c10a72mr5407574pga.12.1677498014345; Mon, 27 Feb 2023 03:40:14 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:d4ca:b0:196:751e:4f6e with SMTP id o10-20020a170902d4ca00b00196751e4f6els10443929plg.10.-pod-prod-gmail; Mon, 27 Feb 2023 03:40:13 -0800 (PST) X-Received: by 2002:a17:902:ec86:b0:196:11b1:101d with SMTP id x6-20020a170902ec8600b0019611b1101dmr29561181plg.28.1677498013132; Mon, 27 Feb 2023 03:40:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677498013; cv=none; d=google.com; s=arc-20160816; b=zr5yv9d3m2DGY6AnUWZNV4PV8IMLFCCFzrNKTtu1VsWkhOLB5odc4KwwkBD8yPDEJl Nrnfysudug0Zbs6hAifnO1d9CW3Aav0stNHDX/gBFmqBvC363swSdefYqM7BU7/AT/Ad twfQzyhXqxZn/JDVdK0SkTjBpb4c9YAlty/bsuGr//Wxc1M1juNUHLu9CFhi9MscrHUT UYPaGgBYr+uDBxfZinJ3pP8v6Kmj3/ZY7jgOWFjLWwJJeDc25bLNCgMy1F8+Y4VYMWFI UHerZh9e2+AZxmQ+twVTEpMz1SygDlTIw7OKZOsfusbO+ODOG0hZVTWbt0ylKehvyOk5 QugA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=OIgviWBqKUtGyYA8pNcGlHAIxKkXaoAhqP3nf0sw740=; b=hbjLCjKUKablz6K4Q94lVCOV9KudkrgCMBjn5F1CKt5TDnc4lbzclEG+pkHKFps6/9 AbJ447ShI3JDzenYd5S6VnA6JHNGuf2J7ERq1yr+cXEmBZEhzzL5cRuIYnKGSM4gB4Tb LQBvzGEQtMDxW+C3DhYShP9uaCUsMh1EP62ny7rTFuq3tuLBHunFhTUTUl4rH1bSjgAx bBLlBfpNnsY9DdZUJ6HdFUIhz1RlKp2vYSAzGtIUd9LTdJwUQys9zI2oKNPh7EypUU6f 7Kt35TtiPbzGll43+X5eVvBnMBrm2rnvP0QXoiwyJb0dMEoS8VsPDB3GT124VRiz5oSU B85g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rOiJ8pyf; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id q16-20020a170902dad000b0019a5d8e0a32sor2106177plx.40.2023.02.27.03.40.13 for (Google Transport Security); Mon, 27 Feb 2023 03:40:13 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:903:18d:b0:19c:f232:4604 with SMTP id z13-20020a170903018d00b0019cf2324604mr7364687plg.10.1677498012743; Mon, 27 Feb 2023 03:40:12 -0800 (PST) Received: from localhost.localdomain ([94.140.8.120]) by smtp.gmail.com with ESMTPSA id k10-20020a170902ba8a00b0019c919bccf8sm4395277pls.86.2023.02.27.03.40.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 03:40:12 -0800 (PST) From: Jagan Teki To: Andrzej Hajda , Inki Dae , Marek Szyprowski , Seung-Woo Kim , Kyungmin Park , Frieder Schrempf , Tim Harvey , Adam Ford , Laurent Pinchart , Marek Vasut Cc: Matteo Lisi , dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , linux-amarula , Jagan Teki Subject: [PATCH v13 05/18] drm: exynos: dsi: Mark PHY as optional Date: Mon, 27 Feb 2023 17:09:12 +0530 Message-Id: <20230227113925.875425-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230227113925.875425-1-jagan@amarulasolutions.com> References: <20230227113925.875425-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rOiJ8pyf; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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: Frieder Schrempf Reviewed-by: Marek Vasut Signed-off-by: Jagan Teki --- Changes for v13, v12: - none Changes for v11: - collect Frieder RB Changes for v10: - add Plus in commit message - collect Marek RB Changes for v9, v8, v7, v6, v5, v4, v3, v2: - none Changes for v1: - new patch drivers/gpu/drm/exynos/exynos_drm_dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index 12a6dd987e8f..529e010291c8 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -1699,7 +1699,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);