Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp113159lqs; Thu, 13 Jun 2024 05:39:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUGmblV/kkG+yoddhZxFDCVV0XfPy2vJ1em/39MKirn4IPVN1jy/GEpIu2mnpUVuuGcvXRc1o7qqfGKEzC+2CsbNAQAVildLRinY9SOkg== X-Google-Smtp-Source: AGHT+IHI9LZbFwncW7ba4VIBrR+7b2mV4ZhlL0VB+qqpImQG8RuDGBUZVVEoToT0iV3IyLSmC0Tg X-Received: by 2002:a05:6214:2f0c:b0:6b0:89ba:396a with SMTP id 6a1803df08f44-6b1a6b5ddc1mr52256886d6.47.1718282358924; Thu, 13 Jun 2024 05:39:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718282358; cv=pass; d=google.com; s=arc-20160816; b=E2XUHbAMdj7VYyEUGJ7yNCiGRsINFmzWZeU5aqC91RICh8nnw3kmfzp2IYdCUd2cId vaxOLOixtVCHRchgQOy3vgys+hhs4YvsEIcgXB/jhtI/6aBHPYYZkEhFLRvqB1Bcv2Dp C+WJqOeTSO0IrilS0eweQow4ykxaOV9kQXfKPQ31orGvPcAX2svpj25yY7shxyI9jnF6 z6Quktjv0GSbrrZG/C8Jzlh1BC+t/i2cuk9ZcnfHOmKgaU/3U5vsBx75SzDA1A/z+R0v Vm8Dnnv7MZ16s8pbZfiv/gw9q27jwUO5FUVjaF12D9yEU0CSZWcl+g8kWOXp+aGtTnyk ET+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=0gFdzX42TQ/hJ6Q3pkd0rhDLhepWI5KklKEUzURFLwY=; fh=uoH+DH3mhe9x1aM6bWdUveo/6wxSmgftguiHIHljgQk=; b=X2FnRhpvU2v+amZC5wGcugkNZrR0wgCi3sdfvYe+c/fxYoDaH5ONCWE0onoZ3wgkxP +00g+TTKdCHVTUQTXuqkYz6YBj0s8HXRYdfOyWimdTc6L90PX+2T7DZX7CNVlMeJWB0f BCoAn2jKMTqVF+VUYOK5axNCBkZbTiza32gJ0kn2PlgDbNb4NAl3jSoclvavFnbcVwMN v/EyiNe5qz/FVPjKFoJp22PLgnrOBMVmoLU3ev2wvBy/04NZoARD7hIc/bYgzQ/hPBL7 DcfeixLD3boFBfM9DYbzRAKfhhkxR6X97MeXzaXb6PsjncgmG6TmauC0U8TqzRKiOEv8 ZPkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dWNBZiOK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213218-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213218-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b2a5afd518si13858106d6.196.2024.06.13.05.39.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 05:39:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213218-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dWNBZiOK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213218-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213218-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A0FB61C22C4F for ; Thu, 13 Jun 2024 12:39:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE7C31442F6; Thu, 13 Jun 2024 12:38:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dWNBZiOK" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C59814386B; Thu, 13 Jun 2024 12:38:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718282297; cv=none; b=s9lase2b28BwhYL1vdEjNS2HyEPzosEB869vRhWtyuPkAYAdKXwuBQibqk0QKPoXuqiHzvw73FMNM1sCrV+sO9jV9rggh2vFNyRhy0qI6asf4DS5jfiRRLE74xoNGI3axnoNDxiQfAW6HhAqHRgbYiluwtc1KUEUisl63W5vXm0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718282297; c=relaxed/simple; bh=+Ps/m5LPCrr12cKf+1TsG+NGfRkskSxaIu7J2ih4u9M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dMTlg8P+4+IN08D2dOJtkDQrDOKst6VCFpEMEzUrYsRaADz6COMqEQ1YaRZogljMge6TNBphe05XAekH9bLz+PrB/pJkhHcdXyJGjsKvnKCAnnUo73LMmmcOdNbTg+aJY6TlO2tHwkdM2YUN7V8f9Aj5DtjzDlRAzo/IHFuJrLw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dWNBZiOK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7ED15C4AF1A; Thu, 13 Jun 2024 12:38:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718282296; bh=+Ps/m5LPCrr12cKf+1TsG+NGfRkskSxaIu7J2ih4u9M=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=dWNBZiOK0WNhGJx5cvEsKkOoqN3c89QhYzBrfgIaR8sqDH6md4bbGOMuXhxszIYcD yG3tnrBxi0Eat5n7E3yCGm/gqH2yVXKAVbFfSh6v021Yt4k5wJFsd45XqYbWX2U4Fr Pgt4r5bvQnojgSpjHvd09IFfRA8hZUPpB7jgfyJwPen1Wpzm5FpY+9Tz8rxsxaMywD 9vHUeTXA6gMGerIiV+NSXUshO2uAmz8rH+nbrek8yYKZhbkk4qs5R0/0ZpU1EDlLOy RNIg8DXGeD4nK/zFj255Oxt7DrIK41x1415r46zWv3bQVDKC1HpOE9dHP7d8sql8QD Y3MtnY2fENwCw== Message-ID: Date: Thu, 13 Jun 2024 15:38:09 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 4/7] soc: mediatek: Add MediaTek DVFS Resource Collector (DVFSRC) driver To: AngeloGioacchino Del Regno Cc: robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, matthias.bgg@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, keescook@chromium.org, gustavoars@kernel.org, henryc.chen@mediatek.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, wenst@chromium.org, amergnat@baylibre.com, Dawei Chien References: <20240610085735.147134-1-angelogioacchino.delregno@collabora.com> <20240610085735.147134-5-angelogioacchino.delregno@collabora.com> Content-Language: en-US From: Georgi Djakov In-Reply-To: <20240610085735.147134-5-angelogioacchino.delregno@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 10.06.24 11:57, AngeloGioacchino Del Regno wrote: > The Dynamic Voltage and Frequency Scaling Resource Collector (DVFSRC) is a > Hardware module used to collect all the requests from both software and the > various remote processors embedded into the SoC and decide about a minimum > operating voltage and a minimum DRAM frequency to fulfill those requests in > an effort to provide the best achievable performance per watt. > > This hardware IP is capable of transparently performing direct register R/W > on all of the DVFSRC-controlled regulators and SoC bandwidth knobs. > > This driver includes support for MT8183, MT8192 and MT8195. > > Co-Developed-by: Dawei Chien > [Angelo: Partial refactoring and cleanups] > Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Georgi Djakov