Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2975718pxu; Mon, 7 Dec 2020 23:28:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJw5km+V4v3mn04Vnp3/xEtCG7nBeiGAD6HQIj6UsQ7pJqVpTOf02GrbVc/UabkU1+R13MwX X-Received: by 2002:a50:d8c8:: with SMTP id y8mr22830992edj.82.1607412522761; Mon, 07 Dec 2020 23:28:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607412522; cv=none; d=google.com; s=arc-20160816; b=BfoUF0HrJidUQ/nbhhOPD8ZmTJjZiOGk6NlFfUODV9lqnl7e1ePWQwGfubQs7tuaBJ 9DkQwYPklfS2m1irLvcCJw6i/VKgAC+UjvYGnm1a2fGYO2ZaKuNd3OTLbtjstP5lxZzi RmHzk8M48tjgCVRKPN5WYcbcww86UdiZMvy6EiEuz//gXjwUqMdLVzonoM+Y6oSk2MUr AK9zE57aAj+HNy9wRdIBg38/aue6S+5LKAv610wljSPcCLwE9WCYdBTW603Ci770LzDC QjxqT0LsrWOoR+D1Gr1hU1740AbVskZX/ICwkNTb68ZdhIKPY7EJcQMbyj+hGd76O/O5 0IgA== 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 :message-id:date:subject:cc:to:from; bh=2JY9p0qhyyS9iBocfzCPLDK2u86xSATdcMVRmwg6w5c=; b=vTR2sNfBi3N6I1kzqSknx2SPob8ARA9lkt85m9p5AQdtNDXZ6c+NmN1vL1CWo0umM1 XVyqDxP0F+LdUBJP3Y19XFUjwjp2rsZbYFnWvOygYTxYym6AbJlQNbb1z4eWnB7ciKCo onKQchRj9r83nZ+dOcPGWC4Rj3csQdBnJ9mfvtd1zJ/GtRZeeB6ITaUNdBTSAa2icJCr LE6E3OgnK5ahWgco/3E1tLQj0jim1QLuWv2K4dvAN/oiVmf7Px0df1QlPZOJ3b3+g/dw U9F+LO8DytQmBAr4yaFUTIKNzQGMCt/gUs92vwB9Kio5lt1aIsnhjyKeoFSfZbGsox9L iCqg== ARC-Authentication-Results: i=1; mx.google.com; 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 t19si8683486edt.253.2020.12.07.23.28.19; Mon, 07 Dec 2020 23:28:42 -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; 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 S1727093AbgLHHW0 (ORCPT + 99 others); Tue, 8 Dec 2020 02:22:26 -0500 Received: from smtp2207-205.mail.aliyun.com ([121.197.207.205]:56612 "EHLO smtp2207-205.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725972AbgLHHW0 (ORCPT ); Tue, 8 Dec 2020 02:22:26 -0500 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.08437475|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.260233-0.00193035-0.737837;FP=7244574317708546350|1|1|6|0|-1|-1|-1;HT=ay29a033018047199;MF=huangshuosheng@allwinnertech.com;NM=1;PH=DS;RN=9;RT=9;SR=0;TI=SMTPD_---.J4UJCsW_1607412099; Received: from allwinnertech.com(mailfrom:huangshuosheng@allwinnertech.com fp:SMTPD_---.J4UJCsW_1607412099) by smtp.aliyun-inc.com(10.147.44.118); Tue, 08 Dec 2020 15:21:42 +0800 From: Shuosheng Huang To: robh+dt@kernel.org, mripard@kernel.org, wens@csie.org, jernej.skrabec@siol.net, tiny.windzz@gmail.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Shuosheng Huang Subject: [PATCH v4 6/6] arm64: dts: allwinner: a100: Enable cpufreq on a100 Date: Tue, 8 Dec 2020 15:21:38 +0800 Message-Id: <20201208072138.9003-1-huangshuosheng@allwinnertech.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable cpufreq for all CPU cores on a100. Signed-off-by: Shuosheng Huang --- .../allwinner/sun50i-a100-allwinner-perf1.dts | 16 ++++++++++++++++ arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 6 +++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts b/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts index 301793c72cb7..62a770f1a979 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts @@ -21,6 +21,22 @@ chosen { }; }; +&cpu0 { + cpu-supply = <®_dcdc2>; +}; + +&cpu1 { + cpu-supply = <®_dcdc2>; +}; + +&cpu2 { + cpu-supply = <®_dcdc2>; +}; + +&cpu3 { + cpu-supply = <®_dcdc2>; +}; + &pio { vcc-pb-supply = <®_dcdc1>; vcc-pc-supply = <®_eldo1>; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi index 8f370a175ce6..c6ff172bf599 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi @@ -26,7 +26,7 @@ cpu0: cpu@0 { clocks = <&ccu CLK_CPUX>; }; - cpu@1 { + cpu1: cpu@1 { compatible = "arm,cortex-a53"; device_type = "cpu"; reg = <0x1>; @@ -34,7 +34,7 @@ cpu@1 { clocks = <&ccu CLK_CPUX>; }; - cpu@2 { + cpu2: cpu@2 { compatible = "arm,cortex-a53"; device_type = "cpu"; reg = <0x2>; @@ -42,7 +42,7 @@ cpu@2 { clocks = <&ccu CLK_CPUX>; }; - cpu@3 { + cpu3: cpu@3 { compatible = "arm,cortex-a53"; device_type = "cpu"; reg = <0x3>; -- 2.28.0