From patchwork Mon Oct 12 13:55:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Lee X-Patchwork-Id: 286800 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72C36C43457 for ; Mon, 12 Oct 2020 13:56:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3D0CA22203 for ; Mon, 12 Oct 2020 13:56:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390578AbgJLNz4 (ORCPT ); Mon, 12 Oct 2020 09:55:56 -0400 Received: from smtp2207-205.mail.aliyun.com ([121.197.207.205]:59457 "EHLO smtp2207-205.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390520AbgJLNzo (ORCPT ); Mon, 12 Oct 2020 09:55:44 -0400 X-Alimail-AntiSpam: AC=CONTINUE; BC=0.3466635|-1; CH=green; DM=|CONTINUE|false|; DS=CONTINUE|ham_news_journal|0.0583757-0.0215271-0.920097; FP=0|0|0|0|0|-1|-1|-1; HT=ay29a033018047213; MF=frank@allwinnertech.com; NM=1; PH=DS; RN=20; RT=20; SR=0; TI=SMTPD_---.IiEO.rd_1602510932; Received: from allwinnertech.com(mailfrom:frank@allwinnertech.com fp:SMTPD_---.IiEO.rd_1602510932) by smtp.aliyun-inc.com(10.147.41.137); Mon, 12 Oct 2020 21:55:38 +0800 From: Frank Lee To: robdclark@gmail.com, sean@poorly.run, airlied@linux.ie, daniel@ffwll.ch, vireshk@kernel.org, nm@ti.com, sboyd@kernel.org, rjw@rjwysocki.net, jcrouse@codeaurora.org, eric@anholt.net, tiny.windzz@gmail.com, kholk11@gmail.com, emil.velikov@collabora.com, gustavoars@kernel.org Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Frank Lee Subject: [PATCH 0/3] Introduce devm_pm_opp_set_* API Date: Mon, 12 Oct 2020 21:55:14 +0800 Message-Id: <20201012135517.19468-1-frank@allwinnertech.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hi, this patchset introduce devm_pm_opp_set_prop_name() and devm_pm_opp_set_supported_hw(). Yangtao Li (3): opp: Add devres wrapper for dev_pm_opp_set_supported_hw opp: Add devres wrapper for dev_pm_opp_set_prop_name drm/msm: Convert to devm_pm_opp_set_supported_hw drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +- drivers/opp/core.c | 80 +++++++++++++++++++++++++++ include/linux/pm_opp.h | 14 +++++ 3 files changed, 95 insertions(+), 1 deletion(-)