Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3058925ybt; Sat, 4 Jul 2020 05:15:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz676e7HaY9n/w80eApt17JvGpjVZhAijwbz5QeJio5L+tO6j/QSJ2YuBg/F6k+inxUvJSI X-Received: by 2002:a17:906:2581:: with SMTP id m1mr38647581ejb.89.1593864950669; Sat, 04 Jul 2020 05:15:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593864950; cv=none; d=google.com; s=arc-20160816; b=jMTkFAdztdHoJqQZk3RKKXVa5ebDrAAdlLcWUbEM6BxAgN2lrqqx7uJ1CqoLZ4i8/G 06FiVaWlBBx9j8QonoHvjTgwyQ06QBe0m+pCFnsoTCWIN9ARDXtupGd6XEzSx+wWy9OQ RL1YJAyv3v4ee/pdGeKU4KjW3jAd7HMtZKH0hTjrMKZuNLkILkjjAKOl/I3zWFG2huxw l52mfYAB4P3dinhEEvnbkMiHv7nqQ/ZDvUKBf0rLKKGPNBdy86ib1Bz9xSj1SZq0zyn9 xK99Sn8g7C/8ti2w9aJ/nmzDgySWITWArRPROgYX1uI+PINE2W6ICuXcvpKfXvJc0xYQ l5PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=5jhvqkvkWhZxXjs3LP2HbP7ewUguP0t5n9H4pdg7EEA=; b=jf9jhXapQVbSHgbZoLuM/8bIW+JCr/bz61Zw+tUwaWyUctrw+yMAjuFTgjsSy7SKj2 Ok46TT2zqn9/ITymu7pCvm7CGYG0jQ9J4jGCaz3FzT4AW+4mmsNcPRzYErF7Wr2JtOkQ Asa3d7f0EU/rXD3V4S6IGcbweP6IsY34cgDhf7UiRGF86E9Rq4J0eaA613wC+3Y6mRDi /APcBqiUDTyk5GfPQZltflQgeuvwhbxR3v0HFRNAwT5nfMebmMU2VTUS/0aDAuqOWUCs sfkNVrPAXJrsjoNdPypk3cJozOc7Jx6CMJQny1QFCCD42WyfT+mNEkMKutxiLFW4Qygl wllQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=PpetsJeH; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=K86n12m4; 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=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h23si9423168edv.18.2020.07.04.05.15.28; Sat, 04 Jul 2020 05:15:50 -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=@cerno.tech header.s=fm3 header.b=PpetsJeH; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=K86n12m4; 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=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726794AbgGDMNJ (ORCPT + 99 others); Sat, 4 Jul 2020 08:13:09 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:44023 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726667AbgGDMNJ (ORCPT ); Sat, 4 Jul 2020 08:13:09 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id A9596580104; Sat, 4 Jul 2020 08:13:04 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 04 Jul 2020 08:13:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm3; bh=5 jhvqkvkWhZxXjs3LP2HbP7ewUguP0t5n9H4pdg7EEA=; b=PpetsJeHoadsGu6Jj BmST2pSe4zZS/Nj/P8dF0gKTugy+G5TQ5MSPNYh7F2fsvy7cbSV2/+Iwobqk2J34 ksd2bfIwO+3mkpnVwgivxXM9nwGoUnSue4ftrQwJwXPpmpXtPfakcXnl/Wx9Lr16 xmfOLiunn1zktpFrlrrja+xCUi4nJDLKzhQLeMMier2oXarnb8kOmtSqbN3SnQeE XXqTFlp+oak/LAaf+aCJWru2GMYwPTl3mbcCtLwFvBe4Yu+mv0OdC37pk7MdmaI0 i+n9uAm/G8ASKmikG0w853huvbHASV+uJb9mff9+yuByPKEH+E1ZintiNFL6JUbY 68VdQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=5jhvqkvkWhZxXjs3LP2HbP7ewUguP0t5n9H4pdg7E EA=; b=K86n12m4TIAime46SbpINUp1l6NwhRZ+mYkwgohG6pgLg8XcwbvW7WQlQ XLYm0ni6lnqzwhvB+k5YUDiXAGfKvRYsET27C57TJcOhBOji74jSuDgDgorQpibM DM+XDcgP9hKwWX7WcdaofMk6UZW9/w4ZHUsSWB+4QIzOzdswL1f2Oj1K0rVlsKNL 9c9O9SXb2JBL2Ym+CCZmltFTAt07qtnxs0EEsnyx8E3kpcMaAOC7G7UnK8P0ZI91 MVGkyFFaZlwNmVlzUdAHvDruQtQhwq97f4ddSqPG6b1dtTkQJ+apoAbgPzAcUeWj 4At4BhLSFuh5nXK2g7tbLV4Vimpbg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrtdekgdehtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggugfgjsehtqhertddttddunecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepheelvdfhkeelgfevleekleduvefftefhudekvdffhffhgeefuefgheegfeej vedtnecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 9FDDB328005E; Sat, 4 Jul 2020 08:13:03 -0400 (EDT) Date: Sat, 4 Jul 2020 14:13:01 +0200 From: Maxime Ripard To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Rob Herring , Tomeu Vizoso , Steven Price , Alyssa Rosenzweig , Viresh Kumar , Nishanth Menon , Stephen Boyd , Chen-Yu Tsai , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 13/14] [DO NOT MERGE] arm64: dts: allwinner: h6: Add GPU OPP table Message-ID: <20200704121301.jfd3m3jnlghmddg4@gilmour.lan> References: <20200704102535.189647-1-peron.clem@gmail.com> <20200704102535.189647-14-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200704102535.189647-14-peron.clem@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sat, Jul 04, 2020 at 12:25:34PM +0200, Cl=E9ment P=E9ron wrote: > Add an Operating Performance Points table for the GPU to > enable Dynamic Voltage & Frequency Scaling on the H6. >=20 > The voltage range is set with minival voltage set to the target > and the maximal voltage set to 1.2V. This allow DVFS framework to > work properly on board with fixed regulator. >=20 > Signed-off-by: Cl=E9ment P=E9ron That patch seems reasonable, why shouldn't we merge it? > --- > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 80 ++++++++++++++++++++ > 1 file changed, 80 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/bo= ot/dts/allwinner/sun50i-h6.dtsi > index 8f514a2169aa..a69f9e09a829 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > @@ -174,6 +174,7 @@ gpu: gpu@1800000 { > clocks =3D <&ccu CLK_GPU>, <&ccu CLK_BUS_GPU>; > clock-names =3D "core", "bus"; > resets =3D <&ccu RST_BUS_GPU>; > + operating-points-v2 =3D <&gpu_opp_table>; > #cooling-cells =3D <2>; > status =3D "disabled"; > }; > @@ -1036,4 +1037,83 @@ map0 { > }; > }; > }; > + > + gpu_opp_table: gpu-opp-table { > + compatible =3D "operating-points-v2"; > + > + opp@216000000 { > + opp-hz =3D /bits/ 64 <216000000>; > + opp-microvolt =3D <810000 810000 1200000>; > + }; All those nodes will create DTC warnings though. Maxime