From patchwork Fri Mar 3 14:51:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2766 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id ECED144AA6 for ; Fri, 3 Mar 2023 15:52:33 +0100 (CET) Received: by mail-pg1-f199.google.com with SMTP id e127-20020a636985000000b004bbc748ca63sf813055pgc.3 for ; Fri, 03 Mar 2023 06:52:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677855152; cv=pass; d=google.com; s=arc-20160816; b=C434PdfYyiwJVUIVB01sMQpVEsRNJZZYvPUDgMD3zjjU2Q1Ryceb7O3XF8YWg51TQI 8mFhgYsZ9+Uypk+ke8oODm/dPlTrIQ6hmp7hGZvp1OXRRZ0QJSRsdVlGYijMkQAZJZZx v+r7+YL2amXOqnQFNejj0Fptawy3lm0eSG7chm4zAYoYSn2PC/EpeaDy59uTREE0QsGh iyt+Q16RCtFU/jySO16vahEzP77poRi+Cg3bt6+DzAcCjwshE+Wo7BM2UCT9zmziVkBm xULcJ/yqDPWxTjHyF5n35bNkf5Q3ZwqM9pTNdlPmCjkbf07frG1DaDHrOfUhdAj8iDqj r5FQ== 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:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=4X9MB0hbB5UgpJFHiwabTQne2ZFjev+tPYEdg4CA9do=; b=CMijU+JP03k63kik1cVBKpQSBosONkS+7G94eOtI6C2BvX+OA+utAJgiGgXqLxAf/R dbyu45eiSuwMT3me/pIif6YNP8fSZrIeuhxNak5CrUkET1xzzsTt4XhEJ5aSjs6WTeno pjrf0TLfAk9ou5xpxScZtBvwUxqYrA772mYDDKOazp7/v4A4ANKEFm0J2wt1YqcCd17I PdsZFg3Hj6Aw/vdw9cnxPJVyUyNxV+m1oQhnmfTqsHAu9RRTWm0a89aaO3M6AnZ9i8bn 0hWoLxFJC3sflhFjcAPWR1sChAOL6VE5yi2vtpEQ1TuRyslIE9f/R8PVuNk7tkVcbD98 9QrA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=g1hTmqTL; 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; t=1677855152; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=4X9MB0hbB5UgpJFHiwabTQne2ZFjev+tPYEdg4CA9do=; b=rch3ixvrt3t4tpRQ1N+6B06RbZePmqv0MCfe0n+y8WVwYqaKSCZqxLuDxWc9g7hA2b a1zFCuLA2H6qjCj871DixqQSInO1yN2I3aJHQm+6EEnO4tIHHwoIvwNLWiWqL/xhVu3p Q/G3IghBWl7fKpmbwueJJWijWrrcGCgusYWeA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677855152; 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: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=4X9MB0hbB5UgpJFHiwabTQne2ZFjev+tPYEdg4CA9do=; b=7JqeEQGGQQ/YIC+9SNZ9rjMgrT/400XQwwEn1VIUEbDGUwPkvWb6RyYFAk13tQvx6F RqAeVDtsayp8hE+3SXDf3LZT63GNLDHIxjgDmvBkrZtkddUZOT6q20Fk1OCMD/bCNDui v48G2SqLFAh++WKC4urdiYKf9e70CF69oLC5A/KAdKcPPHiNqe+Rp7eugtIA7pqRSZvu zMc7rVVcT0TDmz6C6kM2c0QriWWV2ja/uy7CrzmS4phDx79NH3RuIXp1eJ/CFPlGzbn1 qDz+ICVCe9+77AIS+ZA8ksMqmXJnWR0yKl5f/RYS6LaJjAn11E7AfmjD0wlTdbOjOiQj Cz7w== X-Gm-Message-State: AO0yUKUEP+6cn+9M2N47ZGqJqK2Mw0ZpgBBnYkU13+LWMSNaV3dTVjHQ 25OIynMMiUOyctoOFBW52tJ0w3DA X-Google-Smtp-Source: AK7set+70Co0Feh0EYkDp33L/fquUAxUG3C4fiN+KnhMZ7PxVBc/k5BcZgo/9HIWeEbJcqa1JNKL+A== X-Received: by 2002:a63:7f52:0:b0:503:2542:dbaf with SMTP id p18-20020a637f52000000b005032542dbafmr577911pgn.8.1677855152552; Fri, 03 Mar 2023 06:52:32 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:e80b:b0:19c:b122:6f2d with SMTP id u11-20020a170902e80b00b0019cb1226f2dls3213107plg.2.-pod-prod-gmail; Fri, 03 Mar 2023 06:52:31 -0800 (PST) X-Received: by 2002:a17:903:514:b0:19e:68e4:859c with SMTP id jn20-20020a170903051400b0019e68e4859cmr1745522plb.36.1677855151526; Fri, 03 Mar 2023 06:52:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677855151; cv=none; d=google.com; s=arc-20160816; b=uB2mb2IHSfZDV/azg9Em1+zzqGaOImpGskmQxHrrN4h5wo17Nz6Ca4mb4dMNPoEfdi hHYT/t7qR7xjJiQJD4FLzTKTtzNiS37sB/z6Y+AV+72FmpcZBo8HvwqaHorKkjd2hqf8 wJKewiowoNbANP0JFJVcU6U0pp3JV+E0lge0XKO2YDxkFGebjO5fhhqjj9u4oc23ouWr adJFjo1ltCz0IPEYJW/oqiDnLNSXJFPSN7/UgghDxPkXQoJI4Oar6yrZO305JPZcJq0O Kx1i6UpcsGVxOMZe9NyjWfdCjso3GOn5jj8O1YRpO3uA6+VMg9Wyr67HHRseinQosheN ICyg== 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=7tZxKcA0ycBEYEtLsRm0mag1bTn00Dn2OB4UXN+PrCA=; b=RFm08czsrk34T+DOzsutwc7gXqAH+BN6xQNshxXsQ1H1wNMMoGCQBKVNJrJrNSuNBE xLbzmA7YWCxRiJ8ojKzaB+rnfdwBoM98VZc1vft/oV/jmbRi5BM51/btQ17vNXkCM48f BQf16AuJJAgGeSdrBt9eEo5y7Xq8lJWA+oYTQJXGgMxOEdXiy9BTeoEbltij+06KyTJF 7URze7SYkHOk1iEv3N6Ux6V7l/uVwIEgJfowoAu56UpWa6/Gsn1goB8mulJdVsfCtaru zP9sRUnVq6RbHPu7TYibnZE53+xKT110Y4r58AxXX8xD5TNeVcE6N2+8zuwDu//RCzfP nN+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=g1hTmqTL; 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 h12-20020a170902680c00b0019c774043e8sor1154103plk.202.2023.03.03.06.52.31 for (Google Transport Security); Fri, 03 Mar 2023 06:52:31 -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:a05:6a21:6da5:b0:cc:46bd:39b0 with SMTP id wl37-20020a056a216da500b000cc46bd39b0mr2717652pzb.56.1677855151204; Fri, 03 Mar 2023 06:52:31 -0800 (PST) Received: from localhost.localdomain ([183.83.137.89]) by smtp.gmail.com with ESMTPSA id z4-20020a63e544000000b00502fd70b0bdsm1660856pgj.52.2023.03.03.06.52.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 06:52:30 -0800 (PST) From: Jagan Teki To: Andrzej Hajda , Inki Dae , Marek Szyprowski , Neil Armstrong , Marek Vasut , Maxime Ripard Cc: Seung-Woo Kim , Kyungmin Park , Frieder Schrempf , Tim Harvey , Adam Ford , Matteo Lisi , dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, linux-amarula , Jagan Teki Subject: [PATCH v15 03/16] drm: exynos: dsi: Mark PHY as optional Date: Fri, 3 Mar 2023 20:21:25 +0530 Message-Id: <20230303145138.29233-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230303145138.29233-1-jagan@amarulasolutions.com> References: <20230303145138.29233-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=g1hTmqTL; 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 Content-Type: text/plain; charset="UTF-8" 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: , The same Samsung MIPI DSIM master can also be used in NXP's i.MX8M Mini/Nano/Plus SoC. In i.MX8M Mini/Nano/Plus 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. Reviewed-by: Frieder Schrempf Reviewed-by: Marek Vasut Signed-off-by: Jagan Teki --- Changes for v15, v13, v12: - none Changes for v11: - collect Frieder RB Changes for v10: - add Plus in commit message - collect Marek RB Changes for v9, v8, v7, v6, v5, v4, v3, v2: - none Changes for v1: - new patch drivers/gpu/drm/exynos/exynos_drm_dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index f44a5a702ad5..af16af404e87 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -1732,7 +1732,7 @@ static int exynos_dsi_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);