From patchwork Wed Oct 5 15:13:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 12999350 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 8E863C433FE for ; Wed, 5 Oct 2022 15:14:48 +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=YxJRk5KFx6nX56TGruttmDK0RmDET+Fq2ozc+U5IFgE=; b=u1xquaZtts3FqL 6MXn2TbMfYSm5hwA2uYXHOEu31r1B2NKpWMb7s5XfHV3H2lfpFxZvnhNxC+1b6Op1ksSomG8+YzQa rWc3uuWMTc9Qtak7PE6V1FON5q7beTmvSE42KcJ6JsCh15E8sHuC9n/y8IEm108cx8x9UBWBb8NXK vDY46qEUTAPusErvz0UAx5kLWwJYflo+5m4qbKPdTPc3pxs6zkoyqNiRh7m+WjzB2ccFR47T33nUy w8oijfPYaiV8fGnwizF76hkCQlxuPnGaWBDJUP3LqzbfxlGo6NLXLlWLpDi74Gdsbh9zfInrIXTGD zWMA/pLzZUZ0M0UOHFXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1og65a-00En2k-AH; Wed, 05 Oct 2022 15:13:38 +0000 Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1og65O-00EmyN-SD for linux-arm-kernel@lists.infradead.org; Wed, 05 Oct 2022 15:13:29 +0000 Received: by mail-io1-xd2d.google.com with SMTP id n198so1709978iod.3 for ; Wed, 05 Oct 2022 08:13:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+gTdmBPImvmtEVJ8K/TFFMRIl9dCboj/pEZUj0+angg=; b=hRGiJg6r86Qx2vzcgKNRqffsScJo8TRPdUfC2V5sazPpG16nRUdDbe/LNhd+x6tdw/ 3kmzy8kPdvpwvaGJcmL8NHs3ph8WEPww4T+zX2vbyxg07MWdFH6Xg4kUhjcYm8ZmV/pX Wdyyc1BttPpcC9bKRU/RGVMZBCT0wpNjeuLtg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding: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=+gTdmBPImvmtEVJ8K/TFFMRIl9dCboj/pEZUj0+angg=; b=DLwF19EX3rNb4BwhUT5u0daFabAD+lu51NsQObuMYFkG1pMXwQL2DSJku4db1tFd2C Tij6DdE1kNO2Fqqm6oym2bCcUoaaI7cBhEB1T3KWyfio705xHenSBg3Uvho9KUsEU7c7 aSO0KHKgwJezlKi//bU1wNuqYapH2uXZwKWfRhKL69gsXqBMh7AGkfHXpDhywGXK2+fo Wdzhrp9guZgEdJKhSzZxK/jC8F6wH3bzJotqVu8axoLYtH2eMDeDT+/znyfp41zp6XkC 2p25VCOE+pUBcIyg649gwmJx8rQunpRIaE7vxW1zN18HE26aN/08/fAhljA6jMLZBTOd KnTA== X-Gm-Message-State: ACrzQf2CqhUjJS00fxiytpest2f3EgSpNbp+6wcn+/5/xGxL+lv4oMHz WwNUJdDnICgTRSZWqDwsh7DsSg== X-Google-Smtp-Source: AMsMyM669NtZBL1QivoK8jgGFSq7WGsixMsDmqYfcu/B429dwt1+UYojmwbDgFtiJAkyBn4M5fDE2w== X-Received: by 2002:a05:6602:1609:b0:6a1:899e:bf36 with SMTP id x9-20020a056602160900b006a1899ebf36mr146502iow.121.1664982805048; Wed, 05 Oct 2022 08:13:25 -0700 (PDT) Received: from j-ThinkPad-E14-Gen-2.stthomas.edu ([140.209.96.21]) by smtp.gmail.com with ESMTPSA id w15-20020a056602034f00b0068a235db030sm7089276iou.27.2022.10.05.08.13.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Oct 2022 08:13:24 -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 , 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 v7 03/10] drm: bridge: samsung-dsim: Mark PHY as optional Date: Wed, 5 Oct 2022 20:43:02 +0530 Message-Id: <20221005151309.7278-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221005151309.7278-1-jagan@amarulasolutions.com> References: <20221005151309.7278-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221005_081326_970379_D47F30D7 X-CRM114-Status: GOOD ( 13.62 ) 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. v7, v6, v5, v4, v3, v2: * none v1: * new patch Signed-off-by: Jagan Teki Reviewed-by: Marek Vasut --- 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 c34c6abac815..1bae3673151b 100644 --- a/drivers/gpu/drm/bridge/samsung-dsim.c +++ b/drivers/gpu/drm/bridge/samsung-dsim.c @@ -1584,7 +1584,7 @@ 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);