From patchwork Wed Aug 31 23:06:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shunqian Zheng X-Patchwork-Id: 9308001 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 56B44607D6 for ; Wed, 31 Aug 2016 23:07:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E068290F6 for ; Wed, 31 Aug 2016 23:07:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 41BD62911A; Wed, 31 Aug 2016 23:07:47 +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=-5.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 D6149290F6 for ; Wed, 31 Aug 2016 23:07:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760281AbcHaXHp (ORCPT ); Wed, 31 Aug 2016 19:07:45 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34007 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760269AbcHaXHo (ORCPT ); Wed, 31 Aug 2016 19:07:44 -0400 Received: by mail-pf0-f195.google.com with SMTP id g202so3422203pfb.1; Wed, 31 Aug 2016 16:07:37 -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; bh=qeJS3P6bEILwSeSjuZDj07EQm2gyjN9U3hfxbPF3tc4=; b=jtvZsgSWk8ma5lzmgHGmdCLBVJlVO8ogIc19KfQyLSi9xE4BRRn6ITOxmaNe+NMiQb OUONwYk41Qt8UBTcVfVc7qFj7FDIQRm92dziLXyUXqPkEk2P8WViqyr7a59ne0rEvDzR hfOZQDqpUMAvG2pguzknBvWHeU6o6cbeymgrpaHDcpX+SDzYfPNDlmK38anV3spiIGT8 skKR+QiQFinJXUtWDnzSSv3uNo+DT7HPWJZAjKsaLjqd8qLkAwuqbepxgRLPYzrevgUD xdxgypg42US+scjkAlXPAIWcFvNyTgJiMJgZ3FC5TI+hgy69oX8mddJMCACYcZ2BLNgr NjEg== X-Gm-Message-State: AE9vXwM2M37+9s2QQAoDVkrGnVD1sU1OLGCYzZBupNXSIyyHwgmkx1fXiB3cJQ+RvBjnCg== X-Received: by 10.98.17.152 with SMTP id 24mr21557681pfr.13.1472684856839; Wed, 31 Aug 2016 16:07:36 -0700 (PDT) Received: from SHUNQIAN-W530.corp.google.com ([172.22.52.137]) by smtp.gmail.com with ESMTPSA id b68sm2065973pfg.85.2016.08.31.16.07.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Aug 2016 16:07:36 -0700 (PDT) From: Shunqian Zheng To: zhengxing@rock-chips.com, heiko@sntech.de, sboyd@codeaurora.org, mturquette@baylibre.com, dianders@chromium.org Cc: linux-clk@vger.kernel.org, linux-rockchip@lists.infradead.org, zhangqing@rock-chips.com, linux-kernel@vger.kernel.org, Shunqian Zheng Subject: [PATCH] clk: rockchip: add 2016M to big cpu clk rate table Date: Thu, 1 Sep 2016 07:06:22 +0800 Message-Id: <1472684782-17940-1-git-send-email-zhengsq@rock-chips.com> X-Mailer: git-send-email 1.9.1 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 We would prefer the 2016M as 2.0G than 1992M which seems odd, adding it to big cpu clk rate table then we can set 2016M in dts. Signed-off-by: Shunqian Zheng Reviewed-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3399.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c index ede6c47..a6a15c6 100644 --- a/drivers/clk/rockchip/clk-rk3399.c +++ b/drivers/clk/rockchip/clk-rk3399.c @@ -375,6 +375,7 @@ static struct rockchip_cpuclk_rate_table rk3399_cpuclkb_rates[] __initdata = { RK3399_CPUCLKB_RATE(2184000000, 1, 11, 11), RK3399_CPUCLKB_RATE(2088000000, 1, 10, 10), RK3399_CPUCLKB_RATE(2040000000, 1, 10, 10), + RK3399_CPUCLKB_RATE(2016000000, 1, 9, 9), RK3399_CPUCLKB_RATE(1992000000, 1, 9, 9), RK3399_CPUCLKB_RATE(1896000000, 1, 9, 9), RK3399_CPUCLKB_RATE(1800000000, 1, 8, 8),