Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp878814imw; Mon, 4 Jul 2022 23:03:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uM4OhjN/Pjl1be6pl9X7J2HO6fFqxrBrqnMxILLi1zFhI2+XESsYy5fTQA1TJEAPXgqGEm X-Received: by 2002:a17:902:eb86:b0:16b:a453:9951 with SMTP id q6-20020a170902eb8600b0016ba4539951mr31405208plg.156.1657000986885; Mon, 04 Jul 2022 23:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657000986; cv=none; d=google.com; s=arc-20160816; b=Oc8B8+DFk77AQIKotfanOkJVE/YMKDxMvFXho/VNvRNeXszoSA+dr4jcEzR4oMeeaY 1tF9W5wtoIblwjFxIYKzOjDBaAMW5OLVogpX6gd9Zlrd0TIe3CvkaH8bZ/HMUAy8Q0eQ 7PbKeqU9TF2uQP1YISg1EnnJhxsaOnB45cAmdWUuRgrGf1T4AP9Js5DSDfs31f7RmfPe DlMg1hu6mDXTKVvYYfyHDmwTWnqgcQGDqFmgnu6lVySOdjrBt6Zrn2anIdvrqGLPNgr7 zPTUOUp/jbyOXVqVqdS3EPmyfga7E3poZ83SVCO9eijbK12b8ty0rSElRpl0REyxBT1n 5oIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:feedback-id:dkim-signature:dkim-signature; bh=l06hKa8FX6f2rc48K0AkRV8GNe0TgQght/OVF4ypUag=; b=fpZd8JBaACSTYiAdDUj2PpJjYtczGZ39Gwk2d25+02cwNRrAo5KgFZyUcd0R8lJmhQ iZ/tG8tpac0BW+uuYftINhEe+OZk+GciB+35sLCc+Mm7XNUKIPaWp3/x+8xL+4hAKu9X 7fK1yZDkJ/sS6BTzqhvznojFdGTZxD4n5NtUC3v6bdOXVNMdqKmNzpz7J/b8/aLfJMMF rFUrfygkA1k1ENn0iE2GEAiZjCwaMetUUudBNhy+HAEKVokmXgPTzL5UBtXNZDwbKTji h6CWpYIKcX01CKcdi7q/FLBYeg8DoAL+zGzeYvNEdlxkmVAgCpz8SUrCZZBlG+UaDAeX 2i0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b="VU/kgryC"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=mZSqr8TE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 84-20020a630257000000b00412636084dcsi4108304pgc.631.2022.07.04.23.02.45; Mon, 04 Jul 2022 23:03:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b="VU/kgryC"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=mZSqr8TE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229641AbiGEFRi (ORCPT + 99 others); Tue, 5 Jul 2022 01:17:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiGEFRh (ORCPT ); Tue, 5 Jul 2022 01:17:37 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D795BD9D; Mon, 4 Jul 2022 22:17:36 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 44B635C009A; Tue, 5 Jul 2022 01:17:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 05 Jul 2022 01:17:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1656998256; x= 1657084656; bh=l06hKa8FX6f2rc48K0AkRV8GNe0TgQght/OVF4ypUag=; b=V U/kgryCJ6yVCm81ZS+aci+Bl4bPdaRa0dCkHHQFHPZo1e3Yg14Eiv7tQfGuZeKHS q8wZPUqdlNgf2BzJ677d2k9nieISzpWkkASyirapBforOYn6KboTQb2jZT+rqsR3 3JV4Ifte7daxvxxHlqAWoFzG1XHxWXoZuP0vI4WfmCI23N0KcIfL6i5AidUBbFzB u4xOSHklUkLEDx68ycfz8fa++amjoOdCQAjpUubkU468zeHkfGrNMVrpCJBl+Wtj aCi734X4cXcvi5Vve6d4YdinMcGQinP75vPo7c/5KQRMPCT477HYaXJBSv5n22LQ YtL6gxE+/hQJR0kbVIF9Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1656998256; x= 1657084656; bh=l06hKa8FX6f2rc48K0AkRV8GNe0TgQght/OVF4ypUag=; b=m ZSqr8TEq53pUAE2WPhGKf8d4RTZ0tbR6UkPXL5/jEbdeJrhtfS9NcfKQ3XeiKx7x rnK/D+osPhuhiJBPxatOucmsI70/jmL8NZqrinkzZONPR937B4k2WaZbZx2+LLdW grtR4P84xKMRJ6j1qq2Oll45kTyjcTt2dp/oDnXb/BnCQTh+YVxBKX+dVBrhDFIm UxyEt8bXF7ub8XH6woXRWwfi67VFm7b8FZW1zcNHnPMsb2D/nYvHCaiF6P9VHcd5 kg7LvDXILIcIzEq2B2mYDQ8Zn3VjU+rPug5YkQ+wcM4nOuxB42tFJpsYFcU+3aYN vuMK+1A9oIx3CiA1km0VA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeitddgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvvehfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefurghm uhgvlhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenuc ggtffrrghtthgvrhhnpefftdevkedvgeekueeutefgteffieelvedukeeuhfehledvhfei tdehudfhudehhfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Jul 2022 01:17:34 -0400 (EDT) Subject: Re: [PATCH v2 1/1] arm64: dts: allwinner: h6: Enable CPU opp tables for OrangePi One Plus To: Chukun Pan Cc: Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org References: <20220510153006.279233-1-amadeus@jmu.edu.cn> <20220510153006.279233-2-amadeus@jmu.edu.cn> From: Samuel Holland Message-ID: <93bbf82c-5868-e5ad-6325-7c4e6ba50907@sholland.org> Date: Tue, 5 Jul 2022 00:17:34 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20220510153006.279233-2-amadeus@jmu.edu.cn> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/10/22 10:30 AM, Chukun Pan wrote: > Enable CPU opp tables for OrangePi One Plus. > > This needs to change the CPU regulator max voltage to fit > the OPP table. > > Signed-off-by: Chukun Pan > --- > arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi > index 92745128fcfe..7773c51438ce 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi Putting the changes in this file also applies them to the OrangePi Lite2 and OrangePi 3. Did you test OrangePi Lite2? They both use the same PMIC with a similar configuration, so it may be safe to assume that what works on OrangePi One Plus also works there, but I am not sure. OrangePi 3 already includes the OPP header and these changes, so it is safe but redundant. Either these changes need to be made in sun50i-h6-orangepi-one-plus.dts, or we need to remove the duplicate changes from sun50i-h6-orangepi-3.dts. Regards, Samuel > @@ -5,6 +5,7 @@ > /dts-v1/; > > #include "sun50i-h6.dtsi" > +#include "sun50i-h6-cpu-opp.dtsi" > > #include > > @@ -64,6 +65,10 @@ reg_vcc5v: vcc5v { > }; > }; > > +&cpu0 { > + cpu-supply = <®_dcdca>; > +}; > + > &de { > status = "okay"; > }; > @@ -208,7 +213,7 @@ reg_cldo3: cldo3 { > reg_dcdca: dcdca { > regulator-always-on; > regulator-min-microvolt = <810000>; > - regulator-max-microvolt = <1080000>; > + regulator-max-microvolt = <1160000>; > regulator-name = "vdd-cpu"; > }; > >