Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2291052ybb; Sun, 5 Apr 2020 03:51:22 -0700 (PDT) X-Google-Smtp-Source: APiQypKuReBu2esQfb0ajElCiw2YAsojFCcRw1KR1Ub/m5/ATBvtHjUJP0vxyy92SeoWMBviW14A X-Received: by 2002:a05:6830:23bb:: with SMTP id m27mr13911855ots.195.1586083882423; Sun, 05 Apr 2020 03:51:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586083882; cv=none; d=google.com; s=arc-20160816; b=0oYUn/MckI4MvGMdjGKQb8KpAqQtseXI2QkxvvuTD+IbFX3tHsoJAfznEO2tVzscih o6zhJKhj5A6Hx87Ccp51U+/H7zVgRRhPQfeEEbN75J98akzJSbwBdVZpkkF3hpI2W7UY 1Nutqs8/ZrlgC9LU9PoY8oVKDPzaCxu8s7TC2k5A7XFrAKWpUPDrlxhx48AKC4Is+EFc rvnGkGu/ZKTb3OQKh0Y61VEbi+KEKCTDHBvmmTzWlrIn4DWjq5AmI23MvRQ7b/aWCk8z 0N+oQNY0Otjo5yHmuZZUysjawov6xxdAOLLL72Ie3m2w8s052iCd9CzggEwEBGY1SAfC Ardw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IaJsFC4mWmdWbyKkdQgRslfWupkpd121xwwCWiCDFic=; b=UhLeRcgXNXKsT28d9SeZpUGckdlVQm+5ZFjfRgDImeV+nBVjPS7oeNXVB/JlKETJke ocEGWDrgMDFMyXGRx9zXMf9Mwvl10Al+M4MbvviBWRxtCPFt7n6sMmmA+5wHaWtz+k+w 1xR1yuMewMpvY3WZE49kTG8wiObI6VfCnRBFNY4P4XNwIhvWstrl5tnvSftWgW/vGz3a sJ3yerkYNy9W3C94fc5d9IJpCy4b/pyGFCaWkhuSs2nTvsVf2nkKJSmdBpRzgswDrvD7 Cv3z39ID1+/hd1hrhfLk6kaPACMRdGLDX/SzkVMeVwBvT9/W6g6AvC6qn0AllhN5GUVz Uuzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Nv0iaaZu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g20si148075oop.14.2020.04.05.03.51.10; Sun, 05 Apr 2020 03:51:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Nv0iaaZu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726706AbgDEKtk (ORCPT + 99 others); Sun, 5 Apr 2020 06:49:40 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:51038 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726388AbgDEKtZ (ORCPT ); Sun, 5 Apr 2020 06:49:25 -0400 Received: by mail-wm1-f68.google.com with SMTP id x25so606099wmc.0; Sun, 05 Apr 2020 03:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IaJsFC4mWmdWbyKkdQgRslfWupkpd121xwwCWiCDFic=; b=Nv0iaaZun8PkGFqjzFCOX/XXu0sTlYO7LusRed2bei95p+rs4hZ7XH2/iv2jGKx862 oN9+2KsfkmGeiQfJDqT58NKoObV1zqDiDqgJygMerNwfmNjCl85s+ItAryXJsZDJOhVU ylJ94U7G6a2oOSmrTYv3D6bN7o5DNh8+8++aG+PXhZ26+PVQzmimqgwKJLEx2OZm1B5T 2++Zq9V0Ui1hIHtTjFEck8Jn69LwAMDYikkRyvEJqip9WjViVZ/MFzqeMG3xsu9nqywq 104rznEUw6/mMPPP9kgjczn2DnWMfQDKfHjGzmwcoL/fR2O/Zay7Xdskguof+j5YnPr2 6xEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IaJsFC4mWmdWbyKkdQgRslfWupkpd121xwwCWiCDFic=; b=dSDOlPhLSVYce8gzq2HkoSoG/BSvhRu08X+LbtnCYxiZk712F397C/nWmHJlOnzxC+ bDvUxIdk77VDVbylY6dcNLJX3JtZJ1qf2mEaBFhuZUQllo43jZaUqtk+TFsiTiBULzhJ CzIzOxI5buxtaccQldMu4KbX/aD8c5CtIVbLlqXgzks8vDXyt8h2Md6+2eDpXimsu7JR n+Vh+n6RkbL7C8Sls6H0LBYgS3xjVcRsRsgkJpWJp7iU0yTK31GNgUd21aaVrPFbGJVA djAZTSRO6ZbqoklpB2U0t+Sl6/Y8PzDfQGCr0n/6qODDyClp5ke6XfFvWzXNyCduq9OX aFCA== X-Gm-Message-State: AGi0PubQ/1XsxZ233l9kKirLOcw12d5QhGmMpgjdUbvMDU0Fba7VcMlJ zzP4X8F6mptIjAaiBZL9nNE= X-Received: by 2002:a7b:cde8:: with SMTP id p8mr17359670wmj.87.1586083763912; Sun, 05 Apr 2020 03:49:23 -0700 (PDT) Received: from localhost.localdomain (91-167-199-67.subs.proxad.net. [91.167.199.67]) by smtp.gmail.com with ESMTPSA id u13sm21606411wru.88.2020.04.05.03.49.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Apr 2020 03:49:23 -0700 (PDT) From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= To: Maxime Ripard , Chen-Yu Tsai , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi , =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= Subject: [PATCH 7/7] arm64: dts: allwinner: h6: Enable CPU and GPU opp tables for Beelink GS1 Date: Sun, 5 Apr 2020 12:49:13 +0200 Message-Id: <20200405104913.22806-8-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200405104913.22806-1-peron.clem@gmail.com> References: <20200405104913.22806-1-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable CPU and GPU opp tables for Beelink GS1. This needs also to change the CPU regulator min/max voltage to fit the OPP table. Signed-off-by: Clément Péron --- .../arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts index df6d872c34e2..8e65d56a7c85 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts @@ -4,6 +4,8 @@ /dts-v1/; #include "sun50i-h6.dtsi" +#include "sun50i-h6-cpu-opp.dtsi" +#include "sun50i-h6-gpu-opp.dtsi" #include @@ -70,6 +72,10 @@ }; }; +&cpu0 { + cpu-supply = <®_dcdca>; +}; + &de { status = "okay"; }; @@ -226,8 +232,8 @@ reg_dcdca: dcdca { regulator-always-on; - regulator-min-microvolt = <810000>; - regulator-max-microvolt = <1080000>; + regulator-min-microvolt = <820000>; + regulator-max-microvolt = <1160000>; regulator-name = "vdd-cpu"; }; -- 2.20.1