Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1463941pxb; Fri, 21 Jan 2022 19:54:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhq70fIqg3TAQNEkC2HoiTFyVxZUNtEPXD5ySDhRMQZY+DqWcWExPsOZrdBTaYAz3Q2Whr X-Received: by 2002:aa7:8393:0:b0:4bc:b311:edec with SMTP id u19-20020aa78393000000b004bcb311edecmr6298883pfm.26.1642823678441; 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=FA/0n74BPjmRYBtG6CXP1K5nJu+7D6VnVOe3GS3S7Ms4n+mkZwJs0MJKfOmSHgld+P iJCaxrqq9aT1H/7XDY528gSifpzuAABY8zchuf2LuYPIQRhpGIxQ4Rvnae5jOzDCYQk1 hy4iDEbdYBqotrlqOxjMqOoTokSFYaCPo0vyg9lMyJxS9WRUmQc3yFibKLkE0OX8BUha qjTE4loqPCuJCLWpta7ZBcF9rkp5bzN1Smc4+4UokBbaj/Y8wWG4OBKkys1aSlbrB+O6 6rv0RSZwl4Tn2V4cQDdyMRIDJaMdoJBKB8XxXeUjXVPsE4hYSRtU/M+v9UzohCh5r0YY lfmw== 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=iD/CADMJmjE6Wqsta+zyCvYv9Ey28eqoIb5w5xoLVEA=; b=0rtnEZdZxj8OlzDTky19Fzg/yjN6j/jEqa6uDnJFYvTw3tydYhxNBtWpl8D6AxFS2v qVr8Vdq5BqjA54VwucitIcnow9tmIJzUiAJmi4zIVXu8vQze/ZucpSDRe1ukrQKs6BPv vcOFlNc40iFS8gksQ1BqdZD9TEXNdnrQOqjhK0CpPqQKSM9FK8j3YnQDKOmG4AwV2DHz jmUpFtfA/Q5D0GacMnY7i1CFbX0v8cUnim8QYRR/YSuvfRKx0d7V+5ZXZBMqR6F9CV9p l3/I3qBykXS9GRLNfI2Qljt55CGMRng3Hf+Fpk6Nvge/N5QQGFWXW49mpdOTmsQeHUeF oyMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="pT1Wq/aA"; 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 r64si8265285pgr.82.2022.01.21.19.54.11; 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="pT1Wq/aA"; 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 S229943AbiAUTgs (ORCPT + 99 others); Fri, 21 Jan 2022 14:36:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230189AbiAUTgB (ORCPT ); Fri, 21 Jan 2022 14:36:01 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CB0EC06173D; Fri, 21 Jan 2022 11:36:01 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id s4so596128wrb.0; Fri, 21 Jan 2022 11:36:00 -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=iD/CADMJmjE6Wqsta+zyCvYv9Ey28eqoIb5w5xoLVEA=; b=pT1Wq/aAIl8THxDwAu4WsHnCXwPt44I62OEbx4xZhMzz2zo+cVyAmgxsaQt3T3X1U9 JyAcHpk0XTuT+syn8/rkM0A2joco1O+Y5elE3iQ3DULT2eNvJ/FwBoQ0XVRWh2U9a5vt JB6BO+SDq5LbD5Ftb0ZIIEwKCzDjdr8XLg6SUXF9sFzHGe/mj2RzrXuuZVVdfxcvzIhh +IL83B0uQprKTsi9yyyQ88Nhn8HbJjbFAQU2KNVu/vGPu5sfbaeypfPReJpFRPERHn11 eG7uWF6RHgPTqXspVOFmmjRQ1Iyx9I3tI7tFy6Coh7BgCoaZRk2z0IbjqU0fyuzmgRRl VOCQ== 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=iD/CADMJmjE6Wqsta+zyCvYv9Ey28eqoIb5w5xoLVEA=; b=1zz1bvWg61pXmLJyJz0lCe3hyS/9dQFp6ZWxg0K7ILzOcEyyJAEfTFBxTFusyKYxWg +ZSn86b5x9K5/nL8V8SC2q9XOKALbHfhW4BsHHbRUJfdgymFxF2bx4KoQ6lAFPTxxpHc 1xRfr1MHgc9XqNIAB7UWeItpz6t9G1eREDWTEMwjZ6WDVyP3VDIZXYctDZDFAXfZ84sB FXxBV0SSDTxA4kfDROYggl6fJpYAV4jm9o7cvXXSbsNbIBOh5Gc75WkSz9G0PJeyKPLS FTajK5r0OlUuADGA6XiQHmpplP0tLz10EDxgH5DL+hisNP6U9yWI3nB8fUJ7v6q4gA/1 KuOA== X-Gm-Message-State: AOAM532pwa2xdPJQMyXHJyXzpS6pEqp/OV7TvIEeeyYTQs+wmHV0jpsS u0NxoMmKXEzKcqRDc65Tz4GpTQrTXD9qeg== X-Received: by 2002:adf:ebd2:: with SMTP id v18mr5154671wrn.502.1642793759362; Fri, 21 Jan 2022 11:35:59 -0800 (PST) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id h4sm7803309wre.0.2022.01.21.11.35.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jan 2022 11:35:58 -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 Subject: [PATCH v3 9/9] ARM: mstar: Extend opp_table for infinity2m Date: Fri, 21 Jan 2022 20:35:44 +0100 Message-Id: <20220121193544.23231-10-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 infinity2m are running up to 1.2Ghz, this extends opp_table with the corresponding frequencies and enable operating-points table for cpu1 Signed-off-by: Romain Perier --- arch/arm/boot/dts/mstar-infinity2m.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/mstar-infinity2m.dtsi b/arch/arm/boot/dts/mstar-infinity2m.dtsi index dc339cd29778..1b485efd7156 100644 --- a/arch/arm/boot/dts/mstar-infinity2m.dtsi +++ b/arch/arm/boot/dts/mstar-infinity2m.dtsi @@ -6,10 +6,25 @@ #include "mstar-infinity.dtsi" +&cpu0_opp_table { + opp-1000000000 { + opp-hz = /bits/ 64 <1000000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + }; + + opp-1200000000 { + opp-hz = /bits/ 64 <1200000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <300000>; + }; +}; + &cpus { cpu1: cpu@1 { device_type = "cpu"; compatible = "arm,cortex-a7"; + operating-points-v2 = <&cpu0_opp_table>; reg = <0x1>; clocks = <&cpupll>; clock-names = "cpuclk"; -- 2.34.1