From patchwork Tue Jun 18 04:14:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 11000853 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 65C7F14BB for ; Tue, 18 Jun 2019 04:14:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 512B82893B for ; Tue, 18 Jun 2019 04:14:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4448A28A13; Tue, 18 Jun 2019 04:14:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D82912893B for ; Tue, 18 Jun 2019 04:14:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726095AbfFREOv (ORCPT ); Tue, 18 Jun 2019 00:14:51 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40300 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725826AbfFREOv (ORCPT ); Tue, 18 Jun 2019 00:14:51 -0400 Received: by mail-pf1-f196.google.com with SMTP id p184so6841033pfp.7 for ; Mon, 17 Jun 2019 21:14:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jcFyPwPNKq29ytAFd305q8rwNyzYsZ7B9zTaK8mx6W4=; b=k5ib5yz5jpa3Ba1wvKnJflDfqnsh3w7oWfVsHcIR29wlU3SHF2pEifWYxqhLA97FMe 7xvOKFA9uwpxaZqS+FNvKvWuh9RiMfbc52D7g62n13fFs3PXWb0iNZ91gU7ikLXDDxcY H4K8xc9rKyACph6YvMZ5WoQzAKvhs/sKx3KlQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jcFyPwPNKq29ytAFd305q8rwNyzYsZ7B9zTaK8mx6W4=; b=X1l0JmkZ6uN0yRUGGoDRHPR/zQ+VNTpt10XzV2OeRViHZSeGrfU5uZXgM7XYpkO/+R kI6edtSSJySBIDRQoTJoVVF2M8IZ7eNSVQW9x8FnIJPisWfwbRsTi4nyswVxrdA2SsqV 0/FJdguWmA9D59lugiFWDUjRx3aS8T+jA34gbzLaXnyvNnUWGf0A5YysRxmWGTIqQwi1 jC4WowiWG3ZVr0NDi1Uv0Y2GuBvJYkY9g8QcGqa162zhn6qwJWDN0imrov8oIPexS7jR EIT9IOdUS1tj1Ve5fpPPa/JCVF2D4Lz3dHQamTWinCyZGZp23VVvUfMX4FIhtElaYYeQ /Aaw== X-Gm-Message-State: APjAAAWldsv865b3VaqrzE9Ns6nijqP7NIABKB8sqOv/X6vLQY3AmQAK E1fjusRXruEYSgsYVZ4L9I/K8Q== X-Google-Smtp-Source: APXvYqxGfG3zg+MvrVoA7HRSbr/Kl/ngYm8xn6JzKxClD9kGWk3bbE+WQ/dp1ZzdPxo78Q5ajjWSWg== X-Received: by 2002:a17:90a:2562:: with SMTP id j89mr2781411pje.123.1560831290393; Mon, 17 Jun 2019 21:14:50 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:b852:bd51:9305:4261]) by smtp.gmail.com with ESMTPSA id 25sm13590685pfp.76.2019.06.17.21.14.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Jun 2019 21:14:49 -0700 (PDT) From: Hsin-Yi Wang To: linux-arm-kernel@lists.infradead.org Cc: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Matthias Brugger , linux-pm@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Saravana Kannan , "Andrew-sh . Cheng" Subject: [PATCH RFC 0/2] Use cpufreq-map governor for MT8183 CCI Date: Tue, 18 Jun 2019 12:14:32 +0800 Message-Id: <20190618041433.245629-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Hsin-Yi Wang This series uses cpufreq-map governor for mt8183-cci to improve performance. Hsin-Yi Wang (1): devfreq: mt8183-cci: using cpufreq-map governor in cci dvfs driver Saravana Kannan (1): PM / devfreq: Generic CPU frequency to device frequency mapping governor .../bindings/devfreq/devfreq-cpufreq-map.txt | 53 ++ drivers/devfreq/Kconfig | 8 + drivers/devfreq/Makefile | 1 + drivers/devfreq/governor_cpufreq_map.c | 583 ++++++++++++++++++ drivers/devfreq/mt8183-cci-devfreq.c | 194 +----- 5 files changed, 649 insertions(+), 190 deletions(-) create mode 100644 Documentation/devicetree/bindings/devfreq/devfreq-cpufreq-map.txt create mode 100644 drivers/devfreq/governor_cpufreq_map.c