Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4805226pxu; Tue, 22 Dec 2020 00:57:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIQzXjiWtFTXiZqGxIzO/0XnGTgvQN8CVgViWRT2O3KBBmIQqvU78rM7DVi2vY+E7VlU0e X-Received: by 2002:a05:6402:1765:: with SMTP id da5mr19792803edb.27.1608627462838; Tue, 22 Dec 2020 00:57:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608627462; cv=none; d=google.com; s=arc-20160816; b=U19Z86YFlP2FFcLt+xpYBW+1nERX7Ue2BO8ZpsZ8NG83DmSPRrgtRjuIQp50H86aGp dgCDc3mLQwuUfcH2UIgQ2d4uyRo0Mz+0G/51PzCdHUvXT5JY/pkxX8Ii4UPZzvdwbwe3 RJ5+U4V4vTQiDRXJET38JjxWyOotqgJV9xfFv2P5bu+HLLR/muv5F2uoxU1OfniRrHiJ pijTPcOUfcb89AYDlcmbEAY0VH4t2baMPOfgnQ5DBA8F7w15jwBgrN4PPW1uRjF+cw2Y cry4SsEiqLmHZ1mEIQVbjyV5EwAkgyrxO0lrNMtZ2ugccDgYPO44B2CQzpchs10qZwIP WdRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=vFzkf9KGKvhutZbig0u7i/t+IYvhk4nnFQKLcFcxsq4=; b=I+qQkyzlxOH6CFthHrCDt6WOAudwKhkHZxgZqOvHYPiSZOCAJ+VsTURxU4P5R04S+I 5ipdZ7jHEWcv6jv2s5xzqcbUPQQ57yQIKiXuu71SSLvlL+/ZtrycFNqX5G4dN82WFood C7BrNjkGgsN/fYyAboIy2FtDVB6fKiaHzT+IcY5aPqXP2cCpgsJpoqmlmxVOstg6xciN k2dfqstXQ0v1WrdbG0VIGPCKm2WY9ZtwMCXSZR4WyMwc/9GQXIfXjfla1TS4FKJ4xiI+ Wng9OVu6jOP18UVoL4kGdp2Oj7Z7YYvU9B1pmBzMD5Epy4RBIzyRnNjbTFmBfRwR0pCd Jx+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vAsAJop5; 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 i8si10728798ejj.262.2020.12.22.00.57.20; Tue, 22 Dec 2020 00:57:42 -0800 (PST) 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=vAsAJop5; 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 S1726175AbgLVI4k (ORCPT + 99 others); Tue, 22 Dec 2020 03:56:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726230AbgLVI4j (ORCPT ); Tue, 22 Dec 2020 03:56:39 -0500 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61B0BC06179C for ; Tue, 22 Dec 2020 00:55:59 -0800 (PST) Received: by mail-pg1-x534.google.com with SMTP id g15so3059415pgu.9 for ; Tue, 22 Dec 2020 00:55:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=vFzkf9KGKvhutZbig0u7i/t+IYvhk4nnFQKLcFcxsq4=; b=vAsAJop5QL87eRDzT5DTHMtwoNPt0CQSIkdTqkJeziTI1AZMtMAcIEm3Kl9fhnTk5V vB/lYkBRouI/12yFv6A1dCSOIC7zvTsWExhCNxYa4+Oefx74oga8DDnN983sE8WuR0Lw A/n6+TWPt+hiOGv4RVjVlrk029VE+mVsDRs23XZwxscocW8GlofyFgohPX99nF5S7Xwf uRZL+JFGs5YKyoIHowFMNinq/TGTNXJtfDFp0L89tHOseHc6j2SMhTv475d9VkLlcOL+ Iu/sAsOo0E5YMGvGAyoXhWoXv1Ygp7453JTCPAWJO9u4w7D6CKSImKmQS5VN3jjIJN38 c4fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=vFzkf9KGKvhutZbig0u7i/t+IYvhk4nnFQKLcFcxsq4=; b=QTyEsJjdk7hOZQWrPUWLidZcOnKvpvAcZIAEan4G03PJLgco8ydFOzzXQoi3IwgwVC xd3dR4oipvrTAQ4aC5kX0aphjisu8qFGYPSAaQwdAZ+sKP5YvGs+Gk2/bL9R1JisqUin 00wWazDo+R+BCCbgWfhxG0a9CyFrv95rkrR5Hp62TadWlkP2qOkqEpxOAjDvxkz47g03 1inEWwz75tXqypLuAOYlLQmwOvk2EcUe54DpIQYTnKcJVZsVf8LG2z708fAfmVOX5etH K1wifktyxsC7leyjFPCVGEaFa3Bem5NrB85WfrWlORI7e3QLLFnimq+sFthAZfo3mNES oBQQ== X-Gm-Message-State: AOAM530MmKIjCtlNpJ5AUsSoS8LbObA2t3iUjjLeOUsUfPM02H6/ibDA dAe+Nz1Wa2Vvdyd4MkQIZWysRg== X-Received: by 2002:a63:6806:: with SMTP id d6mr18604366pgc.205.1608627358914; Tue, 22 Dec 2020 00:55:58 -0800 (PST) Received: from localhost ([122.172.20.109]) by smtp.gmail.com with ESMTPSA id t7sm19377680pfe.179.2020.12.22.00.55.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Dec 2020 00:55:58 -0800 (PST) Date: Tue, 22 Dec 2020 14:25:56 +0530 From: Viresh Kumar To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Mark Brown , Liam Girdwood , Ulf Hansson , Mauro Carvalho Chehab , Rob Herring , Peter Geis , Nicolas Chauvet , Krzysztof Kozlowski , "Rafael J. Wysocki" , Kevin Hilman , Peter De Schrijver , Viresh Kumar , Stephen Boyd , Michael Turquette , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH v2 13/48] opp: Add resource-managed versions of OPP API functions Message-ID: <20201222085556.kce4dcwumk4u6ttm@vireshk-i7> References: <20201217180638.22748-1-digetx@gmail.com> <20201217180638.22748-14-digetx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201217180638.22748-14-digetx@gmail.com> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17-12-20, 21:06, Dmitry Osipenko wrote: > Add resource-managed versions of OPP API functions. This removes a need > from drivers to store and manage OPP table pointers. > > Signed-off-by: Dmitry Osipenko > --- > drivers/opp/core.c | 173 +++++++++++++++++++++++++++++++++++++++++ > drivers/opp/of.c | 25 ++++++ > include/linux/pm_opp.h | 51 ++++++++++++ > 3 files changed, 249 insertions(+) Please send a patchset of its own for this patch, along with updates to all the existing code that can make use of these. -- viresh