From patchwork Sun Oct 29 23:19:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Yeryomin X-Patchwork-Id: 831825 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kz7zEjf4"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yQDBd3PGXz9t4R for ; Mon, 30 Oct 2017 10:21:13 +1100 (AEDT) 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:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id:Date:To: From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=YnW0dE7Z9wdr8RqhRN6llatJGKfuIYXctShMBWUsRLc=; b=kz7zEjf4WoJllG b1pKRYiEYsQrgbTQwN2F+Cw6ELUKqB4MCjcp1BAhkJHgY1kSr3uWEYTJbI/JCV+F4yba0YtefRyDY AUJ0V78HbzC0TEyTMunBoAfGm8qxNU1gyLCBk4gctYmcsVEP2dZyaDFAklinzPlwT2Ov657ebD4Jt +5eSoJxqCWtK0yKSBl5C9MCwu5Ol8PJ4XQRg0xNmhoEm+upTYt8d8uAQ4WVrVWptxs8iBZ1BSwdFm qjhN5Jqg/cjvskrQ4LtjLg2qXx8BsAUi3bYd/CaF1iu01waPgIhs+NYybSTNUVlUf+KhePhsKM/gi KkBldvv+/PGFWGKxxjCg==; 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 1e8wtC-0005jX-Ry; Sun, 29 Oct 2017 23:21:10 +0000 Received: from [213.175.92.62] (helo=mail.pbx.lv) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e8ws3-00030R-Nu for lede-dev@lists.infradead.org; Sun, 29 Oct 2017 23:20:03 +0000 Received: from brain.lan (balticom-200-108.balticom.lv [83.99.200.108]) by mail.pbx.lv (MailSystem) with ESMTPSA id 3C21A195C72 for ; Mon, 30 Oct 2017 01:19:37 +0200 (EET) From: Roman Yeryomin To: LEDE Development List Date: Mon, 30 Oct 2017 01:19:32 +0200 Message-Id: <20171029231932.3491-1-roman@advem.lv> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171029_162000_222870_E0213032 X-CRM114-Status: UNSURE ( 7.35 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.1 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.8 RDNS_NONE Delivered to internal network by a host with no rDNS Subject: [LEDE-DEV] [PATCH 8/8] ipq806x: ipq4019: dts: fix maximum cpu speed X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Supported frequencies of all ipq40xx chips are 48, 200, 500 and 716.8 MHz. Previous 666MHz setting was most likely related to instability of early chips/boards made before mass production. Signed-off-by: Roman Yeryomin --- .../files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts | 9 --------- .../patches-4.9/864-06-dts-ipq4019-fix-max-cpu-speed.patch | 13 +++++++++++++ 2 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 target/linux/ipq806x/patches-4.9/864-06-dts-ipq4019-fix-max-cpu-speed.patch diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts index 9b14280695..f7b9e2c161 100644 --- a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts +++ b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts @@ -215,12 +215,3 @@ }; }; }; - -&cpu0_opp_table { - /delete-node/ opp@666000000; - - opp@710000000 { - opp-hz = /bits/ 64 <710000000>; - clock-latency-ns = <256000>; - }; -}; diff --git a/target/linux/ipq806x/patches-4.9/864-06-dts-ipq4019-fix-max-cpu-speed.patch b/target/linux/ipq806x/patches-4.9/864-06-dts-ipq4019-fix-max-cpu-speed.patch new file mode 100644 index 0000000000..33f7f04f3c --- /dev/null +++ b/target/linux/ipq806x/patches-4.9/864-06-dts-ipq4019-fix-max-cpu-speed.patch @@ -0,0 +1,13 @@ +--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi ++++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi +@@ -108,8 +108,8 @@ + opp-hz = /bits/ 64 <500000000>; + clock-latency-ns = <256000>; + }; +- opp@666000000 { +- opp-hz = /bits/ 64 <666000000>; ++ opp@716800000 { ++ opp-hz = /bits/ 64 <716800000>; + clock-latency-ns = <256000>; + }; + };