Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1463940pxb; Fri, 21 Jan 2022 19:54:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzniXPf9FmQDkCB48E+kM/7MbedtoroF794hYoqHgnugBdkcHOUY2bP4SEplICKJFQ+gt4 X-Received: by 2002:a63:69c4:: with SMTP id e187mr5044018pgc.442.1642823678437; Fri, 21 Jan 2022 19:54:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642823678; cv=none; d=google.com; s=arc-20160816; b=EK5+jbZDMvPlkw4clt0jpS8fi/g0lIr3nrqWov0poVfOWX0OkE7Eis89uZItMaGtlV LpW6kh2nWUuVyfXlV2f/B8sBkKbL0NePPOXMpPV+wKFuFaX3UkImWMvob3il93aVWYis ZHSfUeYAAq05fxERXAqaNjG7RktHFNkJQT9uI0BPfvanPatdG2HloRAq5dZg4xV2MvUa kRUOHSOzVLIeh2EDB0OCy8h5IrWykHa6k/B1tKj6paXFDAbJ1P+HE3VqvGBDS6vkWx1v rWsy3frmzv6QuEhQdGpIv2+4AhsiyWn9vXi5e0pasK/EZ8sgf1DuUh93BHiEvTvSnL2A IHpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=21h9f/ui8ZIqSSrHzJ4KrN8YACvdlcc8m+OIu8z6NvM=; b=LosBU3ulda9cRZR45fET5Qymbo0SIWHJgRWm/P2pBJ32w1csXe987uFLl6aJ2zXQAm YRJ7NA4tH1oF8W4aEiaa5hOG9Q45+CjGRUoopQTbTiIPzufuUMwU4w8y+Ub+INaJ3YHC jKuRaFrniYmNCv/FlTx/glRomIK3BS+cT2PKb2PbuL0PV/ZogkTa49q+dIlPon97FxxZ xJWKvKsWOmJpxyppJHK6vIxRpOuiyIUMqsMpVKXCP4TjUGb3Arq9DETJzK4U4y6g8chu Jt8pKXfaRx9+9kq2fjR6VvOnUJS5enA15IqIVJ2ychOBwDznroCmNZTUfL3d0nVugn4i suMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ChJ5C4ka; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u2si7525459pgk.164.2022.01.21.19.54.09; Fri, 21 Jan 2022 19:54:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ChJ5C4ka; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232362AbiAUTgl (ORCPT + 99 others); Fri, 21 Jan 2022 14:36:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231213AbiAUTf6 (ORCPT ); Fri, 21 Jan 2022 14:35:58 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 665BEC061401; Fri, 21 Jan 2022 11:35:58 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id r132-20020a1c448a000000b0034e043aaac7so6051985wma.5; Fri, 21 Jan 2022 11:35:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=21h9f/ui8ZIqSSrHzJ4KrN8YACvdlcc8m+OIu8z6NvM=; b=ChJ5C4kaaPI5FOo+yQV886VnzSu4zGeWDBiucW3jXXe/7bjC7nwsfRhhl4bKytkqKY 4+GOSQf6Rcb6PtJ9fpTMvGwk758DhPWsP+f3UhkZV3/i9jc7BUiEwYn58oDY/WzXyD0b EkGKdXAxxgFJ7ST/ZPZh8yvgwy+5h5fv6/aY0B8O+Kc9xlNMmmVHI/bAid4E5cZ9BQQt TLhFGobrz/vTKhFU2XOygjqhSwBQ5pSgdWRpY5BuP84uqlYtn2BJeVJd+0d56vpYVXaa +KsRwxhGYZEOGXsryPxJ/fk0J6f260RmmQFw0X1rik8zDcRhccTR7J8LzeE47h1Alqty cRuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=21h9f/ui8ZIqSSrHzJ4KrN8YACvdlcc8m+OIu8z6NvM=; b=w2t2e43hXPXlpyxhfGldUuLZvBIToo59iGdGyPQr5+wafyP6zKK8xA5ClYqNMt4xIm Ix+jJC1P3ftKEBPqwPpEDOx9cmhq0R9bIDYR4q7PLIMIYUTf3BMspITno7lXzRlEsFbU 7wYvojVzW7U8wVyiqQtjkXQ2AfizWQ53EaTnZ9oF3iwi3gT6toY9pt/Pa5YJ5MebFzjw 8HjSlSZASswg50v3hG9jqui5wZOd868A2HufrhBzjgW+2OdUgU9yarC95JwNfawYCB1s gr6FmTVsgJeCuhDUmPIoWeG4DGIHOg8dbrzF1g0gAa2sUEllx+BMquiz+Pqobw8IuZez d6Ng== X-Gm-Message-State: AOAM5334WWIdt/CNU8OuG8jlX5PtxbExvghcm8P/2jYyzoP0Uqf6mqdZ lO+OVRSScMg8B/9jY1P3x4/9V+Q9vetOtA== X-Received: by 2002:a05:600c:1da2:: with SMTP id p34mr1987262wms.97.1642793756985; Fri, 21 Jan 2022 11:35:56 -0800 (PST) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id p19sm6213407wmq.19.2022.01.21.11.35.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jan 2022 11:35:56 -0800 (PST) From: Romain Perier To: Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Arnd Bergmann , Daniel Palmer , Romain Perier , Rob Herring Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Willy Tarreau Subject: [PATCH v3 7/9] ARM: mstar: Add OPP table for infinity3 Date: Fri, 21 Jan 2022 20:35:42 +0100 Message-Id: <20220121193544.23231-8-romain.perier@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220121193544.23231-1-romain.perier@gmail.com> References: <20220121193544.23231-1-romain.perier@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Daniel Palmer The infinity3 has a slightly higher max frequency compared to the infinity so extend the OPP table. Co-authored-by: Willy Tarreau Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-infinity3.dtsi | 58 ++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm/boot/dts/mstar-infinity3.dtsi b/arch/arm/boot/dts/mstar-infinity3.dtsi index 9857e2a9934d..a56cf29e5d82 100644 --- a/arch/arm/boot/dts/mstar-infinity3.dtsi +++ b/arch/arm/boot/dts/mstar-infinity3.dtsi @@ -6,6 +6,64 @@ #include "mstar-infinity.dtsi" +&cpu0_opp_table { + opp-1008000000 { + opp-hz = /bits/ 64 <1008000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + }; + + // overclock frequencies below, shown to work fine up to 1.3 GHz + opp-108000000 { + opp-hz = /bits/ 64 <1080000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + turbo-mode; + }; + + opp-1188000000 { + opp-hz = /bits/ 64 <1188000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + turbo-mode; + }; + + opp-1296000000 { + opp-hz = /bits/ 64 <1296000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + turbo-mode; + }; + + opp-1350000000 { + opp-hz = /bits/ 64 <1350000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + turbo-mode; + }; + + opp-1404000000 { + opp-hz = /bits/ 64 <1404000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + turbo-mode; + }; + + opp-1458000000 { + opp-hz = /bits/ 64 <1458000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + turbo-mode; + }; + + opp-1512000000 { + opp-hz = /bits/ 64 <1512000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + turbo-mode; + }; +}; + &imi { reg = <0xa0000000 0x20000>; }; -- 2.34.1