From patchwork Wed Jun 29 08:45:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9204463 X-Patchwork-Delegate: mturquette@baylibre.com 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 981B1607D8 for ; Wed, 29 Jun 2016 08:46:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8384C28621 for ; Wed, 29 Jun 2016 08:46:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7670328645; Wed, 29 Jun 2016 08:46:46 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 4B3BB28621 for ; Wed, 29 Jun 2016 08:46:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751969AbcF2IqL (ORCPT ); Wed, 29 Jun 2016 04:46:11 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:33566 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751896AbcF2IqG (ORCPT ); Wed, 29 Jun 2016 04:46:06 -0400 Received: by mail-pf0-f179.google.com with SMTP id i123so16053365pfg.0 for ; Wed, 29 Jun 2016 01:46:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=62NBWjH7+92KKM7UO2Gfx1Bgx+w4WTsYBoMlzaRRk9k=; b=bl62A+pDHCT7hq2zZHQTfsr/pSdYEQbjR6jyy6eDeHOpdOrPKj9S2lhh46ZxIaT1us 5hwIhUiXLvCZN/PB8TCfoAxmgWzO//5xAbAIJovB9/59/7I/uUUtYcVV9IclL+TJXyII JrQkzoIu+a/pyRZ4EhfFYSBx/pm6V/8nb/IDA= 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=62NBWjH7+92KKM7UO2Gfx1Bgx+w4WTsYBoMlzaRRk9k=; b=ez4isH4kBs7dwVJSsnn9HDm1tEnGCXt4q3G/TnXFywp98MBBvXal2Jjhn4KJXogIXV 0467O27K8vnq8t6/O8c21gC68P4AYU/rQ6pG/acv91wFLhLg+xOGttSqobN6Q6gJXkbs 5Ic6et5DFoyJobUyzpc7Bnd9zjHtxPM//uWu3RVlCvn/60OdxN/WT1k5GBbOX9w3aG0+ J+BdDSp+karbHsdBg7U4Cqhugfejh4ZdjmRJ+9miXao0TYdo/hAUki7YZtBDWerwYNQi x1QLiARAJovB/eSdywg/MJOyLjwm3GHNTexKJ4q+VEVBubP+62J+7ZUf/vPlqCPQgSL4 RgcQ== X-Gm-Message-State: ALyK8tKIMgCYYye0HnzDmCW2Zn49VViH20RTB9FfRQthWvtOwXExvn+sLdkSvqoqn0NvaeUG X-Received: by 10.98.73.69 with SMTP id w66mr9660023pfa.104.1467189965949; Wed, 29 Jun 2016 01:46:05 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.159]) by smtp.gmail.com with ESMTPSA id z88sm3857749pfa.59.2016.06.29.01.46.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Jun 2016 01:46:05 -0700 (PDT) From: Guodong Xu To: mturquette@baylibre.com, sboyd@codeaurora.org, jorge.ramirez-ortiz@linaro.org, xinliang.liu@linaro.org, guodong.xu@linaro.org, john.stultz@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v2 1/2] clk: hi6220: Change syspll and media_syspll clk to 1.19GHz Date: Wed, 29 Jun 2016 16:45:54 +0800 Message-Id: <1467189955-21694-1-git-send-email-guodong.xu@linaro.org> 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 From: Xinliang Liu In the bootloader of HiKey/96boards, syspll and media_syspll clk was initialized to 1.19GHz. So, here changes it in kernel accordingly. 1.19GHz was chosen over 1.2GHz because at 1.19GHz we get more precise HDMI pixel clock (1.19G/16 = 74.4MHz) for 1280x720p@60Hz HDMI (74.25MHz required by standards). Closer pixel clock means better compatibility to HDMI monitors. Signed-off-by: Guodong Xu Signed-off-by: Xinliang Liu --- drivers/clk/hisilicon/clk-hi6220.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/hisilicon/clk-hi6220.c b/drivers/clk/hisilicon/clk-hi6220.c index f02cb41..a36ffcb 100644 --- a/drivers/clk/hisilicon/clk-hi6220.c +++ b/drivers/clk/hisilicon/clk-hi6220.c @@ -34,8 +34,8 @@ static struct hisi_fixed_rate_clock hi6220_fixed_rate_clks[] __initdata = { { HI6220_PLL_BBP, "bbppll0", NULL, 0, 245760000, }, { HI6220_PLL_GPU, "gpupll", NULL, 0, 1000000000,}, { HI6220_PLL1_DDR, "ddrpll1", NULL, 0, 1066000000,}, - { HI6220_PLL_SYS, "syspll", NULL, 0, 1200000000,}, - { HI6220_PLL_SYS_MEDIA, "media_syspll", NULL, 0, 1200000000,}, + { HI6220_PLL_SYS, "syspll", NULL, 0, 1190400000,}, + { HI6220_PLL_SYS_MEDIA, "media_syspll", NULL, 0, 1190400000,}, { HI6220_DDR_SRC, "ddr_sel_src", NULL, 0, 1200000000,}, { HI6220_PLL_MEDIA, "media_pll", NULL, 0, 1440000000,}, { HI6220_PLL_DDR, "ddrpll0", NULL, 0, 1600000000,},