Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4421872pxu; Tue, 1 Dec 2020 04:45:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwdzbz+Tx8EMnfgNUyCGsX3zOfpLNR2AIpEMUQ4C7cmgLmKuzIrCXPSDoHfSVYDpiVdSTJy X-Received: by 2002:a50:8714:: with SMTP id i20mr2842064edb.200.1606826722254; Tue, 01 Dec 2020 04:45:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606826722; cv=none; d=google.com; s=arc-20160816; b=zTBNV8LTfOOVuEWrtN8ldleHmyKrnqntSNjlMR7WyRT1hpmDEmlaaBNKW99VxyEdSK 0xuHcuoOXuqknR9WgDAU/em1b+txiWApFdvkWPoUCYylWNR2sFcAAQFEB73Vg6X2SipC V54GbnvlmF7GSKti4AybzlY0i8HW+PFH8Nbkcb23OWBcNDk4mL5uKnIndY+SAJojLyD2 mDw2LoCZHHrl3A4b2F4EmpqqhHlsLJMq3oXKUuaBNIOYnhxO7s2TBH/8cWMM3xZOq/22 RxeuSf4+p4lmn8aLIb+u5wff8wsH1h0aHB2wtchQTNAhp/mKJ8SR6lMQw6HNGG2InO2L DJGA== 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=NAxfTD1WfVl8D/OciVPXeMmOtntmL0iNoak6eEMvvERQQSKc4WV0fdVROwbSn7cPco CJiQ4Iam/t19GkK2HAM6GPD6p4OArhfMbQ+gvIl5j/7PW8jzLGuqXs1TM+2mpJjFOT2A 3ubb7QjdsHCcrwDBTVZW9IOc1nFsfWy+1ETlRG1h2HytUtVQMPM2qU4Qd+X76oLBBfOi zPJr5HXMs4mSy4JsDW2cqejpP++6Y0VWIzI3N32CocSNYkRkBqhXVRzsGurZK2KXCBR4 YS2S5qMgQ6XRiaQW8ZLVQVBSs2PVlRkL8LPWp30EkDxA8OEONRYdO0/tG+YRDeKSo3Ud VNfA== 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 t5si1054199edq.590.2020.12.01.04.44.59; Tue, 01 Dec 2020 04:45:22 -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 S1731004AbgLAMl0 (ORCPT + 99 others); Tue, 1 Dec 2020 07:41:26 -0500 Received: from comms.puri.sm ([159.203.221.185]:35388 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730989AbgLAMlZ (ORCPT ); Tue, 1 Dec 2020 07:41:25 -0500 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 29915E0436; Tue, 1 Dec 2020 04:40:27 -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 YCVJacwuii6y; Tue, 1 Dec 2020 04:40:25 -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 v2 5/7] interconnect: imx8mq: Use icc_sync_state Date: Tue, 1 Dec 2020 13:39:30 +0100 Message-Id: <20201201123932.12312-6-martin.kepplinger@puri.sm> In-Reply-To: <20201201123932.12312-1-martin.kepplinger@puri.sm> References: <20201201123932.12312-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