All of lore.kernel.org
 help / color / mirror / Atom feed
From: peng.fan@oss.nxp.com
To: ohad@wizery.com, bjorn.andersson@linaro.org,
	mathieu.poirier@linaro.org, o.rempel@pengutronix.de,
	robh+dt@kernel.org, devicetree@vger.kernel.org
Cc: shawnguo@kernel.org, s.hauer@pengutronix.de,
	kernel@pengutronix.de, festevam@gmail.com,
	linux-remoteproc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: [PATCH 4/8] remoteproc: imx_rproc: make clk optional
Date: Mon, 22 Mar 2021 16:12:39 +0800	[thread overview]
Message-ID: <1616400763-16632-5-git-send-email-peng.fan@oss.nxp.com> (raw)
In-Reply-To: <1616400763-16632-1-git-send-email-peng.fan@oss.nxp.com>

From: Peng Fan <peng.fan@nxp.com>

To i.MX7ULP, M4 is the master to control everything, so it not need
clk from A7.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 drivers/remoteproc/imx_rproc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c
index fdaaf7599cc8..e858c1af4353 100644
--- a/drivers/remoteproc/imx_rproc.c
+++ b/drivers/remoteproc/imx_rproc.c
@@ -654,7 +654,7 @@ static int imx_rproc_probe(struct platform_device *pdev)
 	if (ret)
 		goto err_put_mbox;
 
-	priv->clk = devm_clk_get(dev, NULL);
+	priv->clk = devm_clk_get_optional(dev, NULL);
 	if (IS_ERR(priv->clk)) {
 		dev_err(dev, "Failed to get clock\n");
 		ret = PTR_ERR(priv->clk);
-- 
2.30.0


WARNING: multiple messages have this Message-ID (diff)
From: peng.fan@oss.nxp.com
To: ohad@wizery.com, bjorn.andersson@linaro.org,
	mathieu.poirier@linaro.org, o.rempel@pengutronix.de,
	robh+dt@kernel.org, devicetree@vger.kernel.org
Cc: shawnguo@kernel.org, s.hauer@pengutronix.de,
	kernel@pengutronix.de, festevam@gmail.com,
	linux-remoteproc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: [PATCH 4/8] remoteproc: imx_rproc: make clk optional
Date: Mon, 22 Mar 2021 16:12:39 +0800	[thread overview]
Message-ID: <1616400763-16632-5-git-send-email-peng.fan@oss.nxp.com> (raw)
In-Reply-To: <1616400763-16632-1-git-send-email-peng.fan@oss.nxp.com>

From: Peng Fan <peng.fan@nxp.com>

To i.MX7ULP, M4 is the master to control everything, so it not need
clk from A7.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 drivers/remoteproc/imx_rproc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c
index fdaaf7599cc8..e858c1af4353 100644
--- a/drivers/remoteproc/imx_rproc.c
+++ b/drivers/remoteproc/imx_rproc.c
@@ -654,7 +654,7 @@ static int imx_rproc_probe(struct platform_device *pdev)
 	if (ret)
 		goto err_put_mbox;
 
-	priv->clk = devm_clk_get(dev, NULL);
+	priv->clk = devm_clk_get_optional(dev, NULL);
 	if (IS_ERR(priv->clk)) {
 		dev_err(dev, "Failed to get clock\n");
 		ret = PTR_ERR(priv->clk);
-- 
2.30.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-03-22  8:27 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-22  8:12 [PATCH 0/8] remoteproc: imx_rproc: support i.MX7ULP/8MN/8MP peng.fan
2021-03-22  8:12 ` peng.fan
2021-03-22  8:12 ` [PATCH 1/8] dt-bindings: remoteproc: imx_rproc: add imx,auto-boot property peng.fan
2021-03-22  8:12   ` [PATCH 1/8] dt-bindings: remoteproc: imx_rproc: add imx, auto-boot property peng.fan
2021-03-27 16:47   ` [PATCH 1/8] dt-bindings: remoteproc: imx_rproc: add imx,auto-boot property Rob Herring
2021-03-27 16:47     ` Rob Herring
2021-03-22  8:12 ` [PATCH 2/8] dt-bindings: remoteproc: imx_rproc: add i.MX7ULP support peng.fan
2021-03-22  8:12   ` peng.fan
2021-03-22  8:12 ` [PATCH 3/8] dt-bindings: remoteproc: imx_rproc: support i.MX8MN/P peng.fan
2021-03-22  8:12   ` peng.fan
2021-03-27 16:51   ` Rob Herring
2021-03-27 16:51     ` Rob Herring
2021-03-22  8:12 ` peng.fan [this message]
2021-03-22  8:12   ` [PATCH 4/8] remoteproc: imx_rproc: make clk optional peng.fan
2021-03-22  8:12 ` [PATCH 5/8] remoteproc: imx_rproc: parse imx,auto-boot peng.fan
2021-03-22  8:12   ` peng.fan
2021-03-22  8:12 ` [PATCH 6/8] remoteproc: imx_rproc: initial support for mutilple start/stop method peng.fan
2021-03-22  8:12   ` peng.fan
2021-03-22  8:12 ` [PATCH 7/8] remoteproc: imx_rproc: support i.MX7ULP peng.fan
2021-03-22  8:12   ` peng.fan
2021-03-22  8:12 ` [PATCH 8/8] remoteproc: imx_rproc: support i.MX8MN/P peng.fan
2021-03-22  8:12   ` peng.fan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1616400763-16632-5-git-send-email-peng.fan@oss.nxp.com \
    --to=peng.fan@oss.nxp.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=o.rempel@pengutronix.de \
    --cc=ohad@wizery.com \
    --cc=peng.fan@nxp.com \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.