From patchwork Tue Jun 21 13:49:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhishek Sahu X-Patchwork-Id: 9190601 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 5AEDB601C0 for ; Tue, 21 Jun 2016 13:51:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C47127FAD for ; Tue, 21 Jun 2016 13:51:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FE9028119; Tue, 21 Jun 2016 13:51:06 +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.9 required=2.0 tests=BAYES_00,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 C114528156 for ; Tue, 21 Jun 2016 13:51:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751653AbcFUNuu (ORCPT ); Tue, 21 Jun 2016 09:50:50 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34537 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751384AbcFUNuq (ORCPT ); Tue, 21 Jun 2016 09:50:46 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4EAB861234; Tue, 21 Jun 2016 13:50:12 +0000 (UTC) Received: from chewinlnx07.qualcomm.com (unknown [202.46.23.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: absahu@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 0AB5C61234; Tue, 21 Jun 2016 13:50:03 +0000 (UTC) From: Abhishek Sahu To: andy.gross@linaro.org, david.brown@linaro.org, sboyd@codeaurora.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk Cc: mturquette@baylibre.com, galak@codeaurora.org, pradeepb@codeaurora.org, mmcclint@codeaurora.org, varada@codeaurora.org, sricharan@codeaurora.org, architt@codeaurora.org, ntelkar@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Abhishek Sahu Subject: [PATCH v2 4/5] clk: qcom: ipq4019: Added the all frequencies for apps cpu Date: Tue, 21 Jun 2016 19:19:21 +0530 Message-Id: <1466516962-18087-5-git-send-email-absahu@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1466516962-18087-1-git-send-email-absahu@codeaurora.org> References: <1466516962-18087-1-git-send-email-absahu@codeaurora.org> 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 APPS CPU clock does not contain all the frequencies in its frequency table so this patch adds the same. Signed-off-by: Abhishek Sahu --- drivers/clk/qcom/gcc-ipq4019.c | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/drivers/clk/qcom/gcc-ipq4019.c b/drivers/clk/qcom/gcc-ipq4019.c index 0bef36d..df159c2 100644 --- a/drivers/clk/qcom/gcc-ipq4019.c +++ b/drivers/clk/qcom/gcc-ipq4019.c @@ -554,11 +554,21 @@ static struct clk_rcg2 sdcc1_apps_clk_src = { }; static const struct freq_tbl ftbl_gcc_apps_clk[] = { - F(48000000, P_XO, 1, 0, 0), - F(200000000, P_FEPLL200, 1, 0, 0), - F(500000000, P_FEPLL500, 1, 0, 0), - F(626000000, P_DDRPLLAPSS, 1, 0, 0), - { } + {48000000, P_XO, 1, 0, 0}, + {200000000, P_FEPLL200, 1, 0, 0}, + {380000000, P_DDRPLLAPSS, 1, 0, 0}, + {409000000, P_DDRPLLAPSS, 1, 0, 0}, + {444000000, P_DDRPLLAPSS, 1, 0, 0}, + {484000000, P_DDRPLLAPSS, 1, 0, 0}, + {500000000, P_FEPLL500, 1, 0, 0}, + {507000000, P_DDRPLLAPSS, 1, 0, 0}, + {532000000, P_DDRPLLAPSS, 1, 0, 0}, + {560000000, P_DDRPLLAPSS, 1, 0, 0}, + {592000000, P_DDRPLLAPSS, 1, 0, 0}, + {626000000, P_DDRPLLAPSS, 1, 0, 0}, + {666000000, P_DDRPLLAPSS, 1, 0, 0}, + {710000000, P_DDRPLLAPSS, 1, 0, 0}, + {} }; static struct clk_rcg2 apps_clk_src = {