Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2669456ybz; Mon, 27 Apr 2020 02:10:53 -0700 (PDT) X-Google-Smtp-Source: APiQypJpyW8HTTeN1PhYSMw3OCkGwhhnI2V4adqv8RnPW8Smy7jGmMsHe0gNmu6EZWJTZfgFl4BZ X-Received: by 2002:a17:907:7211:: with SMTP id dr17mr18454508ejc.296.1587978653369; Mon, 27 Apr 2020 02:10:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587978653; cv=none; d=google.com; s=arc-20160816; b=qeKuXy0Yj1wGUQpmg3q1vy2reUPaBc6TKrmKAloqNnUXvZBK+WaTpTIeV68dDmxwaJ deS1sNLVAm0Z15KHwztUp5kDPSHht/XnahXnFObC17/qE+igoo/0b0mEzQxbECGRWwaA T2G7EKQtCnFhrOgBuHqQuMSzEkvCoT83agvEePUVvSAapRscL4uUX5mMEb10t+km6EYg oETJJkZz+KoqA3eycW3xWjKZeERzzKVTi2usv4I0Dyh1gSyoP5/ytSAulZXZz1bsVNY+ +IK2UIYDPcgHzATqyDq7lLhS5NibrGeRZRTfPLqqptWfA6Y5TTERMLWKLvp2zRgs9LaJ FpqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references:dkim-signature; bh=EXiOJznWMubTqF2LbCKEgggZu2abecXwqnF4vnIGgUs=; b=UC6JLqoeZjHEU1UUVdGgFqx8aaZGAsdp4ZO1GR52qO+2YSIEMvK4xBzD4obhDgtVBo bF2bZPNbDjDaIHE7iOv0VDbXlXTOKHe9DhN39knDsP83VKKYTnsr3RevFXn80QLHk7+W p6VCYqAxB8yJ9L+N4FixcwaVp/k/kcmAl9GesACdaABIs47kDLTHPJ/Wij6g/jqaWyB2 4ggqlE/VdvGnJ50ceeSPMVdLeJbGoycXauV3d3oJpqqsty/av7ivHEIiynKQ1eUT8nkr pZzkluTyEyCDUYAboazuPla/Wasiq1nC8n2hDlkLxMUfNUa7CgtT1hW8ExbsAu0bzdq9 fumA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Szjt1f5P; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c61si4336816edf.53.2020.04.27.02.10.30; Mon, 27 Apr 2020 02:10:53 -0700 (PDT) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Szjt1f5P; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726922AbgD0JGb (ORCPT + 99 others); Mon, 27 Apr 2020 05:06:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726003AbgD0JGb (ORCPT ); Mon, 27 Apr 2020 05:06:31 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E33AC0610D5 for ; Mon, 27 Apr 2020 02:06:30 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id t14so19550194wrw.12 for ; Mon, 27 Apr 2020 02:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=EXiOJznWMubTqF2LbCKEgggZu2abecXwqnF4vnIGgUs=; b=Szjt1f5Pa/pEX5/hdAOy3hyklXSuFgdWqjESFkmFUQCwR/ajegBnINlZ+TC2x4jE1b HyOJR/fENBP1p2pYGwGLEQkMTwkpUKuuKKQyYkLEai7B+mVqm2VZ4MKTu3WWgnbTBg5c tgdjdWQ60glhnwf3mDSATogH90ab3Q7Sj6GH322jCRcnQB6Vz1g9U290HP4zVSMPwjFe kW633A9jC2rwOCiyPbhxtbwmI3XtTsTwDVF6PmRNnFGFupRdsNfZHxEVf0L9wOLYuRFe YQlIe9g4mGfgmjGv4fdjESnV/Jh86F6g8arR0o+P9RikVCR9I7OIUf520oyvjRW6pmx9 pT4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=EXiOJznWMubTqF2LbCKEgggZu2abecXwqnF4vnIGgUs=; b=k/byZv4/Vj2SOLhgjoPM04+S1s1ufkneYkZSxJR416AqTeZnSXd2SWHnaaWc9sLxFE Mgg22qdx+1GRbqiINlPL6WSVGdiLv7MwLbzmRFeSEd/gs4exgxiC9842Nt0gHCCFboxt GaXWJkdHVz9lec+b8t7oHGPXSbZ/g5LC0f1d4rShLCkMIm7J7dAzNb4WoHrdtOh00Kuv 0q59F9yukfi95tlDYWIJHPlN2DNkt0nQzp7Vo68E/qAG311tQZYBkA/9a6HD9D5HDBGu hhct7x41XAT3Pi2nFV232MofIydtOD/2ikKQfRywZwgyD4lyYuXYLn2jnrbdwxESe2ke 11WA== X-Gm-Message-State: AGi0PuZOb1hQZv0RQnixub3P8HYoowjtEePMn+f98t59wBJdjn1GUNGF k8rYUH6+zfBCRHuktK0IRbktzg== X-Received: by 2002:adf:afdf:: with SMTP id y31mr26004385wrd.120.1587978389304; Mon, 27 Apr 2020 02:06:29 -0700 (PDT) Received: from localhost (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.gmail.com with ESMTPSA id s12sm14045158wmc.7.2020.04.27.02.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Apr 2020 02:06:28 -0700 (PDT) References: <20200426162119.GA23268@imac> User-agent: mu4e 1.3.3; emacs 26.3 From: Jerome Brunet To: elatllat@gmail.com Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, joy.cho@hardkernel.com, narmstrong@baylibre.com, khilman@baylibre.com, christianshewitt@gmail.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, tobetter@gmail.com, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4] arm64: dts: meson: S922X: extend cpu opp-points In-reply-to: <20200426162119.GA23268@imac> Date: Mon, 27 Apr 2020 11:06:27 +0200 Message-ID: <1ja72x2t7w.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun 26 Apr 2020 at 18:21, Tim Lewis wrote: > Add extra cpu pop points to allow mild overclock on S922X. The opp > points are found in Hardkernel N2 sources [1] and testing shows no > obvious issues on other S922X devices. Thermal throttling should > keep things in-check if needed. The Odroid-N2 has a massive heatsink mounted. Do we have any idea if this applies (is safe) on any other S922x device ? It would be nice to get some input (review) from Amlogic is this to included for any devices using the SoC. In the meantime, I think this should be applied to odroid-n2 dt only. > > [1] https://github.com/hardkernel/linux/commit/f86cd9487c7483b2a05f448b9ebacf6bd5a2ad2f > Tested-by: Christian Hewitt > Reviewed-by: Neil Armstrong > Signed-off-by: Tim Lewis > > --- > arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 15 +++++++++++++++ > 1 files changed, 15 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi > index 046cc332d..1e5d0ee5d 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi > @@ -65,6 +65,11 @@ > opp-hz = /bits/ 64 <1896000000>; > opp-microvolt = <981000>; > }; > + > + opp-1992000000 { > + opp-hz = /bits/ 64 <1992000000>; > + opp-microvolt = <1001000>; > + }; > }; > > cpub_opp_table_1: opp-table-1 { > @@ -120,5 +125,15 @@ > opp-hz = /bits/ 64 <1704000000>; > opp-microvolt = <891000>; > }; > + > + opp-1800000000 { > + opp-hz = /bits/ 64 <1800000000>; > + opp-microvolt = <981000>; > + }; > + > + opp-1908000000 { > + opp-hz = /bits/ 64 <1908000000>; > + opp-microvolt = <1022000>; > + }; > }; > };