[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220616073320.2203000-8-peng.fan@oss.nxp.com>
Date: Thu, 16 Jun 2022 15:33:18 +0800
From: "Peng Fan (OSS)" <peng.fan@....nxp.com>
To: djakov@...nel.org, shawnguo@...nel.org, s.hauer@...gutronix.de,
festevam@...il.com, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, abel.vesa@....com,
abailon@...libre.com, l.stach@...gutronix.de,
laurent.pinchart@...asonboard.com, marex@...x.de,
paul.elder@...asonboard.com, Markus.Niebel@...tq-group.com,
aford173@...il.com
Cc: kernel@...gutronix.de, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-imx@....com,
abelvesa@...nel.org, Peng Fan <peng.fan@....com>
Subject: [PATCH V2 7/9] interconnect: imx: set of_node for interconnect provider
From: Peng Fan <peng.fan@....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@....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 1f16eedea21c..78557fe6da2c 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
Powered by blists - more mailing lists