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=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 546DDCA9EAF for ; Mon, 21 Oct 2019 11:24:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 277D320679 for ; Mon, 21 Oct 2019 11:24:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fr9345uy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 277D320679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xi/24YC47h/wrLzt+NTEBFLVawpdu/t9/kPFwrbWeA4=; b=fr9345uyPU5Df6 JJ8lyJg+xcKnjME5LzUfUHOc7M4Lr6PER4BWgJ6l4769QET+BdbZ4Lm+jtUDP5yMio6Is75SqgjTQ n3BIXPXKs2pfBEbxshEN3PtSk9fULmdFGsWc0lTWyuZXonTRvljGaUfnl77Jnn9YzqKFI5S9ZZ849 zvWiBCA0F8KdbcNMh5nSTbWE9a2Tul7VKNsBK44YoWYp8JJrcYhy33CZp/+wjpQpQIzdyMS7NqBlB hlx9RZF10kX31TVgNRP/mD3guzBtAMxsidxB0QLx8dlMnxw9coMjhq1OI4YW3OexL1LVqiL+79BQT PbyQiV2k73lxvVv6D0cg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iMVn8-0005wL-L6; Mon, 21 Oct 2019 11:24:02 +0000 Received: from mail-ed1-f66.google.com ([209.85.208.66]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iMVn5-0005vw-0D for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2019 11:24:00 +0000 Received: by mail-ed1-f66.google.com with SMTP id s20so3707463edq.9 for ; Mon, 21 Oct 2019 04:23:58 -0700 (PDT) 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=BVlXhkUOcHB+M6im4W80bsAnmThctBDhzXi/Z0FpqPM=; b=D9p9EVuJZKjor7m27nKq8lsh1skBtDexXHiEopZ3ry2EUOHorCqM/HBqdhp4PoGQly LfWUka6lQlqpvrixxY+mpUKz+JlAW1le1csovRKYEEetectG3SwMMJyfwyzaov7eBvPt iupDbIL47cbAB1wH6OUKkex3OMLoz2D1s7hWB4LcFmU7AQdSW+Eq41aw5a9TkCyQ8Ej1 lD/a/8cjtHOGDvAJu272VoT2+KTC1HM9+hhVF+vmsJC1n0aNed6QU79BLVKSM0o8EvWj or4xhT1XupuMTfZ6pRYXJ+s/kGhMVZImLnFIpfmlHwHfK8/ljwn2Y+HCj2p46PsnArJ0 PSSw== X-Gm-Message-State: APjAAAWGxmwpW8EMjvT9C+r+T5bFrjZ0JOicBbibY6eqpGXABUtNQS9k +a/cTj4dKyZAAyWktE57tRk= X-Google-Smtp-Source: APXvYqwff/GiwAwp/7TONncf6a2J4jtHzGlSJbceQ9C74FUOcOXZ54eJ4FoTQ+a8fgD2rHnjfyIlmQ== X-Received: by 2002:a17:906:5292:: with SMTP id c18mr21356043ejm.129.1571657037596; Mon, 21 Oct 2019 04:23:57 -0700 (PDT) Received: from pi3 ([194.230.155.217]) by smtp.googlemail.com with ESMTPSA id w16sm579189edd.93.2019.10.21.04.23.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2019 04:23:56 -0700 (PDT) Date: Mon, 21 Oct 2019 13:23:54 +0200 From: Krzysztof Kozlowski To: Viresh Kumar Subject: Re: [PATCH v5 1/4] PM / OPP: Support adjusting OPP voltages at runtime Message-ID: <20191021112354.GA2262@pi3> References: <20191016145756.16004-1-s.nawrocki@samsung.com> <20191016145756.16004-2-s.nawrocki@samsung.com> <20191017064258.yfbh7iz3pbzfhdvr@vireshk-i7> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191017064258.yfbh7iz3pbzfhdvr@vireshk-i7> User-Agent: Mutt/1.12.1 (2019-06-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191021_042359_045074_34C2682F X-CRM114-Status: GOOD ( 17.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, sboyd@kernel.org, vireshk@kernel.org, b.zolnierkie@samsung.com, roger.lu@mediatek.com, robh+dt@kernel.org, Sylwester Nawrocki , Stephen Boyd , linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 17, 2019 at 12:12:58PM +0530, Viresh Kumar wrote: > On 16-10-19, 16:57, Sylwester Nawrocki wrote: > > From: Stephen Boyd > > > > On some SoCs the Adaptive Voltage Scaling (AVS) technique is > > employed to optimize the operating voltage of a device. At a > > given frequency, the hardware monitors dynamic factors and either > > makes a suggestion for how much to adjust a voltage for the > > current frequency, or it automatically adjusts the voltage > > without software intervention. Add an API to the OPP library for > > the former case, so that AVS type devices can update the voltages > > for an OPP when the hardware determines the voltage should > > change. The assumption is that drivers like CPUfreq or devfreq > > will register for the OPP notifiers and adjust the voltage > > according to suggestions that AVS makes. > > > > This patch is derived from [1] submitted by Stephen. > > [1] https://lore.kernel.org/patchwork/patch/599279/ > > > > Signed-off-by: Stephen Boyd > > Signed-off-by: Roger Lu > > [s.nawrocki@samsung.com: added handling of OPP min/max voltage] > > Signed-off-by: Sylwester Nawrocki > > --- > > drivers/opp/core.c | 69 ++++++++++++++++++++++++++++++++++++++++++ > > include/linux/pm_opp.h | 13 ++++++++ > > 2 files changed, 82 insertions(+) > > Applied. Thanks. Hi Viresh, Can you provide a stable tag with this patch so I can take soc/samsung driver? Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel