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: 51461 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id 22ED120323 for ; Fri, 24 Jul 2015 17:00:15 +0000 (UTC) Received: by laah7 with SMTP id h7sf9417957laa.2 for ; Fri, 24 Jul 2015 10:00:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Qr90qw31nVOj0jZ17QsG7MKXsUCgRo0HcEyy2SNCCpA=; b=JPqFW210SGqh2eRGrZ+IPm1dJb/tdpi4M1Ohaca5MFQMTYYqDr1CH/Yp6Vr05Zzse6 HVFxnFeEhAkJhlrARre0ZYsMJwFxbzonVo0jnVaymElaEtO+IJ5gjjn1m+l1WI/9dGOZ vKk7tXd+GxDROzi75mVLkzRZxdNm8qx640I5V61vODjuhapupcvCvHcrIXVuQoEitYC1 4osad1ugBM6ivd6xKxSCffRtiO+ehqQFzov2NiPYxgajHIHGfbHzyp4VNIZfnYNuKRKj m8HWGA9j7wgvwN+qcKKNBCVbvYhSN++bpsW9Q8srC41HWHWGFqaQTMokWnNnt6oCVHuA Z6ng== X-Gm-Message-State: ALoCoQlynogooxs9Mb8rSmoMkD2LSOd9T3ul5pGapO11UW9NQu+Efr52kx+GX1aHykH6QoB14h27 X-Received: by 10.152.1.105 with SMTP id 9mr6544156lal.3.1437757214074; Fri, 24 Jul 2015 10:00:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.146 with SMTP id j18ls405262laa.44.gmail; Fri, 24 Jul 2015 10:00:13 -0700 (PDT) X-Received: by 10.112.40.66 with SMTP id v2mr14522756lbk.27.1437757213769; Fri, 24 Jul 2015 10:00:13 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id g10si8001007laf.177.2015.07.24.10.00.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jul 2015 10:00:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lblf12 with SMTP id f12so19067693lbl.2 for ; Fri, 24 Jul 2015 10:00:13 -0700 (PDT) X-Received: by 10.112.219.70 with SMTP id pm6mr14350305lbc.41.1437757213630; Fri, 24 Jul 2015 10:00:13 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp111599lba; Fri, 24 Jul 2015 10:00:12 -0700 (PDT) X-Received: by 10.50.43.199 with SMTP id y7mr5439573igl.69.1437757212567; Fri, 24 Jul 2015 10:00:12 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xp6si9305947icb.51.2015.07.24.10.00.11; Fri, 24 Jul 2015 10:00:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754580AbbGXRAJ (ORCPT + 28 others); Fri, 24 Jul 2015 13:00:09 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:38580 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754485AbbGXQ6s (ORCPT ); Fri, 24 Jul 2015 12:58:48 -0400 Received: by wibxm9 with SMTP id xm9so36049675wib.1 for ; Fri, 24 Jul 2015 09:58:46 -0700 (PDT) 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-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: georgi.djakov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ 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, }, };