From patchwork Mon Mar 23 22:57:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 6075841 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9633CBF90F for ; Mon, 23 Mar 2015 22:57:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C2262034A for ; Mon, 23 Mar 2015 22:57:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AEA1B20108 for ; Mon, 23 Mar 2015 22:57:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753300AbbCWW5l (ORCPT ); Mon, 23 Mar 2015 18:57:41 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48774 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753413AbbCWW5k (ORCPT ); Mon, 23 Mar 2015 18:57:40 -0400 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 33F931411A9; Mon, 23 Mar 2015 22:57:40 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id 25F0E1411B4; Mon, 23 Mar 2015 22:57:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from localhost (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id B7E0A1411AF; Mon, 23 Mar 2015 22:57:39 +0000 (UTC) Date: Mon, 23 Mar 2015 15:57:38 -0700 From: Stephen Boyd To: Georgi Djakov Cc: mturquette@linaro.org, galak@codeaurora.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v3 2/2] clk: qcom: Add MSM8916 Global Clock Controller support Message-ID: <20150323225738.GA17476@codeaurora.org> References: <1426687702-26216-1-git-send-email-georgi.djakov@linaro.org> <1426687702-26216-3-git-send-email-georgi.djakov@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1426687702-26216-3-git-send-email-georgi.djakov@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On 03/18, Georgi Djakov wrote: > + > +enum { > + P_XO, > + P_GPLL0, > + P_GPLL0_AUX, > + P_BIMC, > + P_GPLL1, > + P_GPLL1_AUX, > + P_GPLL2, > + P_GPLL2_AUX, > + P_SLEEP_CLK, > + P_DSI0_PHYPLL_BYTE, > + P_DSI0_PHYPLL_DSI, > +}; > + > +static const struct parent_map gcc_xo_gpll0_map[] = { > + { P_XO, 0 }, > + { P_GPLL0, 1 }, > + { } This doesn't have the updated tables. I fixed it up locally and applied it. diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c index c961f0dfdd2a..d3458474eb3a 100644 --- a/drivers/clk/qcom/gcc-msm8916.c +++ b/drivers/clk/qcom/gcc-msm8916.c @@ -49,7 +49,6 @@ enum { static const struct parent_map gcc_xo_gpll0_map[] = { { P_XO, 0 }, { P_GPLL0, 1 }, - { } }; static const char *gcc_xo_gpll0[] = { @@ -61,7 +60,6 @@ static const struct parent_map gcc_xo_gpll0_bimc_map[] = { { P_XO, 0 }, { P_GPLL0, 1 }, { P_BIMC, 2 }, - { } }; static const char *gcc_xo_gpll0_bimc[] = { @@ -75,7 +73,6 @@ static const struct parent_map gcc_xo_gpll0a_gpll1_gpll2a_map[] = { { P_GPLL0_AUX, 3 }, { P_GPLL2_AUX, 2 }, { P_GPLL1, 1 }, - { } }; static const char *gcc_xo_gpll0a_gpll1_gpll2a[] = { @@ -89,7 +86,6 @@ static const struct parent_map gcc_xo_gpll0_gpll2_map[] = { { P_XO, 0 }, { P_GPLL0, 1 }, { P_GPLL2, 2 }, - { } }; static const char *gcc_xo_gpll0_gpll2[] = { @@ -101,7 +97,6 @@ static const char *gcc_xo_gpll0_gpll2[] = { static const struct parent_map gcc_xo_gpll0a_map[] = { { P_XO, 0 }, { P_GPLL0_AUX, 2 }, - { } }; static const char *gcc_xo_gpll0a[] = { @@ -114,7 +109,6 @@ static const struct parent_map gcc_xo_gpll0_gpll1a_sleep_map[] = { { P_GPLL0, 1 }, { P_GPLL1_AUX, 2 }, { P_SLEEP_CLK, 6 }, - { } }; static const char *gcc_xo_gpll0_gpll1a_sleep[] = { @@ -128,7 +122,6 @@ static const struct parent_map gcc_xo_gpll0_gpll1a_map[] = { { P_XO, 0 }, { P_GPLL0, 1 }, { P_GPLL1_AUX, 2 }, - { } }; static const char *gcc_xo_gpll0_gpll1a[] = { @@ -140,7 +133,6 @@ static const char *gcc_xo_gpll0_gpll1a[] = { static const struct parent_map gcc_xo_dsibyte_map[] = { { P_XO, 0, }, { P_DSI0_PHYPLL_BYTE, 2 }, - { } }; static const char *gcc_xo_dsibyte[] = { @@ -152,7 +144,6 @@ static const struct parent_map gcc_xo_gpll0a_dsibyte_map[] = { { P_XO, 0 }, { P_GPLL0_AUX, 2 }, { P_DSI0_PHYPLL_BYTE, 1 }, - { } }; static const char *gcc_xo_gpll0a_dsibyte[] = { @@ -165,7 +156,6 @@ static const struct parent_map gcc_xo_gpll0_dsiphy_map[] = { { P_XO, 0 }, { P_GPLL0, 1 }, { P_DSI0_PHYPLL_DSI, 2 }, - { } }; static const char *gcc_xo_gpll0_dsiphy[] = { @@ -178,7 +168,6 @@ static const struct parent_map gcc_xo_gpll0a_dsiphy_map[] = { { P_XO, 0 }, { P_GPLL0_AUX, 2 }, { P_DSI0_PHYPLL_DSI, 1 }, - { } }; static const char *gcc_xo_gpll0a_dsiphy[] = { @@ -192,7 +181,6 @@ static const struct parent_map gcc_xo_gpll0a_gpll1_gpll2_map[] = { { P_GPLL0_AUX, 1 }, { P_GPLL1, 3 }, { P_GPLL2, 2 }, - { } }; static const char *gcc_xo_gpll0a_gpll1_gpll2[] = {