From patchwork Mon Aug 29 18:40:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2323 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id EFB5C40F47 for ; Mon, 29 Aug 2022 20:41:31 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id 200-20020a6217d1000000b00538090d37f3sf1907014pfx.3 for ; Mon, 29 Aug 2022 11:41:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661798490; cv=pass; d=google.com; s=arc-20160816; b=nXZyIul/rL4S1vO2k35AlBS8APxkNByi0tH9YPcNhHH5pnRGg8hmbKqWj7hXSr7vNJ NjMckcWaUQ4PmZcKOsdBm15PVX/XkE4jfBDEQNoGrhnH2TNhXg+Oki2tMgo94enkvLqg TcWrKjKWYDQBmUXb/bqfygA11scgCziqeKW5hWXL7I+F7KIneFb6Zs2Iz21N7PBa1Uek MEWvTNmJMf4FSGdsmsi8pFP0uMqDI1WVStvdr50dq5NLibtzm/7ild/0jT8cTZxvs3Ph P8bvEsm50BgN/b210uSUYnEevqYMsuFgKiCYwEOge9DncrpuqLHNMccheKrDFG5IcIMU 9Xcw== 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:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6nWXYA3Yr7Ur+ocBkIIRUcS+YqrlAFTE1RR8FcSEpEQ=; b=uRJLfiwxmeVrv7qNjWIkfiv0rHW5xa18mMfysT70HK7aqpXZTpCT5iIq5O5cwFd1gk mkBToEKJpiK6K+vGnG1czf9k/XkxBrr9fztSAeKL4sskG2pEtPC+2mQzdWra/Ku/1qlN /dlmR8rbkaF51R5OowXeZ2yvDXAqfc4tB5ZwUwNnLnTPpY4hD3F/2QsFYFlnuj4UvnR2 ZT5/z1Nthe3bVGwSfKX1H/C4gVCHJ2IZ8vHDuCMBnQ1Slamx73a28XHe/5s4MhXWDfPh gZb4MmvtHzDPwXob9V9PB7HsrAuLvYEVbCMX+xagu61uH0OZEeMEyuO0uh7W3wCT1uxA i7iQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HnbXs1ML; 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:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc; bh=6nWXYA3Yr7Ur+ocBkIIRUcS+YqrlAFTE1RR8FcSEpEQ=; b=blxq8f3x87Q5ZFZaYYvwCBAu8nVDwz2dSgeVirYBnpVHRt/Zdek88S4aCDr2ueB6lt P+7t/Qi17/jNqFGduthCqlmpQH8u+6+rCeuPnyPlRHHv2hD9u4vbDdsQfz+gPq7Wzr6P CyhY0nWjNJoML2CwlMa3qHaSKnUXdWUZM/KJs= 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 :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=6nWXYA3Yr7Ur+ocBkIIRUcS+YqrlAFTE1RR8FcSEpEQ=; b=gL/8QwBS3H3xoDQCd9ISwjqtryRku6p+xMOfUBUdfREsiKRh2gdeVKifPfmiWdWqWE SztjF4vXt9TfxBxKaBcDN2RVbsvo+KO9TChFx0QI9sVaPhMvu51kP9f3HKJXen7bAqM4 7R+mGIN12fZawmVYR43dkWqKvG9LJSwnrjQP/IT+UVLBoVsfhQuDOmQxh4hRw6YSC40k ICHVAhRjlg1/9JI7FJkSI5fbUecQl5ZwgRzX5vKPVkS7ruygQy892ZEMSRgqyq71Keno fTMQg+cLEpy9ajj+Pjip7d9FLIJU0kkqMV9/cUWW+RYawUEhm3ZXKfAmX+NhFWWKGVw0 tB7A== X-Gm-Message-State: ACgBeo3TNmdzoyLmzdPeToHecftoHGI09qbg065R1z3BaA19DDwaibUZ WdZDqc5axL7IXuK5AmHSiqedYSZt X-Google-Smtp-Source: AA6agR4GgYvMzn+vePgak+39bYoZvfzpesi/jdEK0r4/EtAm+uhPoPSp4TcHUtPJWtBlhuFr7mtLGA== X-Received: by 2002:a17:90b:1a88:b0:1f7:3daa:f2f6 with SMTP id ng8-20020a17090b1a8800b001f73daaf2f6mr20061675pjb.245.1661798490776; Mon, 29 Aug 2022 11:41:30 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:69c4:0:b0:41b:c89f:182f with SMTP id e187-20020a6369c4000000b0041bc89f182fls4832763pgc.10.-pod-prod-gmail; Mon, 29 Aug 2022 11:41:30 -0700 (PDT) X-Received: by 2002:a05:6a00:16c4:b0:535:890:d52 with SMTP id l4-20020a056a0016c400b0053508900d52mr17916577pfc.9.1661798489938; Mon, 29 Aug 2022 11:41:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661798489; cv=none; d=google.com; s=arc-20160816; b=GNUdcZmiySC8/YuZvMdIdexFZRL6Qa3r0YiIKVg3vgohHEWOPdzOfBAVyn3IHf7PR6 2G/sZ+1BYxhKWX08bPpoK4T+AOYsBmxMi02RRW7WJFGjVRykktcF4ou37BgVQZUFPZSn 4ORg5l2Xqzk1jkWJ7WwuBtGgQEbLRvkR/9ErnHvSX5BWveB5B2vyRDqTQZmuRN/CNa53 TlC1Bo0gphLPE5PsjiRACzclVp1DVyzbsKC+NG+0jInyioIQC0ifaZCCcDjayNz+HnZ3 YDCYu0neL4H8cafHpPJzvPMEOSK3Igbkf1+H5x0PGqyBZQvGksg4DttC0shaUzfmmCWE Ym2w== 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=ekS3WKj8dCgDC2uR7us15QLNPxhzQvukxO9+hGPd1Fc=; b=znfHRPPxVskUn0v97L4Oy6b3plElbN8vVxM22djudlF+RtANzJrr8mTCWx+wwRWCxC KvVYZjDl27H76iOd0NO1WxENVxVNpK2zwkmlw7CpQj5cBPQCm9ua07lnVoifEG3QOJo0 Jc+3EqMqPBEeoF2jAJHG0JcAmRfSEm78H4DxPRxleQNXvJ7AXFHW/eQYGWVL2z6Fphlk wJRS1osSx6nM30ocrBsImdLR1gdD3qXedaxODF5GJ0y0O4Jksh1u+f2mur5u47ffjfQb hFbPaFjWchx4jF5iDes+4DYIjjcgm+QE1x1lyUEUTRr6kms7FSbRubvstkHkYSxscaCr Uyxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HnbXs1ML; 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 q19-20020a170902bd9300b0016ed1fdf6f3sor4332562pls.168.2022.08.29.11.41.29 for (Google Transport Security); Mon, 29 Aug 2022 11:41:29 -0700 (PDT) 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:4043:b0:174:dd99:a589 with SMTP id n3-20020a170903404300b00174dd99a589mr4510335pla.56.1661798489606; Mon, 29 Aug 2022 11:41:29 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a073:43f7:1644:6259:830d]) by smtp.gmail.com with ESMTPSA id k13-20020aa7998d000000b005385e2e86eesm1619042pfh.18.2022.08.29.11.41.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Aug 2022 11:41:28 -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 v4 05/12] drm: bridge: samsung-dsim: Mark PHY as optional Date: Tue, 30 Aug 2022 00:10:24 +0530 Message-Id: <20220829184031.1863663-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220829184031.1863663-1-jagan@amarulasolutions.com> References: <20220829184031.1863663-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HnbXs1ML; 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 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: , 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. v4, v3, v2: * none 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 76dc7687857a..c3ed317996ad 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);