From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH v2 3/6] clk: qcom: gdsc: Add support for votable gdscs Date: Thu, 11 Feb 2016 16:31:14 -0800 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 Return-path: Content-Disposition: inline In-Reply-To: <1448986336-16846-4-git-send-email-rnayak@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org To: Rajendra Nayak Cc: mturquette@baylibre.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org List-Id: linux-arm-msm@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