From patchwork Tue Jun 28 10:31:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9202579 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 8356C608A6 for ; Tue, 28 Jun 2016 10:33:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 73DF2285CA for ; Tue, 28 Jun 2016 10:33:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67D4028601; Tue, 28 Jun 2016 10:33: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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1CDC1285D0 for ; Tue, 28 Jun 2016 10:33:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bHqJV-0005dN-89; Tue, 28 Jun 2016 10:32:17 +0000 Received: from mail-pf0-x22f.google.com ([2607:f8b0:400e:c00::22f]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bHqJT-0005ae-1A for linux-arm-kernel@lists.infradead.org; Tue, 28 Jun 2016 10:32:15 +0000 Received: by mail-pf0-x22f.google.com with SMTP id t190so5625322pfb.3 for ; Tue, 28 Jun 2016 03:31:54 -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=KF4MxgPJgGWkBwD+1/BlriWocq2Zku+6WCS16vF3rkQJCvhDHPv8gAI1/YeWH1/Tap PY2++dq6GPfnf3GM5NSq3ZdiqbcOqVuowg1iOnsB/wBtwfnjgVHwQRhjGta8y74zcjVQ 6QeOeOgavvUiqQFeZpz+sVLEHFcoouHVaF/oY= 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=bhZcZ92CCTvZ65scGOT+LHB8C7Z6bbXO9fcdxurSyiBVBWKQgfsulSSYHYwJg1RE8Y qSxlH40tmelgSW9Tj7Pzv26ncCiuS6oIwbt2KDH67Zwdq0ZXneDAWfI1nSzAsjUfC6in Og0+XqYHDlAuG8jlBxF1kzZIhthpaceXqKkq10RbMPOXSnCj6UxJj0aOJvMTTg9kLe6j HUBjpKHO06WXjC/CrsEcX107NPagGLWoy14K5M8uNCbCYuduIWrIyud+8AwIk30uSZLS quU9oCeiXT0C2xYBNjmOKXqkgENzz+Valh63e4sLzxSJA2YU5XlfpYU0haY2/kpqiICp 4qoQ== X-Gm-Message-State: ALyK8tIJEfokAH5BCxV8Qt9bPHGy7RecHv5FFqu8KHzmZFeC03n09gyID0ELdpwd1SFN/yA1 X-Received: by 10.98.69.199 with SMTP id n68mr499931pfi.160.1467109913687; Tue, 28 Jun 2016 03:31:53 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.9]) by smtp.gmail.com with ESMTPSA id d8sm5801433pfg.72.2016.06.28.03.31.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jun 2016 03:31:53 -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 Subject: [PATCH 1/2] clk: hi6220: Change syspll and media_syspll clk to 1.19GHz Date: Tue, 28 Jun 2016 18:31:41 +0800 Message-Id: <1467109902-17625-1-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160628_033215_108121_8294962B X-CRM114-Status: GOOD ( 10.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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,},