From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751634AbcBLAbd (ORCPT ); Thu, 11 Feb 2016 19:31:33 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:43060 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751309AbcBLAbQ (ORCPT ); Thu, 11 Feb 2016 19:31:16 -0500 Date: Thu, 11 Feb 2016 16:31:14 -0800 From: Stephen Boyd To: Rajendra Nayak Cc: mturquette@baylibre.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v2 3/6] clk: qcom: gdsc: Add support for votable gdscs Message-ID: <20160212003114.GO30978@codeaurora.org> References: <1448986336-16846-1-git-send-email-rnayak@codeaurora.org> <1448986336-16846-4-git-send-email-rnayak@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1448986336-16846-4-git-send-email-rnayak@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/01, Rajendra Nayak wrote: > Some gdscs might be controlled via voting registers and might not > really disable when the kernel intends to disable them (due to other > votes keeping them enabled) > Mark these gdscs with a flag for we do not check/wait on a disable > status for these gdscs within the kernel disable callback. > > Also at boot, if these GDSCs are found to be ON, we make sure we > vote for them before we inform the genpd framework about their > status. If genpd gets no users, it then disables (removes the vote) > them as part of genpd_poweroff_unused() > > Signed-off-by: Rajendra Nayak > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project