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=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 D9600C433DF for ; Fri, 15 May 2020 07:57:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AF899206B6 for ; Fri, 15 May 2020 07:57:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HWM2/1Du" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726922AbgEOH5b (ORCPT ); Fri, 15 May 2020 03:57:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726694AbgEOH5a (ORCPT ); Fri, 15 May 2020 03:57:30 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64DF3C05BD09 for ; Fri, 15 May 2020 00:57:30 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id k7so587069pjs.5 for ; Fri, 15 May 2020 00:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZyzW1H8AFFYElgNpg92Xk3JWxRZpBy2j9yutlr0YjsE=; b=HWM2/1Du2WgTucuJQpwh98ZrRlroWxqg15O5s2SpAAGHKSWILrVa0LrWXciiMeLDbm dHKCyvUnu7aEVyi+PSvgBB3lT1L6ms806WxRI7BvHHoUTTqEndaAEdj5b/pkalA1MJ0U 66B/Po2dzZDRD7fRfnOF9jpHeXir0aWwiZovv6OWW+mJkIM6QZCNX+c1pMXkijbrPk7i H5CMH9GcPO60vokgnukC1QNN4vDyKQkijVYmiNpzz5njzwKIuYr+oJaislpmOdPVmCDO zQNyXOlV0jO5KigMzAtxOTk54UKJYTSGP9V8OIS6p6J3lhZRHOdCQ9xfvq76FHB7CKJj /geg== 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=ZyzW1H8AFFYElgNpg92Xk3JWxRZpBy2j9yutlr0YjsE=; b=B8W665yrDbOPbQStppVrb9Gm9w1tRrP27o96Ricp0fThL0JSSqaSr34Nn30UcAtlIa LQnP1kNJA1xy8wSk3xpxUy3nit89RpQN5d7oBiUU02FFWfmT4fK06uJJmEChmVvK4wno F9py4ofybrtmYqQuNWcXwAS5uEv/wgQFLVOzfE5e1cHoGHB27dBk2in0ll7W1jrqBt5q KTX1JmeujXUeAwXJMTov40+6s7f0KxW2nV7XP8OU4RfeiW/AYC1Q40acps5BylUhhfYe A7EJ9nRcuqs2w5n134wS6OXxHVd1ByrGOTo/SnYFsnaQyvNPwZRz3dsOj2jej/pQRRt0 2Irw== X-Gm-Message-State: AOAM532p02aI/kmMmXY5fYcml2CRJNaqjZwt+CttoOpeNzTxqmSd2S4N sfs/qBfaRBbb4+puMFfiaXlACQ== X-Google-Smtp-Source: ABdhPJyoEn77D99k5JFEmPox0/Sh0OVxYkzLK8U5vnIaAotAEhqOhnvr845CAGGuRKRTrA/vUU8D8A== X-Received: by 2002:a17:90b:3790:: with SMTP id mz16mr2056475pjb.179.1589529449691; Fri, 15 May 2020 00:57:29 -0700 (PDT) Received: from localhost ([122.167.130.103]) by smtp.gmail.com with ESMTPSA id 140sm1218633pfw.96.2020.05.15.00.57.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 May 2020 00:57:28 -0700 (PDT) From: Viresh Kumar To: k.konieczny@samsung.com, peron.clem@gmail.com, m.szyprowski@samsung.com, Nishanth Menon , Stephen Boyd , Viresh Kumar Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , Rafael Wysocki , broonie@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] opp: core: add regulators enable and disable Date: Fri, 15 May 2020 13:27:19 +0530 Message-Id: X-Mailer: git-send-email 2.25.0.rc1.19.g042ed3e048af MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series reintroduces the usage of regulator_enable/disable() to the OPP core after the previous attempt was reverted [1] shortly after getting applied. This time the regulator is enabled only after it is configured by the OPP core. Marek, Kamil and Clément: Can you guys please test this out and report if this doesn't work as expected ? -- viresh [1] https://lore.kernel.org/lkml/20191017102758.8104-1-m.szyprowski@samsung.com/ Kamil Konieczny (1): opp: core: add regulators enable and disable Viresh Kumar (1): opp: Reorder the code for !target_freq case drivers/opp/core.c | 39 ++++++++++++++++++++++++++++++++++----- drivers/opp/opp.h | 2 ++ 2 files changed, 36 insertions(+), 5 deletions(-) -- 2.25.0.rc1.19.g042ed3e048af