Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp413433yba; Fri, 3 May 2019 04:23:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0Ja9ObIyxNm9z7DAe97Y6YJiHICHyhP/Hjxhqn8uKsLw+LypcG9Ru4RNPaV8O9+wqWGr1 X-Received: by 2002:a63:6988:: with SMTP id e130mr9694728pgc.150.1556882583807; Fri, 03 May 2019 04:23:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556882583; cv=none; d=google.com; s=arc-20160816; b=G/B5Kzq0gzfhjbig6R11t5LFSeDW9Kw3ZM838hdQxNwDS5wxd2e4APJkvqhtSl18rg PXj085kUJPy3ejSvZ7r9wh5/s2MqPRsgXJJ8eHtbipfknAflcmFKRC48WsJMx1Oi3XRf i39/a7sKhy+EIDXbJmcLkUaTFKQeQzttRjQMWqJygtr2i5kJckIBdQLyPWR6D/iMDDDm x+BoUnnyvz4cGVFcrl5hCRyL7IZpDWMz96v1oWZ1J5HqTdjz3VLzelgU5toE+IIw01oP /tQS0Kyc+87N84HZoHm09iexWMJEWt4mnKJKB7OC7YAnU+vGz7/I/JB4YqksC87UKA58 e/GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=83wtWGnzTS9pko+/bGzDhhwxT8NpV3zlSDUa1i+XT1Q=; b=n7Jaz2sl78vlBX8y5R6IcW07/pPd4/D833TLKdyTjOpdLzajj3HHJSAjfy5n3ReSQ/ c/0Whb3cBe64i1HMim1sT/DKBnVGTAMBXO40EOvMTCuCVPDVuUcGRl5Pz47SxOWHvzDW MW5TYbv39NWffxxqwB2irKhpUBIlP8XbZkqaW5cxJx91UxPV/FKwWouwLIadx6cBUpC4 5UpQjR28GdNJYr9ROSvpld6EpGD2I4eKyWRQcar6pziAm7v3L2QnIVa/941ryiTxRukx f/gyxwMoQDMAj+P3kKy706SgMMUYPqXn5yhQP8NROgG+Lxxx0pVlGKEWqW+eHy6KK7I5 f5gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HG+Oy2Vp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k3si1895417pgh.113.2019.05.03.04.22.48; Fri, 03 May 2019 04:23:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HG+Oy2Vp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727628AbfECLTX (ORCPT + 99 others); Fri, 3 May 2019 07:19:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:44500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726396AbfECLTW (ORCPT ); Fri, 3 May 2019 07:19:22 -0400 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 83CED206C3; Fri, 3 May 2019 11:19:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556882361; bh=UYFh2fznuaQspBCzomd2OghwGe6Z9MYbCrTWM3XoNG0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HG+Oy2VpgrIi1Cch6D4HchqpzLMZ46CRPTgAIZvUE1G6AQZFfMITgO02NydGVgooA CWnK+/SQ2OfdlS0TKVCLaFSSRwd/cR/y8LnOWA9aPJhO/KZyL0R5Z9/72GjL0p9bir RRERQz44i313wNP6/8Ze7BH7//smOtdYqEovLNB0= Received: by mail-lf1-f46.google.com with SMTP id h126so4151783lfh.4; Fri, 03 May 2019 04:19:21 -0700 (PDT) X-Gm-Message-State: APjAAAW1Cf+Q66nlACvDIJzjSZAHZ8jFbl87J6ZP2tiFhwA0KRxIUReD PKJyTKeoHY1XrdGHy2YW143WDEX+3XrGFbOciQs= X-Received: by 2002:a19:189:: with SMTP id 131mr3170741lfb.74.1556882359840; Fri, 03 May 2019 04:19:19 -0700 (PDT) MIME-Version: 1.0 References: <20190313193408.23740-1-abailon@baylibre.com> In-Reply-To: <20190313193408.23740-1-abailon@baylibre.com> From: Krzysztof Kozlowski Date: Fri, 3 May 2019 13:19:08 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 0/3] Add support of busfreq To: Alexandre Bailon Cc: linux-pm@vger.kernel.org, georgi.djakov@linaro.org, mturquette@baylibre.com, ptitiano@baylibre.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, zening.wang@nxp.com, aisheng.dong@nxp.com, khilman@baylibre.com, ccaione@baylibre.com, Viresh Kumar , Chanwoo Choi , Marek Szyprowski , MyungJoo Ham Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 13 Mar 2019 at 20:35, Alexandre Bailon wrote: > > This series implements busfreq, a framework used in MXP's > tree to scale the interconnect and dram frequencies. > In the vendor tree, device's driver request for a > performance level, which is used to scale the frequencies. > This series implements it using the interconnect framework. > Devices' driver request for bandwidth which is use by busfreq > to determine a performance level, and then scale the frequency. > > Busfreq is quite generic. It could be used for any i.MX SoC. > A busfreq platform driver just have to define a list of > interconnect nodes, and some OPPs. > > This series is sent as RFC mostly because the current support > of i.MX SoC won't benefit of busfreq framework, because the > clocks' driver don't support interconnect / dram frequency > scaling. > As exemple, this series implements busfreq for i.MX8MM whose > upstreaming is in progress. Because this relies on ATF to > do the frequency scaling, it won't be hard make it work. > > As exemple, this series implements busfreq for > Alexandre Bailon (3): > drivers: interconnect: Add a driver for i.MX SoC > drivers: interconnect: imx: Add support of i.MX8MM > dt-bindings: interconnect: Document fsl,busfreq-imx8mm bindings Hi Alexandre, I am quite late but I just found your email. This looks very similar to existing framework - devfreq, which purpose is to scale the system busses based on performance counters/events. It would be nice if we could avoid duplication of existing subsystems. Best regards, Krzysztof