Message ID | 20220720155210.365977-6-jagan@amarulasolutions.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B5D12C43334 for <linux-arm-kernel@archiver.kernel.org>; Wed, 20 Jul 2022 15:54:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Am7cwk1CVuzAN/uDPHOwDGBm6MFf83Ra1ec+hlknLTM=; b=3MBeHHfb/uDopf BWO7RJZKSj+tFnValHQaMq9UqLojJc9/b4JkVw8todti6/GaPNcY9lIX3RCCtAuWRUwqBFnPAUip2 GA/fTWMDIcjt2UOXyR6wW2+3XWouzjWq2htQ/Z7sbRjF7Ki61HjdAuxnEd5xoQ7fx8Tsv1rGYeT5U mztYnkyXi9aSlmeWSOmcjiVxNAe/7HVmS7acbJoZrjOOJnzFVAogyaLIPuKOPV7FUGRyZ/6+AhCmn 4gvoE9x6870O/V8Bqr9Bh8qc3fPAz02A/kQtZ8XhaVnAjREUiyorG4Ih8Dkzwk2oNgOK98z5MdOL2 My523CayA6x1CUKI2KwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEC12-007ooh-DI; Wed, 20 Jul 2022 15:53:37 +0000 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEC0Y-007oTz-J7 for linux-arm-kernel@lists.infradead.org; Wed, 20 Jul 2022 15:53:08 +0000 Received: by mail-pg1-x530.google.com with SMTP id 72so16783235pge.0 for <linux-arm-kernel@lists.infradead.org>; Wed, 20 Jul 2022 08:53:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FpNHItAiwu0m52sC3pwbotY9M6xqSP85k2SUYkR4F+A=; b=lPurvLEtAzdCctBqQCCtusfet5pL5hgD2AbZEjqT/e61F3wOg3UEydk2YMkjqe2sKq 9CW+AKWaLb5ATXkfm5dRrvyxto2zuDnk6ALJMGuVWStEAt1A37zzie+P4afSlyB96MKC ZWUomieQpZSDGPNCGQZSj5ZwWGIunGo0KPwI8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FpNHItAiwu0m52sC3pwbotY9M6xqSP85k2SUYkR4F+A=; b=pUdaT26bATEy7SvQ9fL2tJN3gef46A10iLNR5OQlOdmBIY5cXwmWHFnbrNcZ5yAFfI xmyr9hU8NkE8pGSqi2U399/dr6cF+fzbs/WVMcJ5L/20bqe6vIqlnR4mGW2LtFGOcDGF OqjfkZeBlwu6aUnmjz+ipz+sX4zD19IZ9fEI9VXY82oJif0BzmRDubeXm3QwAP8K6TxY mKlCfjarxNp83AuVusfF/ZjiykVvsTVaDtR+AaqLS6OFMfhtI+94aY9WF/yfDAnsColT z/SrcScA321DJqT15Ar9N1qZmGyIbJ5OSsgYLehRpZ2tohaW9x0LnzmagJRYyNOm+CYh HoEA== X-Gm-Message-State: AJIora8TDlday/lKmRTJGdOaYUL6BxNeb61V9iOqr+ZxWFLJ3nc5qiTt EpFcmOvvHBtgLh0u0+QElc/eTw== X-Google-Smtp-Source: AGRyM1tvNubQhLd0y80/Nb0oQe9wwe7GN/cevALO7+n5VX6hSZl09GrQH8Is9zCkMDqymqYtiIzAkA== X-Received: by 2002:a63:904a:0:b0:415:18b4:ea92 with SMTP id a71-20020a63904a000000b0041518b4ea92mr34007714pge.551.1658332385950; Wed, 20 Jul 2022 08:53:05 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a073:d177:d5:aee:4f03]) by smtp.gmail.com with ESMTPSA id a8-20020a170902710800b0015e8d4eb1d7sm13919198pll.33.2022.07.20.08.52.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jul 2022 08:53:05 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Andrzej Hajda <andrzej.hajda@intel.com>, Inki Dae <inki.dae@samsung.com>, Marek Szyprowski <m.szyprowski@samsung.com>, Joonyoung Shim <jy0922.shim@samsung.com>, Seung-Woo Kim <sw0312.kim@samsung.com>, Kyungmin Park <kyungmin.park@samsung.com>, Frieder Schrempf <frieder.schrempf@kontron.de>, Fancy Fang <chen.fang@nxp.com>, Tim Harvey <tharvey@gateworks.com>, Michael Nazzareno Trimarchi <michael@amarulasolutions.com>, Adam Ford <aford173@gmail.com>, Neil Armstrong <narmstrong@baylibre.com>, Robert Foss <robert.foss@linaro.org>, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, Tommaso Merciai <tommaso.merciai@amarulasolutions.com>, Marek Vasut <marex@denx.de> Cc: Matteo Lisi <matteo.lisi@engicam.com>, dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team <linux-imx@nxp.com>, linux-amarula <linux-amarula@amarulasolutions.com>, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH v3 05/13] drm: bridge: samsung-dsim: Mark PHY as optional Date: Wed, 20 Jul 2022 21:22:02 +0530 Message-Id: <20220720155210.365977-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220720155210.365977-1-jagan@amarulasolutions.com> References: <20220720155210.365977-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220720_085306_679561_0C6BFB26 X-CRM114-Status: GOOD ( 15.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
drm: bridge: Add Samsung MIPI DSIM bridge
|
expand
|
diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c b/drivers/gpu/drm/bridge/samsung-dsim.c index 4d5f72de2240..9b74a3f98a17 100644 --- a/drivers/gpu/drm/bridge/samsung-dsim.c +++ b/drivers/gpu/drm/bridge/samsung-dsim.c @@ -1583,7 +1583,7 @@ static int samsung_dsim_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);
In i.MX8M Mini/Nano 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. v3, v2: * none v1: * new patch Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- drivers/gpu/drm/bridge/samsung-dsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)