From patchwork Fri Apr 8 16:21:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 12806945 Return-Path: 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 BAB3DC433EF for ; Fri, 8 Apr 2022 16:24:12 +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=AmIezx50OVZYrHR2duSbW9GUbfqn/ZUL5AMOvkDgOtk=; b=M4yPTdAj5TkEy+ ufwc1uNU1ESFrgmBj5uw1iIUZaSQ7V6lPPLkPFnN8HDgbTcnUMzIbQZSyKN/wHX62JOKBP0FxEHJd erOSb4AZfnER9Hn+LI579sbtqtDnErTCeDiy0FSIqyl+NkYTDJ+jG7grXhI302Tc19YYuY61LWnV6 QS3PyyGhIAjm/4Wfv/6vx/0ysoqSwl5P8f76Mu5CGkRRoo8FWMFd8ZbMJqGPVEmd+mNWh/qiOkhq+ il1W/Ore0IfnA/sEnZxn3/jT+/mvJnBzE8oeQCCn6Flxz4dmHbiKEHYuNl9qww63ko7+WG6kDFVe2 bAtNd/3QZG4kDsplho9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncrNu-000TdB-DX; Fri, 08 Apr 2022 16:22:54 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncrNZ-000TSe-Jb for linux-arm-kernel@lists.infradead.org; Fri, 08 Apr 2022 16:22:36 +0000 Received: by mail-pg1-x531.google.com with SMTP id t4so8202518pgc.1 for ; Fri, 08 Apr 2022 09:22:33 -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=gGzzNcZY8RobibNWD65GpD1P4b/cN9VaV+JKjs3w2tM=; b=cEAopD5V2S3S9ex0G6yHvQna15BEzdeRDqQPGNwvzhtdW32VdJuPEHuaXwCxfnl93B vc3qC9H4s7hVxWGb7MCY0xBskCl0wOyh0MqHzrWShGJmF0wTQ3DCBxX3hI2x75BfLhtQ fy3SOSKYH3fg9aP9OvoFMxcLVee2Lh3Zlye7o= 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=gGzzNcZY8RobibNWD65GpD1P4b/cN9VaV+JKjs3w2tM=; b=YBpxHQOh1k1jshtHnjc0pULyOVu7K0ILJP44dL3E9Y6F9DjQPeGVSQG+43M68aSKWs CoTGZal1ywaJ0d+3v4Eaw1Mt0qsAM10gvdnzRP0k9Fd+5BbtY+gLL3vQqv0T5wWv0rUU TCeaWhoKk+BJmrOkjH5+VkJaOl5QaPSG4wTvCxvPbwEJvw4TvzTNU10MmsuPK6apnmcE Dcp4eiyOJaQGK/AxG8TR+L9UnfMqfhUhgV+XvlQDGLWHbTNWI0LB4JUAFB93/LdaS/Pb FJ5ME+wfd4l9qdiLWzUXQ1/PSotDehoRUjiKr1xDfQMN6vvcRDhVb/dwozfUDnrSB6Bz 4h/g== X-Gm-Message-State: AOAM533B+ocoEjW+dVR7PqbPEkJjPyYWEmtaJCa6RptIMI3Eyp1hGAEY 00MBQBRpDrS/8u1d0QASZDyr9w== X-Google-Smtp-Source: ABdhPJyMQiWVcRguZ6ZZ6h+HCm/rUJKRxdLX++3Psb+xCLNDLaij1ylis+3u/mmBF732gkrXUsyQHA== X-Received: by 2002:a05:6a00:238f:b0:4f7:78b1:2f6b with SMTP id f15-20020a056a00238f00b004f778b12f6bmr20311000pfc.17.1649434953099; Fri, 08 Apr 2022 09:22:33 -0700 (PDT) Received: from j-ThinkPad-E14-Gen-2.domain.name ([45.249.78.214]) by smtp.gmail.com with ESMTPSA id n18-20020a056a0007d200b004fdac35672fsm24929863pfu.68.2022.04.08.09.22.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Apr 2022 09:22:32 -0700 (PDT) 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 , Rob Herring Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , linux-amarula , Jagan Teki Subject: [PATCH 03/11] drm: bridge: samsung-dsim: Mark PHY as optional Date: Fri, 8 Apr 2022 21:51:00 +0530 Message-Id: <20220408162108.184583-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220408162108.184583-1-jagan@amarulasolutions.com> References: <20220408162108.184583-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220408_092233_705096_C0DE3D62 X-CRM114-Status: GOOD ( 14.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. v1: * new patch Signed-off-by: Jagan Teki --- drivers/gpu/drm/bridge/samsung-dsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c b/drivers/gpu/drm/bridge/samsung-dsim.c index 0e6a5d1c7e4e..ff05c8e01cff 100644 --- a/drivers/gpu/drm/bridge/samsung-dsim.c +++ b/drivers/gpu/drm/bridge/samsung-dsim.c @@ -1539,7 +1539,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);