Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp139875ybi; Tue, 2 Jul 2019 17:50:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRnk88RYDVIHIWcnIhxb8m4DTuNcHzRwJwR+973xNf6BDkU/LXaMgoEssF+U2bnH7+7deV X-Received: by 2002:a17:90b:8cd:: with SMTP id ds13mr8322344pjb.141.1562115025626; Tue, 02 Jul 2019 17:50:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562115025; cv=none; d=google.com; s=arc-20160816; b=rHLXCx4FF/yEzUQYvKOgBDgk91GwLSCKHQleJxUnAY1KVlWAFIlfXlHaw5ZI/pSC24 J6yIwrWPLNcH4QEr3y43ZlSY4wve9I1iLLekAR4dyAROC4/emPcMUaJxYNYd8BcWZVi/ HL6tDT+4oKuqG24ZtrJrddzH9BVchlAoMTTsV2umEtf6E1mV7C2qBUUB/wCJcW7w4W0W YJnDoSnPUPoqTY2iP5P5HiW8AsNwgDqBEFtlmCVyJvJqBiX+l6F8F0APV097ut+P2mrA P4v0I8kusv6SQpH9VCOvc+BYaEFM7YOmY7nR/Px/+FKAEyJb0+fMNyyQMM03oSU3g0RW aEzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PmEB/x0Lo8kjE6XO29I6yQcxMJdkJpBobZcgW1H9skM=; b=wNK2tVhUEANovxHY6NPgzaMX7i1y5BI5R2KgnvOnovp2Mufb0NfDuqKHcj9DZ+pBRv 8Q2pk80UA6e+lA2UIPPqZpI1/udLN+CHZFtDs46Fnch4y6pDm07zzfAQKYqz2eDUphx2 eptRQW+zmF7psl3mZE11/g4lwwP2q1idD/9wLLkhE5jAoV5/DphyO0edkaYQ/TqELh8r VoxAxIJIHCZoHRQMEOOm60jDD2k0BC0zWvyaD3A965prr9F4MGvqqhq6Rl+x7FBSGP7s +WxSFEqUaiQCKwqKs+yreAfihIoIA9ou65i9dpVcmBLqO5uDMtaMQABiVy52Mb8WnMUi 1QFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=dQE6ToJh; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i185si353784pge.505.2019.07.02.17.50.10; Tue, 02 Jul 2019 17:50:25 -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=@googlemail.com header.s=20161025 header.b=dQE6ToJh; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727370AbfGCAtK (ORCPT + 99 others); Tue, 2 Jul 2019 20:49:10 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:40410 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727090AbfGCAtJ (ORCPT ); Tue, 2 Jul 2019 20:49:09 -0400 Received: by mail-oi1-f196.google.com with SMTP id w196so578786oie.7; Tue, 02 Jul 2019 17:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PmEB/x0Lo8kjE6XO29I6yQcxMJdkJpBobZcgW1H9skM=; b=dQE6ToJhgtp1wCfPTOfOeyy3Wlzl33q0h9WcnIJA48XtbfKqzHONGYC3W61NGQfNim wJaXkOCEQLLrI2TSIZQwvLCc1Rqhy7tkKbFJItgpBZmmCqqY0TzvUJ2rx0vWwv7zrFmZ kZ5OII7eqEx3/ovCXbefJGBE8F7LYBJp3Eh1m81WkMA/alEl+TNmkxdUWAI5Udj6A0C+ vsbKbIDFDrMiyP7vv46AElwnFPDzMcamevSZp3I5khh3FwrFUuoHiTauuxpXCu4bPH8a 8Vi37k2YDn8vy9Meo0Fcg75al7N0hdAtajz3wPYu473GTV9bU6aDJ8XppI7nkwKlrfGl vp9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PmEB/x0Lo8kjE6XO29I6yQcxMJdkJpBobZcgW1H9skM=; b=Nkge5JFPMbBhxkKLnomdjb0OuYJasblpM6mVT3pkNPasJZwukEVqumayLJE+9MKRlm IWLgGQloBjmF5O55JR8BH+mxSXvNiV+rz3tKOI3eQ2SyJ31Z2O9trS4YwB9IUiD/DAVM m8uPLVBb7du/jTeBy3mfc8Ifq5Pg1Q+Fcz3O7VTYoE8GRTufM00muyYnkGrhPChek8RH yL5bVy/wpaq/yMwAQn/3ohwh55iikhcM7l6MUI7JF0FMujwkkrhI3oUXVVaj2DUst5lp rdi5Vq2RUdMJ4R70UVQCp6LfdgRsK3YrPG+jKDiSBzWtNPIg3KSg3PfmHRYDLs4iC67t Eo0A== X-Gm-Message-State: APjAAAW9bSRK9yobiTm9ANnrAmvLtSpLv7K4bEpIJ4eMaU4kY2TtH0CO yLsPsALcKtgTJXy7Pg7IyxP3wesklckhrsu626LwR8jD X-Received: by 2002:aca:5c55:: with SMTP id q82mr1514748oib.15.1562111016670; Tue, 02 Jul 2019 16:43:36 -0700 (PDT) MIME-Version: 1.0 References: <20190701091258.3870-1-narmstrong@baylibre.com> <20190701091258.3870-13-narmstrong@baylibre.com> In-Reply-To: <20190701091258.3870-13-narmstrong@baylibre.com> From: Martin Blumenstingl Date: Wed, 3 Jul 2019 01:43:25 +0200 Message-ID: Subject: Re: [RFC/RFT v3 12/14] arm64: dts: meson-g12a: enable DVFS on G12A boards To: Neil Armstrong Cc: jbrunet@baylibre.com, khilman@baylibre.com, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 1, 2019 at 11:13 AM Neil Armstrong wrote: > > Enable DVFS for the U200, SEI520 and X96-Max Amlogic G12A based board > by setting the clock, OPP and supply for each CPU cores. > > The CPU cluster power supply can achieve 0.73V to 1.01V using a PWM > output clocked at 800KHz with an inverse duty-cycle. > > DVFS has been tested by running the arm64 cpuburn at [1] and cycling > between all the possible cpufreq translations and checking the final > frequency using the clock-measurer, script at [2]. > > [1] https://github.com/ssvb/cpuburn-arm/blob/master/cpuburn-a53.S > [2] https://gist.github.com/superna9999/d4de964dbc0f84b7d527e1df2ddea25f > > Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl