From patchwork Mon May 15 05:54:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9726119 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 F191C60380 for ; Mon, 15 May 2017 05:55:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E05F42894E for ; Mon, 15 May 2017 05:55:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3B6A28954; Mon, 15 May 2017 05:55:51 +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 520D92894E for ; Mon, 15 May 2017 05:55:50 +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=4k11ChGso97KXODui7DzCoNtD9GmZLd0L+e72DccoQ0=; b=Ztj+ubGTfGAtIrB+t7bpN6Fa9B RMFwAM86XEe7vphSN/Y84lCjmTkHR9syPry4pmg2GPUPhLv2yIAmK6ZAKYw87sjaag8CHjSAAuA34 9gt2HOfFLoBVP/5aTIBnz69bECwlLmhY0C6tlntchhfohLYAA81fktA5HzKq14UkH7VpoE3rXBLnG Dy2qDuSwHzxa9meYywtGUc75Kv0FPkfR1nI4sHhvQK2XV3+VrsqT7xlS1pk6agid+6Szi/LGYiZQT hLQK25wTWQwVbivNgCpc9AIWREboVM3THPf/AVQyqOwMr/zOP67k+sDxnzVSAEoNnro7w7Oe0xoJW C6Bi/x4w==; 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 1dA8yz-0004pr-T1; Mon, 15 May 2017 05:55:49 +0000 Received: from mail-pg0-x232.google.com ([2607:f8b0:400e:c05::232]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dA8yd-0004Fj-NV for linux-arm-kernel@lists.infradead.org; Mon, 15 May 2017 05:55:30 +0000 Received: by mail-pg0-x232.google.com with SMTP id q125so35435917pgq.2 for ; Sun, 14 May 2017 22:55:07 -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=4FCBE8l0k4GVV0QK40T/3dwOs5p9c+YakAAbIFHRVe8=; b=VbRG6/1MyOHZGraKY81ZC3eDXA4Is0tmv9sjZ9BtGjCITCQ09cPsAIXsdBPJuTM8+w UslRvuGEIfdoExjcPav0YAUmeiSwDV54CK6pJXjSklArNbkyWJPsW3nBvAWJlC/0Abgm TmCHU6YwiDLKHbfgo74VzWBhlH9gX+T7brrBg= 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=4FCBE8l0k4GVV0QK40T/3dwOs5p9c+YakAAbIFHRVe8=; b=rkqs4n0xzaLvE6iTSxZ9rtA24P9b/CkC/ShDYbBxxiN9JsPPmJDDFCgn+3/RqZiVgD sj476EefCUfyYsDs2kQNXwjPotaYi65P5H5Y7ZFZh/zkiAy0Z5BIDyJBL5E9b/+3f80D jyClB5/DCmTHlexlW2Eg6APlEqehV+PwtEbIs7aDMl4FRHSO3angL7nciurR10lqHiLP i90OBIqWog4Bn1MZBVOsvuy7X+erT1NGxp6dhTZELg5oyODOez0/0qjLcrpPi/Sy471d +CoR/heEhFuO0/U3k7VpoX7YidtwFCZqju2Np5LLGquDfDkC+58X43yoZxptY1Pwiuuo s8Uw== X-Gm-Message-State: AODbwcApBFw2EbNQJqk7PLchr3YCuH5FCSBpgptlVvmFKdckkoqnUDlp B53rqAYzYT/eDkRr X-Received: by 10.98.144.143 with SMTP id q15mr4449493pfk.200.1494827706826; Sun, 14 May 2017 22:55:06 -0700 (PDT) Received: from localhost.localdomain ([45.56.159.87]) by smtp.gmail.com with ESMTPSA id t5sm17315105pgo.48.2017.05.14.22.55.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 14 May 2017 22:55:06 -0700 (PDT) From: Guodong Xu To: mturquette@baylibre.com, sboyd@codeaurora.org, robh+dt@kernel.org, mark.rutland@arm.com, guodong.xu@linaro.org, chenjun14@huawei.com, zhongkaihua@huawei.com, zhangfei.gao@linaro.org, leo.yan@linaro.org Subject: [PATCH 3/3] clk: hi3660: Set PPLL2 to 2880M Date: Mon, 15 May 2017 13:54:23 +0800 Message-Id: <20170515055423.1803-3-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170515055423.1803-1-guodong.xu@linaro.org> References: <20170515055423.1803-1-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170514_225527_884920_B50ED4F1 X-CRM114-Status: UNSURE ( 9.78 ) 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, 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: 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 --- 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 ffc765a..fd5ce7f 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, },