From patchwork Thu Aug 30 15:45:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10582097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DB72114BD for ; Thu, 30 Aug 2018 15:46:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBA602C0AB for ; Thu, 30 Aug 2018 15:46:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF1A22C0AE; Thu, 30 Aug 2018 15:46:01 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A5C72C0AB for ; Thu, 30 Aug 2018 15:46:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728060AbeH3Tsk (ORCPT ); Thu, 30 Aug 2018 15:48:40 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:37233 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727874AbeH3Tsj (ORCPT ); Thu, 30 Aug 2018 15:48:39 -0400 Received: by mail-wr1-f68.google.com with SMTP id u12-v6so8500295wrr.4; Thu, 30 Aug 2018 08:45:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3W91bGBF1HpXiJKP9B53w9fhR17jbGJS1HMpVllHUDg=; b=gbvr/F2HG8fxSR5G3qpM1w/HDHaOhquocX4t4s4Iriv1Oag0KkMCt9kVdUenhdLo7z Vg0c1ulZlgLpzC/nCYix1MfpC4qwbWUaTHI0/Poj2KgrmM3d4dDxW4hilvyjeASrCKEV SK6WKzwU4wLyE/w8Qd4m+b2+YXhn6i8oQhnfhjIX6cdMk4P+HQrE4rE/q2NqHWFzbM9l bZryZTbOSAMUpVzoRSDO/xe5wN1yuZDogc4vD2TBED7YswaCWPgwbH/RBT1HI8MkDKdw FexGMW99YGWdbO8Sm5ayMzwuG3q+3GGuyAtHuLgyJo9DNth2OPHQrPGo6od3HbOj/DWM 4Qtg== 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=3W91bGBF1HpXiJKP9B53w9fhR17jbGJS1HMpVllHUDg=; b=RppLhabFFiGUhH4YqLQ6ketMYhWAA0WmA+jqkekXUTmraTJu5NjmQW/8aBWOMmx8bB PLzoy9Ptk8rp6BFwoVooK4iSYbu9Sq60g6WUMPyzugrQqKdh+S6hPJSH0aAefVX0ubI6 Crd8YsKREOKQrDCl+SKoQqnnza1dfSlGEw57qog103elsn5amaX/sBdKnwZPfyokmfhS yNRTs9K/Kp6jycp9eclJgrSEh+Vb/3OyWtfd7DjJFMJh5HYYJLgl5BBVhozspll99mgY TfKBSjm/SWPlBX4R59R8gTHR62TwEc0LZKATNIRn2cOf5jhRGPwgZrIiiPT9F5drmAgv s4Iw== X-Gm-Message-State: APzg51Dr5V53pI87Vp7vQDS0XihINYdOzCuhsNmpAfTxGq5STScybG0O BDF9pqmhqv0As8ZUJIoMRmM= X-Google-Smtp-Source: ANB0VdYplH+KyHB34+f5e/lpoUakLxXB/+ITZhkOm7a8OcAvHUtBBgtm0J1cFOmXZ/SchLPMerKIkw== X-Received: by 2002:adf:824f:: with SMTP id 73-v6mr8055934wrb.130.1535643952128; Thu, 30 Aug 2018 08:45:52 -0700 (PDT) Received: from debian-hp.wlan.uni-ulm.de (eduroam170-020.wlan.uni-ulm.de. [134.60.170.20]) by smtp.gmail.com with ESMTPSA id j20-v6sm1362759wmh.9.2018.08.30.08.45.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 08:45:51 -0700 (PDT) From: Philipp Rossak To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, linux@armlinux.org.uk, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, eugen.hristev@microchip.com, rdunlap@infradead.org, vilhelm.gray@gmail.com, clabbe.montjoie@gmail.com, quentin.schulz@bootlin.com, geert+renesas@glider.be, lukas@wunner.de, icenowy@aosc.io, arnd@arndb.de, broonie@kernel.org, arnaud.pouliquen@st.com Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v3 30/30] ARM: sun8i: a83t: full range OPP tables and CPUfreq Date: Thu, 30 Aug 2018 17:45:18 +0200 Message-Id: <20180830154518.29507-31-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180830154518.29507-1-embed3d@gmail.com> References: <20180830154518.29507-1-embed3d@gmail.com> Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since we have now thermal trotteling enabeled we can now add the full range of the OPP table. The operating points were found in Allwinner BSP and fex files. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sun8i-a83t.dtsi | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 78aa448e869f..ddcf404f9c80 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -250,6 +250,22 @@ opp-microvolt = <840000>; clock-latency-ns = <244144>; /* 8 32k periods */ }; + + opp-1608000000 { + opp-hz = /bits/ 64 <1608000000>; + opp-microvolt = <920000>; + clock-latency-ns = <244144>; /* 8 32k periods */ + }; + opp-1800000000 { /* BOOT FREQ */ + opp-hz = /bits/ 64 <1800000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <244144>; /* 8 32k periods */ + }; + opp-2016000000 { + opp-hz = /bits/ 64 <2016000000>; + opp-microvolt = <1080000>; + clock-latency-ns = <244144>; /* 8 32k periods */ + }; }; cpu1_opp_table: opp_table1 { @@ -303,6 +319,22 @@ opp-microvolt = <840000>; clock-latency-ns = <244144>; /* 8 32k periods */ }; + + opp-1608000000 { + opp-hz = /bits/ 64 <1608000000>; + opp-microvolt = <920000>; + clock-latency-ns = <244144>; /* 8 32k periods */ + }; + opp-1800000000 { /* BOOT FREQ */ + opp-hz = /bits/ 64 <1800000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <244144>; /* 8 32k periods */ + }; + opp-2016000000 { + opp-hz = /bits/ 64 <2016000000>; + opp-microvolt = <1080000>; + clock-latency-ns = <244144>; /* 8 32k periods */ + }; }; soc {