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: 70987 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1508673qgy; Tue, 28 Jun 2016 03:31:58 -0700 (PDT) X-Received: by 10.98.192.12 with SMTP id x12mr535480pff.106.1467109918198; Tue, 28 Jun 2016 03:31:58 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x8si33038018pay.200.2016.06.28.03.31.57; Tue, 28 Jun 2016 03:31:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752259AbcF1Kb4 (ORCPT + 30 others); Tue, 28 Jun 2016 06:31:56 -0400 Received: from mail-pf0-f174.google.com ([209.85.192.174]:35860 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752115AbcF1Kby (ORCPT ); Tue, 28 Jun 2016 06:31:54 -0400 Received: by mail-pf0-f174.google.com with SMTP id t190so5625323pfb.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=GJPbFdPpGoaIezqVdoHokgF4K0cfGJsvOLkO5Ti/6Bvcip0g72ASQWEu0ttLoD33d4 Q1Er39OjjWYZtsLY2Km4/kwKU7kC99AtFOB/An4/Qf1/4cBO2hIePkgZkwyYYqSStRrJ nshIU2zjLthLdDMq5uOmN1tdY64MWJ78GfJYsSE7a6tkppx2GY1r2WH4WF2/j9yAYTTa 09ePL52g3SAFx5wBQRTuCFmWZPb/zK3F7Tzd34IOxPUjVgTKDXh62ASkpsI1POaEyBEk G/G28e//7UPPn47z6ht/DWrLZV3TAypUDh3lYbODKXupyyvEaVWhdoay3eYhwOv6qTLz 2BLA== X-Gm-Message-State: ALyK8tLlzUKnf/BHsJk+psv7PU/s5llqIdOQcU9/HmqmCZRmaQsGbML8B0cF1QQcv9nhD0zL 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 1.9.1 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,},