From patchwork Thu Feb 9 15:20:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 9564861 X-Patchwork-Delegate: sboyd@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 82B5F6020C for ; Thu, 9 Feb 2017 15:21:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7065E28503 for ; Thu, 9 Feb 2017 15:21:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6528428537; Thu, 9 Feb 2017 15:21:29 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 1849728503 for ; Thu, 9 Feb 2017 15:21:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752502AbdBIPVQ (ORCPT ); Thu, 9 Feb 2017 10:21:16 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:36078 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752563AbdBIPVO (ORCPT ); Thu, 9 Feb 2017 10:21:14 -0500 Received: by mail-wm0-f42.google.com with SMTP id c85so234155215wmi.1 for ; Thu, 09 Feb 2017 07:20:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=dzVjF/oMXxYc0o284ZFViql7a3YokqGoullFBV5NNBw=; b=Gavnujv3rpk7Rs5TKiwgy4v/UjXmGPiCVwer21KAXvpX2tMKDUGQxhlyiFh7B97YUY o6XXZo3hr75o8HRWiadVx0NdHjlA7YBMlZNfh82M9QoysgwUKS8VZud/+TjDQWJp3Mp4 M6dQIpfAJtc0iE4HylPYt4rYg0J+9QyUv+wj8= 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; bh=dzVjF/oMXxYc0o284ZFViql7a3YokqGoullFBV5NNBw=; b=sA00+UFrY0LR3K838YJhCWOYEieHaWWM0Nmo/D1zEb2c1Wvr0C+1NXcx9cywK/hZD0 k2MEWskOW0PL3lrPVxaydy8OjvLzBAo42on8tfMKZu7YBqgkeONPyORkpO4MOFtxU5Qy Zuo/mkWCXQy+roKLnEpVtcX7Y70nM2iVgWik5GY1eHxZfgd24z3fDMxRSdk6+9eSfyb7 CeHwkHYqa/rbWj4LLsEPM+/1VqvIEmst4eG3cSWWHoMW2VRlLxppg4iu4R9YriH1j4WH XW1E6PSmgkSM8h3Ig+XcfTzP/V4+yN0crKWxIHw+K9pLrAkfGM/Llj8Y+KIzQBePjdSp GKmw== X-Gm-Message-State: AMke39mqKRiyNOZnlM7hLiktQsUNohkASLs5XsINixIMJTqO6OH9EIXSkOshE/33vLJCLLmr X-Received: by 10.28.213.193 with SMTP id m184mr24696353wmg.28.1486653655678; Thu, 09 Feb 2017 07:20:55 -0800 (PST) Received: from mms-0440.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id u47sm19028143wrb.15.2017.02.09.07.20.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Feb 2017 07:20:55 -0800 (PST) From: Stanimir Varbanov To: Andy Gross , Michael Turquette , Stephen Boyd Cc: Rajendra Nayak , linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Stanimir Varbanov Subject: [PATCH] clk: qcom: add parent for venus core0 and core1 gdsc's Date: Thu, 9 Feb 2017 17:20:30 +0200 Message-Id: <1486653630-15552-1-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.7.4 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 Make venus_gdsc parent of venus gdsc core0 and core1. Signed-off-by: Stanimir Varbanov --- drivers/clk/qcom/mmcc-msm8996.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/qcom/mmcc-msm8996.c b/drivers/clk/qcom/mmcc-msm8996.c index 9b97246287a7..d9aa886d260f 100644 --- a/drivers/clk/qcom/mmcc-msm8996.c +++ b/drivers/clk/qcom/mmcc-msm8996.c @@ -2944,6 +2944,7 @@ static struct gdsc venus_core0_gdsc = { .pd = { .name = "venus_core0", }, + .parent = &venus_gdsc.pd, .pwrsts = PWRSTS_OFF_ON, .flags = HW_CTRL, }; @@ -2955,6 +2956,7 @@ static struct gdsc venus_core1_gdsc = { .pd = { .name = "venus_core1", }, + .parent = &venus_gdsc.pd, .pwrsts = PWRSTS_OFF_ON, .flags = HW_CTRL, };