linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Martin Kepplinger <martin.kepplinger@puri.sm>
To: robh@kernel.org, shawnguo@kernel.org, festevam@gmail.com,
	catalin.marinas@arm.com, will@kernel.org,
	georgi.djakov@linaro.org, cdleonard@gmail.com
Cc: devicetree@vger.kernel.org, kernel@puri.sm,
	linux-pm@vger.kernel.org,
	Martin Kepplinger <martin.kepplinger@puri.sm>,
	linux-kernel@vger.kernel.org, linux-imx@nxp.com,
	kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/6] interconnect: imx8mq: Use icc_sync_state
Date: Tue,  1 Dec 2020 11:01:22 +0100	[thread overview]
Message-ID: <20201201100124.4676-5-martin.kepplinger@puri.sm> (raw)
In-Reply-To: <20201201100124.4676-1-martin.kepplinger@puri.sm>

Add the icc_sync_state callback to notify the framework when consumers
are probed and the bandwidth doesn't have to be kept at maximum anymore.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Suggested-by: Georgi Djakov <georgi.djakov@linaro.org>
---
 drivers/interconnect/imx/imx8mq.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/interconnect/imx/imx8mq.c b/drivers/interconnect/imx/imx8mq.c
index ba43a15aefec..d7768d3c6d8a 100644
--- a/drivers/interconnect/imx/imx8mq.c
+++ b/drivers/interconnect/imx/imx8mq.c
@@ -7,6 +7,7 @@
 
 #include <linux/module.h>
 #include <linux/platform_device.h>
+#include <linux/interconnect-provider.h>
 #include <dt-bindings/interconnect/imx8mq.h>
 
 #include "imx.h"
@@ -94,6 +95,7 @@ static struct platform_driver imx8mq_icc_driver = {
 	.remove = imx8mq_icc_remove,
 	.driver = {
 		.name = "imx8mq-interconnect",
+		.sync_state = icc_sync_state,
 	},
 };
 
-- 
2.20.1


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

  parent reply	other threads:[~2020-12-01 10:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-01 10:01 [PATCH 0/6] imx8mq: updates for the interconnect fabric Martin Kepplinger
2020-12-01 10:01 ` [PATCH 1/6] arm64: dts: imx8m: Add NOC nodes Martin Kepplinger
2020-12-01 10:01 ` [PATCH 2/6] arm64: dts: imx8mq: Add interconnect provider property Martin Kepplinger
2020-12-01 10:01 ` [PATCH 3/6] arm64: dts: imx8mq: Add interconnect for lcdif Martin Kepplinger
2020-12-01 11:27   ` Lucas Stach
2020-12-01 10:01 ` Martin Kepplinger [this message]
2020-12-01 10:01 ` [PATCH 5/6] arm64: defconfig: Enable interconnect for imx8mq Martin Kepplinger
2020-12-01 11:29   ` Lucas Stach
2020-12-01 10:01 ` [PATCH 6/6] arm64: defconfig: updates for 5.10 Martin Kepplinger

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=20201201100124.4676-5-martin.kepplinger@puri.sm \
    --to=martin.kepplinger@puri.sm \
    --cc=catalin.marinas@arm.com \
    --cc=cdleonard@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=georgi.djakov@linaro.org \
    --cc=kernel@pengutronix.de \
    --cc=kernel@puri.sm \
    --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=robh@kernel.org \
    --cc=shawnguo@kernel.org \
    --cc=will@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).