From patchwork Thu Oct 6 19:42:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pawe? Jarosz X-Patchwork-Id: 9365263 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 743B96077E for ; Thu, 6 Oct 2016 19:41:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56DCB2921D for ; Thu, 6 Oct 2016 19:41:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4ACC42921F; Thu, 6 Oct 2016 19:41:43 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 D14792921D for ; Thu, 6 Oct 2016 19:41:42 +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 1bsEXz-0001Tj-7V; Thu, 06 Oct 2016 19:41:39 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bsEXx-0001Sk-4z; Thu, 06 Oct 2016 19:41:37 +0000 Received: by mail-wm0-x244.google.com with SMTP id i130so1662534wmg.0; Thu, 06 Oct 2016 12:41:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=eH4/3IPU9JbDVWSysarz9p9n+yolDqiK7pRyat+KTAE=; b=lCbu0mtCb+YRc5xy3H+WNa6WBmZ284NyBRZ84BXwot5XHWmXStMi3/8MdrZyX+xFrF wLwHdaInz00f17Xl9SyhyejVi4RRBaF/kVpUln9bC3jZqww4s8CIkAVbrsCCEXhvUuPH xLf/0xYDlE3X5rXXRat9TA9B12pWRibV2wI36Ez/KSCua8JTEeP5Bq0elYAruJqMvgNQ jyjpnD2/aMG2T+itL/HGaO8zgCJQ7hsuWArhKf4thA+CfOF49fa6MptuWXeEn+phu9aq AY4j0Wv3cVXZieRhVEFqJpkjAS6p9Ero9qb5NyOHqxHe6yBwLmiRvFra1uZmCXRF2Kkz uaVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=eH4/3IPU9JbDVWSysarz9p9n+yolDqiK7pRyat+KTAE=; b=GLG6jCp5rPKgzVvoGMP/zrbqzXLI5yaauU91iqAd3s2J/2mzlAxMXToIx8o1hZ/piX 3gLtN+wgZrbGTLQmBDYdYGSMFy5w0Hb949nGyiy3USt2xfcsYTXTuAJ5LDN9XCXY01Ps LnbAN9GKWY3JjpvXiLrlQN0jFurI/tgJ+o/kgMxRsohV6C3re20mutdwznBhd2nW/lSF hwITQ3JRwN+cYP2WZbmi8BX4LwSaV/5uj6SSKeW7fkrbW5ustzyM2agCdBzYdl/6rRsR WYozeSlf2yazAkJ65ybR3DyHQLP08/PFX8zsKkYHoK+ici3GyzJw0sh/XYsruio4lLdV VqdA== X-Gm-Message-State: AA6/9Rk+dV0+dkOJ0/5AC1l/66i48jXSfFFO/ynrXFNDjLZxoz3H41OXqo1eSn2VY5dJzQ== X-Received: by 10.28.20.82 with SMTP id 79mr24932953wmu.36.1475782874988; Thu, 06 Oct 2016 12:41:14 -0700 (PDT) Received: from vaio-ubuntu (cnh137.neoplus.adsl.tpnet.pl. [83.31.161.137]) by smtp.gmail.com with ESMTPSA id 190sm16517309wmk.13.2016.10.06.12.41.14 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Oct 2016 12:41:14 -0700 (PDT) Date: Thu, 6 Oct 2016 21:42:21 +0200 From: =?utf-8?B?UGF3ZcWC?= Jarosz To: heiko@sntech.de, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH] ARM: dts: rockchip: initialize rk3066 PLL clock rate Message-ID: <20161006194221.GA4895@vaio-ubuntu> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161006_124137_418213_6F940987 X-CRM114-Status: UNSURE ( 6.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Initialize PLL rate while kernel init. No other module does than. Clock rates are taken from rk3066 TRM. Assigned values are for 125 degrees celcius operating point. This gives us performance boost observable for example in mmc transfers. Signed-off-by: Paweł Jarosz --- arch/arm/boot/dts/rk3066a.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi index 0d0dae3..cf215e8 100644 --- a/arch/arm/boot/dts/rk3066a.dtsi +++ b/arch/arm/boot/dts/rk3066a.dtsi @@ -151,6 +151,10 @@ #clock-cells = <1>; #reset-cells = <1>; + assigned-clocks = <&cru PLL_DPLL>, <&cru PLL_APLL>, + <&cru PLL_CPLL>, <&cru PLL_GPLL>; + assigned-clock-rates = <533000000>, <600000000>, + <600000000>, <600000000>; }; timer@2000e000 {