From patchwork Mon Nov 26 16:54:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Crouse X-Patchwork-Id: 10698741 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A42CC181D for ; Mon, 26 Nov 2018 16:54:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A3F929D81 for ; Mon, 26 Nov 2018 16:54:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E9CA2A06D; Mon, 26 Nov 2018 16:54:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2353529F4E for ; Mon, 26 Nov 2018 16:54:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727029AbeK0DtG (ORCPT ); Mon, 26 Nov 2018 22:49:06 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:55482 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726300AbeK0DtF (ORCPT ); Mon, 26 Nov 2018 22:49:05 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3FF7F60AD8; Mon, 26 Nov 2018 16:54:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543251264; bh=DUAiYz+0X9dfNtLvpSlVlgqImW7M2m3j2PMCgatpGRI=; h=From:To:Cc:Subject:Date:From; b=OLl9/cI6tgkBldUdvMkfNlX9HTmus7uzdrAdaOuvXuFkzRrgbD+b1+aYwv/zO3IzR Lenz9sUbto6Hb4G9L1/o+jQ97kfz/w52A0NJHkuhcMPK2bBk/XK7wfMYpnnaqsLfFJ dgMcay+Ew/E1Irh4xhQxES6ir2t+QJg07v530fts= Received: from jcrouse-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jcrouse@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 43FD660886; Mon, 26 Nov 2018 16:54:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543251262; bh=DUAiYz+0X9dfNtLvpSlVlgqImW7M2m3j2PMCgatpGRI=; h=From:To:Cc:Subject:Date:From; b=GMgk2nn5Ian02DbEbWdwpv+X50us5HBcB+AMLuw2ecwL2rwGBoP3bboKd/c8Id1c7 +Jepbe815U9DRnDR9Mq7tshEUshOvV+fs29RTo3epT7/EoOYWR4Cbrxdm+3GgtM2sl v/JEqITpgI03qQZ6+XiiujMvHvbCCG9U+y5CGe1g= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 43FD660886 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jcrouse@codeaurora.org From: Jordan Crouse To: sboyd@kernel.org, mturquette@baylibre.com Cc: andy.gross@linaro.org, david.brown@linaro.org, rnayak@codeaurora.org, okukatla@codeaurora.org, tdas@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 0/2] clk: qcom: Date: Mon, 26 Nov 2018 09:54:14 -0700 Message-Id: <20181126165416.32519-1-jcrouse@codeaurora.org> X-Mailer: git-send-email 2.18.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The GPU GX domain on SDM845 is nominally managed by the GMU microcontroller but there are certain circumstances when the CPU needs to be sure that the GX headswitch is off. This series modifies the GPU GX domain on SDM845 to use a dummy enable function (leaving the GMU hardware to handle the power on) and the default disable function to allow the CPU to ensure that the power is off. With these changes we can attach the domain to the GMU device and control it from the start up and shut down functions as implemented by [2]. This patchset is based on the core GPU clock support from [1]. [1] https://patchwork.kernel.org/patch/10696671/ [2] https://patchwork.freedesktop.org/patch/262765/ v2: Rebase on the latest from Taniya and remove the GPU functions to make it easier to apply to the clock tree. Jordan Crouse (2): clk: qcom: gdsc: Don't override existing gdsc pd functions clk: qcom: Add a dummy enable function for GX gdsc drivers/clk/qcom/gdsc.c | 6 ++++-- drivers/clk/qcom/gpucc-sdm845.c | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-)