Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp324444imu; Wed, 2 Jan 2019 07:23:49 -0800 (PST) X-Google-Smtp-Source: AFSGD/XoX7S5NBHCYv2X2gK425wiAP8pG4jKBhMNaIs3Sjnicpzyx2j+EOojpGyJ/f3DbXQusaTo X-Received: by 2002:a62:5dd1:: with SMTP id n78mr44216675pfj.58.1546442629308; Wed, 02 Jan 2019 07:23:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546442629; cv=none; d=google.com; s=arc-20160816; b=DH6tJPS5fy15aumS9wFhs+yekN8gPdwkTb9k4zmEv1Lfr2Unma7fRmlOTQP7q5GR03 Sc2JugHLsaeXTKLHbRPyHo84akcOUq+O0TepbzBbwCepUK25xcmcv2sZhp7a66N54HVl NLAl50p3+D3KktFiJiGlyqLnjTRY1JIUr2elm255lJZTucVjqIr+Hmmzxo1KQVktlt9H f5ZDFFrd0YYLPa32sqzzD/aL0FhwhoBm0kFhd4jU7vnXAFjmSxw0PaLTpyEDgzwqCSjs SBPK1pVqCs7pJQkrKekQgi8FgPNk8naQ+majaARq/9u4tHVzpWJ8rxV9vVwyuxx1phz3 2JHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=IQGozfQYZU4PEcjhJudvLVhhybIdHDkpL9J/KTKhVAs=; b=hzfQE3XoupjXWyHakfeDFEkDF3g0W8Z5xae0IJeyXa2vaV6iLBmgGmgmjecu9AZTys OdJ2A4UBBsec84jLCgUVMc58gYD+Vdn/gRvC1Y7BigIrmHvCWL/pFfU1tzj6tYnygUYb AkM6b5N/e+MgP+mnksBGgcUdSS3LAO5hvdw3Ajz8SCVdjIL+YlhuqP6MFWyb+wC3K+b4 IiBTN1anK3z35+JV5azv4nwbhLc0cHXOXHh9t9XSdUPC3I9ZZBMeyJfph9421GwYeSRI mog8XUyn7GWt1CuOzqsXzn1Z08u73j/Kumn3UtTBMY6rznpZO6u2cAdbCSf/vkpuZAZY BhqA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7si5256976pls.326.2019.01.02.07.23.34; Wed, 02 Jan 2019 07:23:49 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730023AbfABOBG (ORCPT + 99 others); Wed, 2 Jan 2019 09:01:06 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:26590 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729397AbfABOBG (ORCPT ); Wed, 2 Jan 2019 09:01:06 -0500 X-UUID: ab0098f85fe94414bb84c00bc6df16a7-20190102 X-UUID: ab0098f85fe94414bb84c00bc6df16a7-20190102 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1555353887; Wed, 02 Jan 2019 22:00:57 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 2 Jan 2019 22:00:55 +0800 Received: from mtkslt205.mediatek.inc (10.21.15.75) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 2 Jan 2019 22:00:56 +0800 From: Henry Chen To: Viresh Kumar , Stephen Boyd , Rob Herring , Matthias Brugger , Ulf Hansson CC: Mark Rutland , Fan Chen , Weiyi Lu , James Liao , Kees Cook , , , , , Subject: [RFC PATCH 0/7] Add driver for dvfsrc and add support for active state of scpsys on mt8183 Date: Wed, 2 Jan 2019 21:43:57 +0800 Message-ID: <1546436644-19234-1-git-send-email-henryc.chen@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patchsets add support for MediaTek hardware module named DVFSRC (dynamic voltage and frequency scaling resource collector). The DVFSRC is a HW module which is used to collect all the requests from both software and hardware and turn into the decision of minimum operating voltage and minimum DRAM frequency to fulfill those requests. So, This series is to implement the dvfsrc driver to collect all the requests of operating voltage or DRAM bandwidth from other device drivers likes GPU/Camera through 2 frameworks basically: 1. PM_QOS_MEMORY_BANDWIDTH from PM QOS: to aggregate the bandwidth requirements from different clients 2. Active state management of power domains[1]: to handle the operating voltage opp requirement from different power domains [1] https://lwn.net/Articles/744047/