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: 10582215 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 452A3920 for ; Thu, 30 Aug 2018 16:05:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B9372C0D5 for ; Thu, 30 Aug 2018 16:05:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1BBCC2C115; Thu, 30 Aug 2018 16:05:36 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 9897C2C0D5 for ; Thu, 30 Aug 2018 16:05:35 +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=JfhWapaZ14Pfik2jqOGEJsbMKBlSn1+cvLfeH1G10NM=; b=ZvwCQ+WzOPoNJN4HCcebGWkn7C EKcb+xXobr6eELhYSRhhXA2ZG0nhiN/2S9iDxZRYxEMh24QWzI7JxFmtKKKST70g0Tp4h/+Lj5eRm rbKGRtNWPwJ64NkYfqw7ELn/jmDdrxMQ6xCmTnLZ3f0J+1gFSvmdVnK8o7QJjDlc1sk+gZdBbUwYF DexqDLAD0uvv4kNmSyCweB+FC6a9cXoO1/613xBEgNRTWa8qgLoXDY+CWBn2gHNH7OqZysdOALO5i 90R4tQK4dUbGHigTE2PWdjS9vMrCyRaQIXMl5202t2GAmTv5T+mAOztwG5i7ptXIDbFUeVVIstEbQ t0NuHaCw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvPRk-0005rM-6o; Thu, 30 Aug 2018 16:05:24 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvP8w-0001nJ-Io for linux-arm-kernel@lists.infradead.org; Thu, 30 Aug 2018 15:46:00 +0000 Received: by mail-wr1-x442.google.com with SMTP id u12-v6so8500294wrr.4 for ; Thu, 30 Aug 2018 08:45:53 -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=ihhXfAXIjezTJ5Xr3pwqky4/1rhmRXqbjTKj4fHnhrmEKh9m+de1venK2J+KGwmps5 XgogeEr0odpMMuhHMjF1kZnTYMisSDoF1i0Zy/RcLDpSqJPt1bJLeOXR2MGECIQOgwwn AtEXPBMFMokZCoR2aohi92wmFJPISlhV/PWSC/md5hdr1KAtYwPwV+O40Q8c7dGzESgA Ol0JvY5dSK7R/Ibo8XXtdcjEX7S7C1AubXVJGQ1wbY2IKpGHbtNRiOkqrSePFzC/nUiX vlAO2MFLHkL06x5MYwJbPJzWHimgfuUBL/UV9dAT+Rt8qD1sYfSBkq78zFo0TEzxVwVJ kE3Q== X-Gm-Message-State: APzg51C2l/xeoi2eeKX0S1bUkLkKqDCnDZ9qj9bAAe6l8ncNij/xAoUm tGTMfETtntHqgSxE6nFSNWw= 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180830_084558_722553_115209D8 X-CRM114-Status: GOOD ( 12.42 ) 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: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.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 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 {