From patchwork Thu Nov 10 18:38:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2470 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id EC00D3F039 for ; Thu, 10 Nov 2022 19:40:53 +0100 (CET) Received: by mail-pg1-f197.google.com with SMTP id r126-20020a632b84000000b004393806c06esf1394169pgr.4 for ; Thu, 10 Nov 2022 10:40:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668105652; cv=pass; d=google.com; s=arc-20160816; b=hUgMf+YhPf2+hVBiQKc3EJUWE6ynpNhGAf1xrMyBwqZbmE5AzNxXBXHwndBzIrarum /ZNryuleqQ+hoPPkEtvJlPi2AQT21GopSEezhAuxSEWwZ80TjIUg0rGW8YvATrToc5HA Xa8574lz5K0bfwtPvgJyzje+ni2gtTZi8SwaDgioIb3BkFydZ5POzgVAawOZBPTdhL12 CQPmvQCfO0wMWhjY40hF7BH8jdErVvw17Enq+/vd3vtNt7lrMqaAsee4E7mRH65pH5MB A1woio9RZTqRxazLDPR2PAGD47zl1nRtirq1R3Y5S9B+JqTDCrFCDPqC0nB04v6vgUJV Cpvw== 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=zXkW6qGKC6q4aLtoVJMn3ftMW8j7g4cK1AlhBNBH96w=; b=qu8jM8P1nISfcdCeFTj27AxNoLvbwRZQdrqdOl93s0Fm2CfSRs2pv0HsVURWguz7Tj LtuOYBqRf11YcX4+lBcQHLoLj/8tBGay+AytZVwAz5XPYaGlPw9BWqZYnGroP6eKsQfx EjmbhjUKKunASbpvDO26bpibKeVdbFu0UV2S99zZEMe+qb1IIj/rrq06SFFBYtRAPXqJ MtbNfGbqtFTRW+KQVJcf8OPrZy76hTUJ1AFzDoFi/6oYukb2G/832R9j7kwwWb+ZgyoE EI4rCdkLABseMIJrpomnEvjRX/kASmVFNkut+OulhqTLxQHoX+Kb52oTGkrOd/Q0P+Mp kozQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nnGEqEt1; 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:subject :date:message-id:reply-to; bh=zXkW6qGKC6q4aLtoVJMn3ftMW8j7g4cK1AlhBNBH96w=; b=MmvnRMvre2JsPP37O2iZBQxo1UaD+WML8ajjUiqNutY0sn8zrU20Pa3nVYaubAuwJt Xc91JMxilMSD/uU+X4yVVQlvKKpF3JEcOdJM+tZCmK2rzROM7QVEJ4w+gjPQ0VLCmEdA 2pVy9+Jb0cAlj8P49RpVKngbF1dX7iFIDkZo8= 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 :subject:date:message-id:reply-to; bh=zXkW6qGKC6q4aLtoVJMn3ftMW8j7g4cK1AlhBNBH96w=; b=uIQmMjAF2DleL9QgekvIdCYEsCBQw6yuzsLANkOUyMN2Adr7YPRlWHMr+35H8GYIIK GuAiL9jM+j5vwwUCpAzIxAsdWB+JZxLpRVY7tr0khRV8/+61U1OEwcFbyD+FPGRaBmJc YvXvsmSw7Enb4KSwhiLGjuZztuD9X7AXnFbRrMT6MvIXWIgOVOGl4CT6nB1lYgjDOr29 U86v1cgsQ3UJJjbSSNLk6+6MJWZcvejMOWRH4Yvc6pCUKWAyQG3SYIl2rlH5DTPYKX/w YCHDLx0GFIqMUeeou5zDPsePDxdj1k+5KuknJvXaH+rWKYp4wc2VD7ZkkhFgDTiUuVTS jY4g== X-Gm-Message-State: ACrzQf23tqAArGwVNqJXZdYMwiOmHbNTc/yFuXv2aAO0dZQN+2hh8zjc llMtrLuPGYKt7C62MDTbNhMSGVJP X-Google-Smtp-Source: AMsMyM7z3rHAJKSvBj7Kfs7L/SWIh5V96Fgf4y/tLePeJOjDzWQrqAcvSonmrgrMUf1NqiFFFAOl+Q== X-Received: by 2002:a17:903:292:b0:186:f931:ec29 with SMTP id j18-20020a170903029200b00186f931ec29mr65549791plr.144.1668105652758; Thu, 10 Nov 2022 10:40:52 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:39ce:b0:20f:adac:8c6 with SMTP id k14-20020a17090a39ce00b0020fadac08c6ls4135698pjf.1.-pod-canary-gmail; Thu, 10 Nov 2022 10:40:52 -0800 (PST) X-Received: by 2002:a17:903:1209:b0:179:d027:66e6 with SMTP id l9-20020a170903120900b00179d02766e6mr66659997plh.67.1668105651936; Thu, 10 Nov 2022 10:40:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668105651; cv=none; d=google.com; s=arc-20160816; b=KIYgLyArC719/5jML1ewkTApBpd8LFZ6YGnGyQ1b+WUM7d7JJRteOM+xpBQr+ouWkA lpkkwdDEEwFBqmoVCJOdbUtK4zhBB3n9Qi/a9OWnr/Cy1dJxXK3zxEVRkiXn2mEI8JP1 jMfRtna+jCKZMbrN/ufTvLbX7cV9okDO9ChyX7AzaQ4jLK3L5y32WblGqr0NG12TBWgu a06pl0pMNw8GKtP8fhG6cqyLjvWldehZ7fZ1fYHV+5BpzcozkNEGZHPBoLEUicOeTGwZ sphXQU2Hvz6yRTsc3lE2VCQf4yLXIGHopgwCPtB5qwwHFC0t3oSQu/YPdIa7ryeEwmvz PblQ== 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=X5JIaDuFSCbEdTKjuhBG+/b5UleN8wJEpIhsi/EFtH8=; b=PAhuk8bzHmnQYnrB6ubaJUb9YfrDONXjjNtd1z1SKE2eAPyhWFCYjVm0Enjtx+STWX z7GIfnPRETy42E74cmsSO9znpxdi+eK83yy0XrkHZAH8+DF4uPpUncCZh+lTYC65Sj9Y 7gRWLLm7wXZjf7BMvP1y0bMQNR8e6gqQ229G/GL5YcpuEgy019qNXrfukoUPWCz+tyDH 3O2WNwn3H4Up7LnXjzOsBkqe0So6x/dMv49gqV+ks/sJOBWYt10DiZFoH6w8zHl9oPoh 60/nQrY5a7DXTr9GhfrZsQAD3vp6ldDs2GOYnTwQZ6V9FnYyP5ZOCatbf+8kkPNxDzs8 U34A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nnGEqEt1; 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 n16-20020a170903111000b001835627794fsor27196plh.59.2022.11.10.10.40.51 for (Google Transport Security); Thu, 10 Nov 2022 10:40:51 -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:902:e9ca:b0:186:8624:9675 with SMTP id 10-20020a170902e9ca00b0018686249675mr65016542plk.76.1668105651614; Thu, 10 Nov 2022 10:40:51 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a809:b5a4:486a:f07:f67e]) by smtp.gmail.com with ESMTPSA id c2-20020a170903234200b001869efb722csm11635627plh.215.2022.11.10.10.40.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Nov 2022 10:40:50 -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 v8 05/14] drm: bridge: samsung-dsim: Mark PHY as optional Date: Fri, 11 Nov 2022 00:08:44 +0530 Message-Id: <20221110183853.3678209-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221110183853.3678209-1-jagan@amarulasolutions.com> References: <20221110183853.3678209-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=nnGEqEt1; 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. v8: * collect Marek Ack v7, v6, v5, v4, v3, v2: * none v1: * new patch Reviewed-by: Marek Vasut 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 1c1a824b4ea7..bb1f45fd5a88 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);