Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6202724iob; Tue, 10 May 2022 12:44:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXk+ljoqS0khZW+AxlNFO6ztqk/HzyCJqRt5O6vZTNUj5Cq9/wwGwUPjWE6WrgkZQtxjXj X-Received: by 2002:a63:6c0a:0:b0:3ab:894f:8309 with SMTP id h10-20020a636c0a000000b003ab894f8309mr18078987pgc.536.1652211854301; Tue, 10 May 2022 12:44:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652211854; cv=none; d=google.com; s=arc-20160816; b=M/0swBkb1b7+8PJpXOLhjwc/VklXcn1sntn5S3xDwQDZvXiuk2EA6T5BUkQxRMYrG2 8USO6lQKI232c9/my/2wRrZmmbp1dVbhjs4XcZbtkGLVZL6uq9SmXCZWOLvOvOAuVehe 6giUPcu4pNb2G2KgVWzSYse+m6V8NhDWHCE1Cw5TWpTAHtUgHdu+Zv9l91OrjdycDgQ9 gBLdf+bra9Tvc9zNB2cUQYQprWIvCLbm2RdxowwqBibps6S4O4ZUxDHLp4iCXqdNWWet hUmhtniE56HVKvluMtY6jDqHr8e8y5aBcUQOx5fGcaOSbrDBXYToFlFOPjML+k6wQSvB wl/A== 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; bh=fw0iqGw8PzQyn1/JkAh2KjvvS91bvwy5C6m8VDM0d5c=; b=fi530MH4vXXnR3YiB1MTkXRy6U+D7w1Aj7fY/fFtecYFSs6umCwu1wRV/N16RohfgX Qit8701xHmcZlXoka4b7Jt270hFZKf1YfL4cfz758TY//DNyU2Q2UjEnp0mmNeKrWFaN s6z2uwYFk8zLuNlkaid0eXWwo81y0wPBS86PcY+0NTlcBi9JeAI/PgOebeV69O7BcFjG 9+NOVugVsaMNqhlsnEsu/Jv0NDweVK5i1qCK4xKts8czrtS7/qjJ12Pojr6w1iVhfzNT BopGm6zheQmk5xZeXER7w8FlrrPig/xen9dQYD5QriJ/81ZKoLs0dyDO5L7ggG8ed5YO cuTQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t18-20020a63d252000000b003a91660c8d2si284682pgi.276.2022.05.10.12.43.59; Tue, 10 May 2022 12:44:14 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345991AbiEJPgB (ORCPT + 99 others); Tue, 10 May 2022 11:36:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345860AbiEJPfH (ORCPT ); Tue, 10 May 2022 11:35:07 -0400 Received: from mail-m17638.qiye.163.com (mail-m17638.qiye.163.com [59.111.176.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B018B87A; Tue, 10 May 2022 08:30:27 -0700 (PDT) Received: from localhost.localdomain (unknown [58.23.13.247]) by mail-m17638.qiye.163.com (Hmail) with ESMTPA id 9EAEE1C03D5; Tue, 10 May 2022 23:30:22 +0800 (CST) From: Chukun Pan To: Rob Herring Cc: Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Chukun Pan Subject: [PATCH v2 1/1] arm64: dts: allwinner: h6: Enable CPU opp tables for OrangePi One Plus Date: Tue, 10 May 2022 23:30:06 +0800 Message-Id: <20220510153006.279233-2-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220510153006.279233-1-amadeus@jmu.edu.cn> References: <20220510153006.279233-1-amadeus@jmu.edu.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgPGg8OCBgUHx5ZQUlOS1dZCBgUCR5ZQVlLVUtZV1 kWDxoPAgseWUFZKDYvK1lXWShZQUhPN1dZLVlBSVdZDwkaFQgSH1lBWRpOGE5WSU0aHxpDSEwaSE lJVRMBExYaEhckFA4PWVdZFhoPEhUdFFlBWU9LSFVKSktISkNVS1kG X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MjI6SAw5Kz02PlEqNxQDDUxO DAgaCU9VSlVKTU5JSkJNTUlISk5KVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWU5D VUlIVUpIVUlPTFlXWQgBWUFJTUpCNwY+ X-HM-Tid: 0a80ae97c1fdd993kuws9eaee1c03d5 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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 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 @@ -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"; }; -- 2.25.1