Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp368516pxf; Thu, 18 Mar 2021 02:16:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVZTdzoWnvdMJuPkhpsdlEtQy8ussFHMgdM21GZ1PdV6o7VSRLIVbKRhxs6nL44unHHjhK X-Received: by 2002:a17:907:9e6:: with SMTP id ce6mr39332517ejc.207.1616058991001; Thu, 18 Mar 2021 02:16:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616058990; cv=none; d=google.com; s=arc-20160816; b=bhxFv3P41UbuTrFVGeNJB1nZdfc6lK6Wn/KqCqa8/TOWBPQkLUH/tPRrbKJu5bs4Y7 mLMAj8H13DVXYR0eHquLHuQMONu3lZvUlee7YrPA3ZSGH+HYCX0sylAHT/GL0ZH3hIGd N0fRph2CNgrWUNo8t1hY8c4TM1L9RhtixdJJn0BHZUCiOaj8vmCYcF1BDubPNhBIjPWU sWn4fRRgUZNlhskB5kM8HFWABWhPL6V+RqQj+EyYhQJ9zupaVxJ6CrLCR+tjdox42U5d km1itCYuB6zEk8PrdOr7BYCNJcAnjUGKTZK38kc55KpK+xj9IEYm4PaYpokudbFn7B5I Pgjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:date:message-id:subject:from:references:cc :to:dkim-signature; bh=WwfwygZ0uyO/8qnwByDJeqKuIzR1LpilYHqI7Bczxo8=; b=x7rSwqZWIQuohR6UkEdn72+LgDfY3X+qkBmalHWEK2CMBHvZZpRRCUdf8HprPO5nfY 1HZkpIrD1KERDARqiqCpRrux53XNjYqk9BV2V8cJXcdE5axaf7HJwPsEzW22BiMznGsS /9vLABB54ZO8yNlX/F8BJmcDnBFDOFpFAfMm7eu++pTEV62WB4WlwIsPIw9iiewn12oB mfUVyvMEA4VVvyfaUPL3ahFjOrwBOw5Vg4qQ5qGYQECIfDmgWNWcz8R9yKTyFt8G9IRc 5EINdhIu/uJwEArwXoLROb0XUtcRLTQQRN2zVlekm9AJlAS1UQOEwgBysRlezO+RUnps Dsaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uUyOQOXe; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d23si1165657ejk.593.2021.03.18.02.16.08; Thu, 18 Mar 2021 02:16:30 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=uUyOQOXe; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229540AbhCRJPO (ORCPT + 99 others); Thu, 18 Mar 2021 05:15:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229734AbhCRJOx (ORCPT ); Thu, 18 Mar 2021 05:14:53 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FD8CC061760 for ; Thu, 18 Mar 2021 02:14:53 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id b9so4676404wrt.8 for ; Thu, 18 Mar 2021 02:14:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=to:cc:references:from:subject:message-id:date:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=WwfwygZ0uyO/8qnwByDJeqKuIzR1LpilYHqI7Bczxo8=; b=uUyOQOXeDjrR28SpCD0JA/vq1e3Sml4lVpehemL4k+jNHeSJBExwZLl5xy6cDaoE88 gKg1vR0b7fxBR5sY6uNxRGxI9OAKBnuS2/zLKqH8bSg4PjuXAOruyYW4XE5TgeJ9QDEz P7e7cL9HioJlbXpjNbu7vHym3l4pm1C1O5psBsH/sBtb4EWGx/UrpRs5LZ8wX0zaJQOj pWiGWit+PPUinxd+C5Nd0xU2hO3BWY6ix0fTNYJAAViEgew0TlNRLcU5T5GBqqzOi+SP dh/2Wgf3/0UlS/m6UK3T0QhbS2SsvTNanQOWyxITmsRTae1HPjXYJBA3eboDRHdbkr9U GhJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:from:subject:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=WwfwygZ0uyO/8qnwByDJeqKuIzR1LpilYHqI7Bczxo8=; b=I7BV8oZFpoSUq/aOhAArqitwjyjB5HjVZTEeETnQ0aCOSnD5fxsPnka7wQfkcwheD3 znfz1clAKcKw6BC6xPFeodu27Q4HMFgpVHcj63kACKuNS3O4Q7hggH/go7HSJVtSrR2K WlFbD2/Gb4Nt0w6b8U+/e2GwkNr6Yq8lbMJY46++8GtqPCvI8xl3z9wQeIIcHt43WzDV BIhZwAgMIbCbbpRrwIhG+NLUKygn8rrim86doDe53BoU30e2/T6EHfd7KIy1HkpojXoh ST7HiLJGMUjaAu/9Z8yNs0DN/F4zBIYVygdYNn1H3L+PTlXw6XpEXoAoAXP6Yraw6YiB tcEA== X-Gm-Message-State: AOAM5315MhbdRJ9gX2dggso6IhmhpZTRSyys5dakwcUxnw4QtwkEBkE0 /HJ6cK+CCH2w3d3b+T7UcEVg8g== X-Received: by 2002:a5d:5043:: with SMTP id h3mr8515651wrt.120.1616058891911; Thu, 18 Mar 2021 02:14:51 -0700 (PDT) Received: from [10.44.66.8] ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id l4sm2002873wrt.60.2021.03.18.02.14.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Mar 2021 02:14:51 -0700 (PDT) To: Henry Chen , Rob Herring , Matthias Brugger , Stephen Boyd , Ryan Case Cc: Mark Rutland , Nicolas Boichat , Fan Chen , James Liao , Arvin Wang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <1614656863-8530-1-git-send-email-henryc.chen@mediatek.com> <1614656863-8530-9-git-send-email-henryc.chen@mediatek.com> From: Georgi Djakov Subject: Re: [PATCH V9 08/12] interconnect: mediatek: Add interconnect provider driver Message-ID: Date: Thu, 18 Mar 2021 11:14:50 +0200 MIME-Version: 1.0 In-Reply-To: <1614656863-8530-9-git-send-email-henryc.chen@mediatek.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/2/21 05:47, Henry Chen wrote: > Introduce Mediatek MT6873/MT8183/MT8192 specific provider driver > using the interconnect framework. > > ICC provider ICC Nodes > ---- ---- > --------- |CPU | |--- |VPU | > ----- | |----- ---- | ---- > |DRAM |--|DRAM | ---- | ---- > | |--|scheduler|----- |GPU | |--- |DISP| > | |--|(EMI) | ---- | ---- > | |--| | ----- | ---- > ----- | |----- |MMSYS|--|--- |VDEC| > --------- ----- | ---- > /|\ | ---- > |change DRAM freq |--- |VENC| > ---------- | ---- > | DVFSR | | > | | | ---- > ---------- |--- |IMG | > | ---- > | ---- > |--- |CAM | > ---- > Signed-off-by: Henry Chen > --- > drivers/interconnect/Kconfig | 1 + > drivers/interconnect/Makefile | 1 + > drivers/interconnect/mediatek/Kconfig | 13 ++ > drivers/interconnect/mediatek/Makefile | 3 + > drivers/interconnect/mediatek/mtk-emi.c | 331 ++++++++++++++++++++++++++++++++ > 5 files changed, 349 insertions(+) > create mode 100644 drivers/interconnect/mediatek/Kconfig > create mode 100644 drivers/interconnect/mediatek/Makefile > create mode 100644 drivers/interconnect/mediatek/mtk-emi.c [..] > +++ b/drivers/interconnect/mediatek/mtk-emi.c > @@ -0,0 +1,331 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (c) 2021, The Linux Foundation. All rights reserved. > + * > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include The patch looks good to me, but as there is a build dependency I'll wait until the dvfsrc patches are reviewed/picked by Matthias. Thanks, Georgi