Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2317707ybb; Sun, 5 Apr 2020 04:32:34 -0700 (PDT) X-Google-Smtp-Source: APiQypLjMoZke9eGTDfykWMdu9zUaRPU56dQqbiZ0BXz+phLWi9jCmzSYVRJoO/HzVnMf/82qnPf X-Received: by 2002:a4a:ba0b:: with SMTP id b11mr13681839oop.92.1586086354518; Sun, 05 Apr 2020 04:32:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586086354; cv=none; d=google.com; s=arc-20160816; b=HJXqgyNphamWRW+bkF6/ew3IFS0n69hP1Tp8htpz9z1hQ37k6Fp6DwOUMKBRh742Qp nLM9VX/ji9+QX6PNekIpVaihHLV4k4enoSbzYA7TQFIiFWKUlMHaarXdwLsNzMp181Dg 1np4B5YdIAZRBbeHwJ5Qt9ClJnsM6a0iXXhhyI+YBYXYf+o9ZHzjmxjRJhrtMkj+pmZ0 mT7RqFSPPkLdsMAjLx9WWWwYoNtUZzSVpYXyOEIO5mbrpMKFLJ2v0jdgBmU7jfBucmak 8X6J+3zkS3ss3QFOzMwdeRmRWh4wRdj6vG8m2PERr/2tjFe2uM3fCySXUG9LgYQIBvSG 9j5A== 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:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=A205TGk3OVkHC+mS0u/ipJFJluaDWv81eWznDKfmHN0=; b=C/Oyb2s4qMNHt9/Ta2QhaKfBQkRnnXpB7M0tIWEPlPqLWq2y+F5bSiZvwtCjWEVeSU 5vZ12sUpOLlbzG3cxRzXieGh6joGecDxVWE/B0Ajod0mdnrzDtxRTfEDRHSC66mnv7sP I3BJcgkSeqkeyTaRuVHtawQJF/QeONDHWuABQuP/iUecmqixo2ID4PEpfEpS73c4Fjih 57i22vJ7BFljNoFYCzMJmJNO54Bb6Mfk3I85mlknYvix1gmjTBA6GPkm9HE5PGNIUfN3 5oz7hZto+GaCYlrrG2+7T/jVllIM6U+lHZxWugAKvgzp+Wvbll2SRyeMxu/hXQu/Kim9 vwjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=nlhymB+7; 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=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x30si7340584otj.27.2020.04.05.04.32.21; Sun, 05 Apr 2020 04:32:34 -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=@megous.com header.s=mail header.b=nlhymB+7; 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=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726555AbgDELbs (ORCPT + 99 others); Sun, 5 Apr 2020 07:31:48 -0400 Received: from vps.xff.cz ([195.181.215.36]:37570 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbgDELbs (ORCPT ); Sun, 5 Apr 2020 07:31:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1586086306; bh=dke9xyVpu/4Upjr6OYucKLOKfLnfaYRXQxjsbKJJ/Y0=; h=Date:From:To:Cc:Subject:References:X-My-GPG-KeyId:From; b=nlhymB+726DMdDbsKypIt3tV2pdi3zOxHtzdqT9K3s3gHvWHTueLD8bJWy8AURh9x bgCX4z+Mjd8xB5zNKPK54rPO5DNS+PDikjItt0GMU+ABuEQSS9f1dS4a7Bu1v9wRbx uEOsHaVh1uEOpy2CuPgD/aEiZNsekaZRhim3F+gk= Date: Sun, 5 Apr 2020 13:31:46 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Maxime Ripard , Chen-Yu Tsai , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi Subject: Re: [linux-sunxi] [PATCH 7/7] arm64: dts: allwinner: h6: Enable CPU and GPU opp tables for Beelink GS1 Message-ID: <20200405113146.be2etxxjdkgtrmac@core.my.home> Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= , Maxime Ripard , Chen-Yu Tsai , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi References: <20200405104913.22806-1-peron.clem@gmail.com> <20200405104913.22806-8-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200405104913.22806-8-peron.clem@gmail.com> X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Sun, Apr 05, 2020 at 12:49:13PM +0200, Cl?ment P?ron wrote: > 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>; The H6 datasheet says: - VDD-CPU Power Supply for CPU 0.81 - 1.08 V (recommended) - VDD-CPU Power Supply for CPU -0.30 - 1.30 V (abs max) So I guess there's no need to increase the lower limit, because it matches the datasheet already. regards, o. > regulator-name = "vdd-cpu"; > }; > > -- > 2.20.1 > > -- > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe@googlegroups.com. > To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20200405104913.22806-8-peron.clem%40gmail.com.