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: 1904 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 389AB3F066 for ; Fri, 8 Apr 2022 18:22:35 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id d5-20020a62f805000000b0050566b4f4c0sf3229440pfh.11 for ; Fri, 08 Apr 2022 09:22:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649434954; cv=pass; d=google.com; s=arc-20160816; b=uUIjLfIJCL7XLdOyvuSLCHSE2WYsr09lbVB4yFW8oP+Cm2kssOurgzrM9RIpKvlgto FfuIW6tIYLjTAkt1Ob+Isj5en69ni6FxpY+epo7/h2FXglx9rbjUPbVNAaAKptMXlFeW H/6mh5L4JTZdNOXbsTEIo+Kht3/5Yg/fR8MXySOgXsRhn80Aas08W3yjggldeRV222hY aUvQoj1Uv9a4XJ4EaUsyqq5zsmtE7gWTwvxAv5PPZse1qjAnZjoRXI91jfmS8YlA/MkX 9btckEb7aFEOufN0OPYZD+5JzHqZAZZ0bswGf3ro9gK6ctkN4CA936P05FKjiee8hg0y OJZg== 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=9swllQH3h1cV+oa2ojw1TfVC5g+dNgXrOxvYSgz/GhI=; b=sCEwtadOET3cnJ6VPAqEOSwbOput16p5iv4NM8/p6VyceQpRCh7AUAGQ+R7QK2p0JN OeSASyDauZuuoL86FjpiImVdJvGDzEPVR2CZyHr/60e2MrPKk2VDCK38UoftaeNTceot wibW/BjlsTAQMdTplmEGrycbd9GzAXwJcDrHn+fm0utqBxXs14tm9QPiNmh2MBglpNnN Oxp4A05onMDD8jCzhD8jB1C87CvPd6UAIKt3ULPnCB4KjehRb5AqQye3afeCmaL+5C9y R2dJS8i8dFOJ5jcmnYZZbTiWszITQ7kCC5O1sBTCIy83XIIMW2NLO68mAx80Q5Y/Us/G 8MUg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cEAopD5V; 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=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=9swllQH3h1cV+oa2ojw1TfVC5g+dNgXrOxvYSgz/GhI=; b=eSGLXK6Zw7X2uJpCb92lEPbmvjbutN2ZOACJ58wTlyoEFePj4LXJ+H42T7+C9Snujh cy9JGnlWsQNfvVCx8Kw2nTM+Uj2cBFPsYB/TqiLqGoq/3S13OegsblT3gorQoNrXWGTL wF27pOYXHH/bsWMK9byUPYbehDGHLWVlH7q7g= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=9swllQH3h1cV+oa2ojw1TfVC5g+dNgXrOxvYSgz/GhI=; b=02wy91T699gKrcZhU4YiaxbiNZcb7m5zVR/hjMYbd1/WgYRfZA9tdEmS2SHO9hX5DM GuMuJJChL6Ncbrg298wiB4E3Lf9FOBwrlolIA7mP/YSdnoj/U2BsZvbdEMXNvskrefWS RkZpoylkKrAqEGuvCkzVcSP+AJiHWU97ZIJrb4oGklNSNKdV4gL1uymChGnVC15G2dDN v/ge9hLfKe+HQBGcPn8cP7NgYHUzRHDeoKTD8dRnmpRz/8q9RQhTwEc2c25SyeGl82/t VN744XZR4ysrbi8Rdr0Bn+Bol6R5N69xCJuXLs6JnmcSvf0yX4vMRSX6YPOYEtt4ICX3 tTyw== X-Gm-Message-State: AOAM532nnunTX7vVfqzs0fAUSeLIN3JKbQ/cq2Fy+o/hXkTZ8BIxxNW7 uetmOwnMHr1ZDtH5EPJqsgfME7rr X-Google-Smtp-Source: ABdhPJxVIQwlbWuKF0x9rdtGKBbvD5adgaVQA6izqelfStvwT6/n2A0Vw5z1LiE7NWbFHLTxeU3SfQ== X-Received: by 2002:a17:90b:38cf:b0:1c9:c3e3:817 with SMTP id nn15-20020a17090b38cf00b001c9c3e30817mr22938687pjb.73.1649434954089; Fri, 08 Apr 2022 09:22:34 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:d2cb:b0:156:b391:3ccb with SMTP id n11-20020a170902d2cb00b00156b3913ccbls2230625plc.0.gmail; Fri, 08 Apr 2022 09:22:33 -0700 (PDT) X-Received: by 2002:a17:90b:1d84:b0:1c7:880b:9efc with SMTP id pf4-20020a17090b1d8400b001c7880b9efcmr22352962pjb.90.1649434953377; Fri, 08 Apr 2022 09:22:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649434953; cv=none; d=google.com; s=arc-20160816; b=I9TpCuISvEt43EDlaLGBwhc8UngCXEqqRhNvWNN1mtgX41ZwHMs7Oj2wpMhywLGq/+ VyZ1qHxQlJrdEuaaYfIj9mCfcbQvGCrbioJ5xqLryz0RrCF9V5IY9d7OSctsUDteBKKn /So0D2MIcm6YjUfpJmHmcZm8tH++TXrQegbLns4h3NvftD7np0NWfE6PKg39XRppdUsS c5WY8kmzOjlfleXCTsnNW+2T5cy7deBcXXZ6IHLt6t1FNN594LpcAM843swZqhcgqv3P YKDHHtTTHS1AxxCrnjnY/HoYuGvQmvMyl30amre1MK5z9Y8t+2M1GxuBrJCFX80sz0lq 6smg== 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=gGzzNcZY8RobibNWD65GpD1P4b/cN9VaV+JKjs3w2tM=; b=jZ1eA7h0aMwGqlqnDwBIAB1vvgtQZLNyPQobgU7IZ+mDS7AJ/KxG9aqdoQLBJ159Tq UqdTuHrg7l8UrK0LJ4j8eSfYm6TA52g0E7OS180ksCvqIbDbkDdxeNNm0o5kZyMtNflA rqKR2dIUUqgpU+Pcw8hPW0pj+mMTfOPSrYD2RYs5D3DQn76fh5r3U/6jEz9XoAQMJPLu PAZpkFpeAWNf2n3AxEE+npLsFflO5FZPaT/8SU9enY1Sx1tb8m7GtH7nS+JTW341ou+q 9JCW6z7S5ELqmpfIx3jM3y7sa93zr7dtxC8B9pCcDfvwjj41Wwre6gVpauRWprT03HDY lSXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cEAopD5V; 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 bd34-20020a056a0027a200b004fa8c620561sor921273pfb.57.2022.04.08.09.22.33 for (Google Transport Security); Fri, 08 Apr 2022 09:22:33 -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: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 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=cEAopD5V; 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. 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);