From patchwork Fri May 26 07:38:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9749841 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 EBA906037E for ; Fri, 26 May 2017 07:39:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA880281B7 for ; Fri, 26 May 2017 07:39:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE6CC283BF; Fri, 26 May 2017 07:39:23 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 81A75281B7 for ; Fri, 26 May 2017 07:39:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=A4VuYxG2P+vDoD/U6MzNMP5DdObHSJvCzEKXfEojRMQ=; b=CwaiFtqa9qDB5uFJ/aj/9XfZFJ dTDG9oDF2rn/36ZLzZp3QuTQbo0IIRvsJdVs52gcwM5SxR5tjP7VrKiQLZEiTiuHlWKS0gep33RFr cRKcFD6tNDAcNwejKZ31doZVfCc2uC/QD2ohyd9mj7vdBKUZ663CLWp0KoujkIbkVQZN3cHmpzUV3 Gtc6hBG0XE6JXOImPj+O7cRlYIyhKZRs3Ja6ZKA8VSeK8jL03d25mTHGA3do8gbTfM94sziAAs+u6 +CdQWeKpGTLEWmuegwvN4ZBLwc6DSSIRKRw4/yg9AvKQ/rKh6dEPtCC27MczV1QKY8A5JhKGZeZrj k6QpqO6Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dE9qE-0002WN-30; Fri, 26 May 2017 07:39:22 +0000 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dE9ps-00020H-BK for linux-arm-kernel@lists.infradead.org; Fri, 26 May 2017 07:39:04 +0000 Received: by mail-pf0-x229.google.com with SMTP id 9so4143079pfj.1 for ; Fri, 26 May 2017 00:38:44 -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:in-reply-to:references; bh=oKZuGARDabkKk0KFrbaiazCbfww3IQtHeveQuqvAKUw=; b=kIUWRSk9YDLaAEvCp+zKyBCNYXat4Wl2qRLxu5++ctBMMNIU5PSu6xYcIre07ltF+h A9xuhJRiWrmzschABU/K5F0+p38z1MWYQyI7jMsIE8r6ieytCD6e+bi0WUkgfsJSXMYS 4z7P7rJbmrWXTRvUqSNh/VeP6DWYAgKffeLjs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=oKZuGARDabkKk0KFrbaiazCbfww3IQtHeveQuqvAKUw=; b=Ou2O6cHUZs8tp58nlx5OX48I3n8BJdOVBoH7jziAgZk2hyokRoWYbwaQMSoSY2IF3M civyFj51JSd1MNnCf32WhYaufOmkwmWuWFy47e6ZKp03cE1EJ4oMeEEDvHo/dus89ssU yzkOS2HYPh96/UzUt8fTt/wk0rP4nd9V/gMxVzwNRZVGLaoo3SL/vxaC+jkMwzppi1RH 1lVI4dFGKcMlP7wSW1NXSTA8JHQAKwIdjMTFMkn8MyQBGzuSTaYU/paDsmSoqIrMXKKX ioS/ZqcNVDJrvUeiP4FrwNb0Gy5ct7nOTZ9UDjZBTYuLmCZYjQl7iglBtNSLop23yuL0 8G2Q== X-Gm-Message-State: AODbwcDe0N0Jgmk/E3b7QLPifLpeiU8hx+VwOgbM1UelNDpv8O8fl+Ys 9QHk7/+I+Nj/6i59 X-Received: by 10.84.218.134 with SMTP id r6mr3655224pli.190.1495784324069; Fri, 26 May 2017 00:38:44 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.222]) by smtp.gmail.com with ESMTPSA id t3sm19106334pfl.60.2017.05.26.00.38.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 May 2017 00:38:43 -0700 (PDT) From: Guodong Xu To: mturquette@baylibre.com, sboyd@codeaurora.org, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH v2 3/3] clk: hi3660: Set PPLL2 to 2880M Date: Fri, 26 May 2017 15:38:21 +0800 Message-Id: <20170526073821.25971-4-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170526073821.25971-1-guodong.xu@linaro.org> References: <20170526073821.25971-1-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170526_003900_659439_579339CA X-CRM114-Status: UNSURE ( 9.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zheng Shaobo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, zhongkaihua@huawei.com, linux-arm-kernel@lists.infradead.org, leo.yan@linaro.org, zhangfei.gao@linaro.org, linux-clk@vger.kernel.org, chenjun14@huawei.com 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: Zhong Kaihua Set PPLL2 to 2880M. With this patch, we saw better compatibility on various 1080p HDMI monitors. Signed-off-by: Zhong Kaihua Signed-off-by: Zheng Shaobo Acked-by: Zhangfei Gao --- drivers/clk/hisilicon/clk-hi3660.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/hisilicon/clk-hi3660.c b/drivers/clk/hisilicon/clk-hi3660.c index 67c4d44..eb9ba41 100644 --- a/drivers/clk/hisilicon/clk-hi3660.c +++ b/drivers/clk/hisilicon/clk-hi3660.c @@ -20,7 +20,7 @@ static const struct hisi_fixed_rate_clock hi3660_fixed_rate_clks[] = { { HI3660_CLK_FLL_SRC, "clk_fll_src", NULL, 0, 128000000, }, { HI3660_CLK_PPLL0, "clk_ppll0", NULL, 0, 1600000000, }, { HI3660_CLK_PPLL1, "clk_ppll1", NULL, 0, 1866000000, }, - { HI3660_CLK_PPLL2, "clk_ppll2", NULL, 0, 960000000, }, + { HI3660_CLK_PPLL2, "clk_ppll2", NULL, 0, 2880000000, }, { HI3660_CLK_PPLL3, "clk_ppll3", NULL, 0, 1290000000, }, { HI3660_CLK_SCPLL, "clk_scpll", NULL, 0, 245760000, }, { HI3660_PCLK, "pclk", NULL, 0, 20000000, }, @@ -42,7 +42,7 @@ static const struct hisi_fixed_factor_clock hi3660_crg_fixed_factor_clks[] = { { HI3660_CLK_GATE_I2C6, "clk_gate_i2c6", "clk_i2c6_iomcu", 1, 4, 0, }, { HI3660_CLK_DIV_SYSBUS, "clk_div_sysbus", "clk_mux_sysbus", 1, 7, 0, }, { HI3660_CLK_DIV_320M, "clk_div_320m", "clk_320m_pll_gt", 1, 5, 0, }, - { HI3660_CLK_DIV_A53, "clk_div_a53hpm", "clk_a53hpm_andgt", 1, 2, 0, }, + { HI3660_CLK_DIV_A53, "clk_div_a53hpm", "clk_a53hpm_andgt", 1, 6, 0, }, { HI3660_CLK_GATE_SPI0, "clk_gate_spi0", "clk_ppll0", 1, 8, 0, }, { HI3660_CLK_GATE_SPI2, "clk_gate_spi2", "clk_ppll0", 1, 8, 0, }, { HI3660_PCIEPHY_REF, "clk_pciephy_ref", "clk_div_pciephy", 1, 1, 0, },