Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4662818pxu; Thu, 10 Dec 2020 02:15:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJzIENaIEn1rSSyW8g4DURyTm8sAfrqtQYJVhMAUfD+Z3pnqZepsL5eE1OuJ55CmvvkhBugt X-Received: by 2002:a50:e882:: with SMTP id f2mr5874914edn.76.1607595347689; Thu, 10 Dec 2020 02:15:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607595347; cv=none; d=google.com; s=arc-20160816; b=SrkpyU+de1n5ZCsYQqx/cxSm3kgHC64H4jVKky9X6nUsHpExjce2egoy8sZF7hnNLG 91/ycJMv2YYLCWrUo7OBImQBU/ykL0NZMmKiCtgoBrGOAXmCc36V6slMm4um0PrKXu6Q X7y+TcNhmoRKQijaAEECYZGzDwFMu/UNkWVi+VMHPoixYxUPuEqNkGIymBkuGwbcE2uf 9zoIv+3WQl1mpVE9aaHPQHXo9QMRCheyOTCR6p2VZ0I1SDL75c1a/ZGtv4zaQ048K8G4 /Hwa6ZFy+jnh+iw9XgtzQbO08nKYlJo0VVQRpR+wW4cHe+HVK7Bx6gAGGASqZ/AqKr+z 8NQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from; bh=zlwckPzZKkKwji9CIdX/8LehjcppuQm8wNgY9LVhjeU=; b=X+O3E4CNdJuJHwmq7Kg6f6ver8WHN82cBKvLwd2l4wkgn35d2YUVN2pZunOURoqdDV rc5S7nf8CAB25c7xZV0AZfM2gj3LIVQIYT3wD191CmbFzJDy81yjbcRLyBU39CLArn9I GrQDdavpWL/PTzBoTzPm3WS5NFnmsVnIuWBykN3RlXac0MnzHY3XETw6SU4LuwUjxfr3 x+8InW860tfiNJt9Jh5Qk/4nULIaLiTsLg4D+AokfiD1ATNqzpMxSypp9kSut8sSl6ik +yMhAuJalnRzLON/LmuEwbw7MyW5LC+IUoDjm+mXb3JHt4hCUti54JuLNytnFk6QLwzP mzHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d23si2245351ejd.151.2020.12.10.02.15.25; Thu, 10 Dec 2020 02:15:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731137AbgLJKLw (ORCPT + 99 others); Thu, 10 Dec 2020 05:11:52 -0500 Received: from comms.puri.sm ([159.203.221.185]:40408 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730800AbgLJKLb (ORCPT ); Thu, 10 Dec 2020 05:11:31 -0500 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 6BA19E1217; Thu, 10 Dec 2020 02:09:55 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ORuYWibJJf1l; Thu, 10 Dec 2020 02:09:54 -0800 (PST) From: Martin Kepplinger 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: kernel@pengutronix.de, linux-imx@nxp.com, kernel@puri.sm, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Martin Kepplinger Subject: [PATCH v3 5/6] interconnect: imx8mq: Use icc_sync_state Date: Thu, 10 Dec 2020 11:09:05 +0100 Message-Id: <20201210100906.18205-6-martin.kepplinger@puri.sm> In-Reply-To: <20201210100906.18205-1-martin.kepplinger@puri.sm> References: <20201210100906.18205-1-martin.kepplinger@puri.sm> Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Suggested-by: Georgi Djakov --- 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 #include +#include #include #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