Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4328129pxu; Tue, 1 Dec 2020 02:08:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxFXSm/M3YvX+sYQOpaCUy5JXtUkqQQ7t2ZIl3jmolb6jIemyErVeLY+EHAsVKtVtWnJwov X-Received: by 2002:a17:906:7118:: with SMTP id x24mr2197438ejj.333.1606817323453; Tue, 01 Dec 2020 02:08:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606817323; cv=none; d=google.com; s=arc-20160816; b=dfHk7xi3uVqoDAln1elf8ds907vTPwucj+tfDopnjiymJMnAhL43x3dgAoFz9cTeXP MdUtqD8NICcixNBE8DHclKl/BWA276ETbIOetuMe+ttU8pOWbhPFuwT14Nb/cSlBIB/T JP13lqLbuMEs0oMJ2uvTxFRRlBUusGkkP5PpfahryStbAdUvF+a0nHj97Wc4dKfxZFFY reUJXNy5nMQLtO6adC/qWSfFofcxZwDe56jLgCENcjp901vvy7vuXyAO2nD4wf3h2VlH RUgaeryTHOZA2bXMwgUiRrICemLNRZD2vt4wfKxvDCDYnwVrlHVjHHSvMv4+gpTw+HG5 IjXA== 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=lWQWFYWIlR6f1atG8BkqzRcQBk/iIVg0KbO8QFaKROSrroFWrmbu29ke+97o1M67Vh 8mv13beXue4/gIF70xog3rnESG8sBsU/OXnFQ4m/Td72i+0N4NOdSMtjzny1aJOy2/VT IsGvuiuigjWAZl6Drw5Ozv9JzdQKuSq/EjQOZnXCobQQK2WQBkhJ106yPVWq/GkjXabL emyu8S2+/YLdVfezx7tk/ajP+s8/lYjkjZyDuBGZIa/eBT7Gr4nzcwIXW1QoksPTZ8TV ZuylEdznsYPc/49VgfCJ+8DMmNwH5N3HQRwMmt5idsw1gmOuKxyw/LhcVofJwieZTtFh jUgQ== 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 p1si608772ejw.42.2020.12.01.02.08.20; Tue, 01 Dec 2020 02:08:43 -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 S1729491AbgLAKDy (ORCPT + 99 others); Tue, 1 Dec 2020 05:03:54 -0500 Received: from comms.puri.sm ([159.203.221.185]:52912 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725912AbgLAKDx (ORCPT ); Tue, 1 Dec 2020 05:03:53 -0500 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 73785E03EB; Tue, 1 Dec 2020 02:02:43 -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 CobMysdyrSC2; Tue, 1 Dec 2020 02:02:42 -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 4/6] interconnect: imx8mq: Use icc_sync_state Date: Tue, 1 Dec 2020 11:01:22 +0100 Message-Id: <20201201100124.4676-5-martin.kepplinger@puri.sm> In-Reply-To: <20201201100124.4676-1-martin.kepplinger@puri.sm> References: <20201201100124.4676-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