From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
To: djakov@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de,
festevam@gmail.com, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, abel.vesa@nxp.com,
abailon@baylibre.com, l.stach@pengutronix.de,
laurent.pinchart@ideasonboard.com, marex@denx.de,
paul.elder@ideasonboard.com, Markus.Niebel@ew.tq-group.com,
aford173@gmail.com
Cc: kernel@pengutronix.de, linux-pm@vger.kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-imx@nxp.com,
Peng Fan <peng.fan@nxp.com>
Subject: [PATCH 6/8] interconnect: imx: set of_node for interconnect provider
Date: Wed, 1 Jun 2022 17:41:54 +0800 [thread overview]
Message-ID: <20220601094156.3388454-7-peng.fan@oss.nxp.com> (raw)
In-Reply-To: <20220601094156.3388454-1-peng.fan@oss.nxp.com>
From: Peng Fan <peng.fan@nxp.com>
The provider device is created using platform_device_register_data in
imx-bus driver, which not has of_node. With of_node set, it will be
easy to support QoS settings.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
drivers/interconnect/imx/imx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/interconnect/imx/imx.c b/drivers/interconnect/imx/imx.c
index f381697fb23e..08e3a91d2543 100644
--- a/drivers/interconnect/imx/imx.c
+++ b/drivers/interconnect/imx/imx.c
@@ -264,6 +264,7 @@ int imx_icc_register(struct platform_device *pdev,
provider->xlate = of_icc_xlate_onecell;
provider->data = data;
provider->dev = dev->parent;
+ provider->dev->of_node = dev->parent->of_node;
platform_set_drvdata(pdev, imx_provider);
ret = icc_provider_add(provider);
--
2.25.1
next prev parent reply other threads:[~2022-06-01 9:41 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-01 9:41 [PATCH 0/8] interconnect: support i.MX8MP Peng Fan (OSS)
2022-06-01 9:41 ` [PATCH 1/8] dt-bindings: interconnect: imx8m: Add bindings for imx8mp noc Peng Fan (OSS)
2022-06-01 11:55 ` Krzysztof Kozlowski
2022-06-01 12:06 ` Peng Fan
2022-06-01 12:13 ` Krzysztof Kozlowski
2022-06-01 9:41 ` [PATCH 2/8] interconnect: add device managed bulk API Peng Fan (OSS)
2022-06-01 12:33 ` kernel test robot
2022-06-01 13:15 ` kernel test robot
2022-06-01 13:37 ` kernel test robot
2022-06-01 14:58 ` kernel test robot
2022-06-13 18:27 ` Georgi Djakov
2022-06-01 9:41 ` [PATCH 3/8] interconnect: imx: fix max_node_id Peng Fan (OSS)
2022-06-04 0:14 ` Laurent Pinchart
2022-06-13 1:17 ` Peng Fan
2022-06-01 9:41 ` [PATCH 4/8] interconnect: imx: set src node Peng Fan (OSS)
2022-06-01 9:41 ` [PATCH 5/8] interconnect: imx: introduce imx_icc_provider Peng Fan (OSS)
2022-06-01 9:41 ` Peng Fan (OSS) [this message]
2022-06-01 9:41 ` [PATCH 7/8] interconnect: imx: configure NoC mode/prioriry/ext_control Peng Fan (OSS)
2022-06-01 9:41 ` [PATCH 8/8] interconnect: imx: Add platform driver for imx8mp Peng Fan (OSS)
2022-06-01 11:56 ` Krzysztof Kozlowski
2022-06-01 12:03 ` Peng Fan
2022-06-13 1:23 ` [PATCH 0/8] interconnect: support i.MX8MP Peng Fan
2022-06-14 17:39 ` Lucas Stach
2022-06-14 23:38 ` Peng Fan
2022-06-15 9:06 ` Lucas Stach
2022-06-15 9:28 ` Peng Fan
2022-06-15 10:30 ` Lucas Stach
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=20220601094156.3388454-7-peng.fan@oss.nxp.com \
--to=peng.fan@oss.nxp.com \
--cc=Markus.Niebel@ew.tq-group.com \
--cc=abailon@baylibre.com \
--cc=abel.vesa@nxp.com \
--cc=aford173@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=djakov@kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=l.stach@pengutronix.de \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=marex@denx.de \
--cc=paul.elder@ideasonboard.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).