From patchwork Fri Jul 24 16:58:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 6862111 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D2B979F1D4 for ; Fri, 24 Jul 2015 17:00:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 86E292054E for ; Fri, 24 Jul 2015 17:00:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9B094204AB for ; Fri, 24 Jul 2015 17:00:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754784AbbGXRAc (ORCPT ); Fri, 24 Jul 2015 13:00:32 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:35434 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754417AbbGXQ6r (ORCPT ); Fri, 24 Jul 2015 12:58:47 -0400 Received: by wibxm9 with SMTP id xm9so37178159wib.0 for ; Fri, 24 Jul 2015 09:58:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0e4sUqhtI74W/XRFLQB9A3z0+TONZ5o4oTD2MZBQWdk=; b=U+uQ1HZTudzEyPpxIEPNYvN52yCy/l0kOA3uGdb2kucoq/UiORo3UT/zPrlPgIQnnv MIEJhCgInBflBuI7jKLxdIFwrPIWEgTO1O9OOrx8OCN0j4sxlDOxn/6muXGM3+PDr53B +Gq+lBJdXNIgz2wUkLCX5k1Z3Ll+vht/leCWujjkUadsjgmnEMllwduZ/zsPJxUFC8nf 9hYiIScF1j8vcEdRuVgfigzcBEO4sy0zCJfUtC0NN9a8kzZgHLEgxCp3JuRjhaH38uCQ RgVwQc+q5yismwMY/oV4VJxEDZgKTGDgf5ms+7dH0KntVP/O6TotuC6NZ3yU9ihIshaU HSig== X-Gm-Message-State: ALoCoQkphxE7xP2M0/XMk6vbjTG8B9xy8PMHlcYKMUhUho1GeokBTAO16LCJ8oNGJcqMODVeF2JB X-Received: by 10.180.36.16 with SMTP id m16mr8929749wij.26.1437757126932; Fri, 24 Jul 2015 09:58:46 -0700 (PDT) Received: from mms.wifi.mm-sol.com ([37.157.136.206]) by smtp.googlemail.com with ESMTPSA id ft5sm4415485wib.4.2015.07.24.09.58.45 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Jul 2015 09:58:46 -0700 (PDT) From: Georgi Djakov To: sboyd@codeaurora.org, agross@codeaurora.org Cc: mturquette@linaro.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, georgi.djakov@linaro.org Subject: [PATCH v2 1/5] clk: qcom: Enable gpll0_vote rate propagation on MSM8916 Date: Fri, 24 Jul 2015 19:58:35 +0300 Message-Id: <1437757119-6910-2-git-send-email-georgi.djakov@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1437757119-6910-1-git-send-email-georgi.djakov@linaro.org> References: <1437757119-6910-1-git-send-email-georgi.djakov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Currently we are missing the SET_RATE_PARENT flag on gpll0_vote and as a result of that, when it has a child with SET_RATE_PARENT flag, the rate of the child is not propagated up to the gpll0. Fix that by adding the SET_RATE_PARENT flag to gpll0_vote. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/gcc-msm8916.c | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c index 28ef2c771157..3019e89cdfa8 100644 --- a/drivers/clk/qcom/gcc-msm8916.c +++ b/drivers/clk/qcom/gcc-msm8916.c @@ -216,6 +216,7 @@ static struct clk_regmap gpll0_vote = { .parent_names = (const char *[]){ "gpll0" }, .num_parents = 1, .ops = &clk_pll_vote_ops, + .flags = CLK_SET_RATE_PARENT, }, };