From mboxrd@z Thu Jan 1 00:00:00 1970 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=-17.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 50C28C433E6 for ; Tue, 22 Dec 2020 08:56:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1E83A2076B for ; Tue, 22 Dec 2020 08:56:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726470AbgLVI4k (ORCPT ); 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-Google-Smtp-Source: ABdhPJywc6LY9gPB8aIXdU8FTmnJRcbIf3Irdo/T2lGMg7jN2SK9J2SNLPjpJEYbiKAaBbTsluyTwA== 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