From patchwork Mon Jan 23 12:23:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2640 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A4BB63F039 for ; Mon, 23 Jan 2023 13:24:14 +0100 (CET) Received: by mail-pg1-f199.google.com with SMTP id t185-20020a6381c2000000b004d2570e675bsf4817567pgd.9 for ; Mon, 23 Jan 2023 04:24:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674476653; cv=pass; d=google.com; s=arc-20160816; b=uTe52oYUUOEuq+MRRyKf/uVo0DJKl99xux9q1XFAMDpWJRv3Gq2843yWIZc28+qiZH dk6tkjDVq6/AsEKqZWaVgfFBiqx3HEq8pTjO1uKoPI31REs0kccgP8G1yi4seXU7k35a BXuOpArUg7v8yZVBZlWSsV84W/63HWtPyjHncO91LwVtQT6BM8g2NHeZrJiEavmOyxzl qGpdcaMJz4K/9CMjJDkLobWQS6TVOpNKSnt2xZw6WTO/oiOwJTlT4rDzWZhH2mipY0Q7 SmK8mKOZaTy7U8sS3YM9uoatroxvLmvUajv6oezo0EtL/LcAYFIPHmm7ofYEm039/Or8 hhwA== 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=rj29TvV1Fy0o+cQdQBRqNIaKoF4khkYbLPwRdk6ZmD8=; b=lI/z5INW24A/TeXJv4Mx2sUEInEM6hk8Sv8hJz/j5vom9kqA59LekEiWTMZLyiR/RT fNRPKzwKJmDPjbStKP1K1/lhyzViVDPh/bLtmOYFRFCXztPcH5mj+7nZRxOj91lnYYtT Y+nTAlk+o60kmfC+ZfI8TO2zusdNR2KTvabPzJ2fbEnZlueoOuI+9L2NrCdUp8XcHHza xAh5bS+hBN7C5MaGTYHgA+Uh5Y6Ow0CzGFygUNZDh5WO/XqN1lwqs02u/ePgNFIHeQJM w9rk2z1DPyohBgBtmcbtqTG5h2Nt4FzvGGWtiDhGAZ166Ho4wA1Mt2webw0jcE3uaum0 IesA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=FF4S3dKs; 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=rj29TvV1Fy0o+cQdQBRqNIaKoF4khkYbLPwRdk6ZmD8=; b=bkaJWoMZ6+wLRIaRjwso/fde5kkTDO9bsjy1zVF1ehMHZSeB3hR9yVUN/ooAuVLaK+ mMttz8SV9Qq1IVIhvKqSd4oWZCCyiaun+4YuKjzzCJF31lAbeK8tRghp6CL5nY0c8PzW 7h7NwgzOpt5LvD55zQSUiXwtnCyoivYeHhLcc= 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=rj29TvV1Fy0o+cQdQBRqNIaKoF4khkYbLPwRdk6ZmD8=; b=g+U6RNlRYvVdtsN5xha+uLQHzoWi/FZdJvpynZ4V6hi5jh3uG56iBjMp61Ie/wH9mf LserEVnCROHCwjTRbAZDygjyW7UZJt4gPoiaOctGZHyR3HbuyEr2buoYXfGsrsv/ovFG X+6Xqv81uZmneGPFF9oXimlAY6Tb/OFgVgPnjCnQirCt6KojB+hNIjgTSHAAgkBwEDjD mOMW7m74dvW+tg5qQm2jEc+tItxuyQkamrRHVYVeV2mNUGl8h+SulAR91ToniM1zPQDG u5G46wbWBHZKgsYU6QByM/7hwIshPo2d9lDJW5Qv5erCS1YyebOoh6LM2AhF2ANkxXqd vTWg== X-Gm-Message-State: AFqh2krN8GYrDWhhEIzNwg9ovz4R7y2CGMgxozNUNrrGpKNB2L9bbnVR iZKLZXJtF7PjN5I6iqClfFR8ZO8s X-Google-Smtp-Source: AMrXdXtAqPrPAdZlrlPdo4bZXlN0XxaSAslEKkVCa2tgniN31fjxxdgUkeOk365ja3w99cGuLRSE5w== X-Received: by 2002:a17:902:b20c:b0:194:7cb3:2527 with SMTP id t12-20020a170902b20c00b001947cb32527mr2467716plr.4.1674476653431; Mon, 23 Jan 2023 04:24:13 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:ecc4:b0:194:d87a:ffa6 with SMTP id a4-20020a170902ecc400b00194d87affa6ls11171900plh.1.-pod-prod-gmail; Mon, 23 Jan 2023 04:24:12 -0800 (PST) X-Received: by 2002:a17:902:7c8d:b0:194:9c02:6ea1 with SMTP id y13-20020a1709027c8d00b001949c026ea1mr23664834pll.0.1674476652616; Mon, 23 Jan 2023 04:24:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674476652; cv=none; d=google.com; s=arc-20160816; b=lGXRdiMwsa11dW+hl9boJPemkWpbEFjqVENzjx0i2TD2GGOt//c9XItf+vHKEWDdFm 1tS4UmiUUR3kr6wzlfqpXL0NvsHO0eHnDeUvzIy9vz1s2ljgSBqfNoR0XrwvZheP+Clz qjsm9OJcRAu27v/BoUfBf2aRKFyqCY/XHGYz7UFuaeLNaq7e1bq6mfxngOICuQRNPAXC Qe8QzNPij4bil/4tWR6Bkc+YWetJzjFziSxI2yjeJAwGCOQJysgfdHlzeDqMcvNaabSn E7MQBt/zZCRIVqfyjJXsPkpL7i9jcSi3TskETPh2ind21AotlZT7KCclV/4WCGzw8TyS uQwg== 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=OP7Jau0/ejAFJB5Wx1RIrnmlhV/a7KNNElWN91vRccI=; b=WRPiiHm0VTJWA789sCVkzeV4s4WIXZi0N3IHBBy7XdsH8jOClMLzBgeoN6qc8y9M7w k0xrkY2QvjQPdmC0TXDndJTIkktooGt4zIxehlXByw2rDoBmgvpVgEobfDXqDIkT/waH +ps2h1A6TxhJDeS7Zw7LiHKQl3UotBVJ70E6naglETgaJU1QwKqD/S8hhUqifbT5XnRG nRtD5dIuo/pXQibnd33yKsUCqpdRga+Ix2Dce4pTZXT8TocrGKZoDTHJw9vahuNekDPr U9o+x14RDKKse5Yy9XHvkvUTHldNDsLnGeXAAHmu704/Xrt0KdLQ4woNHf/iwhf4QPjU d6dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=FF4S3dKs; 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 ix12-20020a170902f80c00b00192fc80edc5sor1239546plb.63.2023.01.23.04.24.12 for (Google Transport Security); Mon, 23 Jan 2023 04:24:12 -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:234e:b0:194:d67b:491f with SMTP id c14-20020a170903234e00b00194d67b491fmr19321183plh.13.1674476652311; Mon, 23 Jan 2023 04:24:12 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a15f:2279:f361:f93b:7971]) by smtp.gmail.com with ESMTPSA id w10-20020a170902e88a00b001960806728asm1291811plg.88.2023.01.23.04.24.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 04:24:11 -0800 (PST) From: Jagan Teki To: Andrzej Hajda , Inki Dae , Marek Szyprowski , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , Frieder Schrempf , Fancy Fang , Tim Harvey , Michael Nazzareno Trimarchi , Adam Ford , Neil Armstrong , Robert Foss , Laurent Pinchart , Tommaso Merciai , 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 v11 05/18] drm: exynos: dsi: Mark PHY as optional Date: Mon, 23 Jan 2023 17:53:06 +0530 Message-Id: <20230123122319.261341-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230123122319.261341-1-jagan@amarulasolutions.com> References: <20230123122319.261341-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=FF4S3dKs; 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 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 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);