Received: by 10.223.185.116 with SMTP id b49csp6171392wrg; Wed, 28 Feb 2018 05:14:15 -0800 (PST) X-Google-Smtp-Source: AH8x227s0t6UkYQIgATy4QtspdBBS7tfylWVeMWcYrNpmdQe4UW1cPzRYLwhhZGYgsc3OEfdn/xY X-Received: by 2002:a17:902:be02:: with SMTP id r2-v6mr18222217pls.234.1519823655409; Wed, 28 Feb 2018 05:14:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519823655; cv=none; d=google.com; s=arc-20160816; b=B7Gis5A8SGaJUdY+qhjGAj1096Y7lEfwcunxQt1zNSf4J2tKRO+PamKFGiEJLEX85E Oh/n8LpZQvZFNjeGQ6d57WO4yAhamxtso8Wp0ggoB9lNMVdSF+5l9ECcdJA+RLEHhbgr 5c7PAtk5JSQARJFKgLzZvMFSYzQS2HtbbDy3id96x2cFsw6ocs9dUbPj7j4qIbKSbmyn rYOLO1JNDWnvvf5WSVcfHoO7cBbvpQxQhFZNyDUHsjjllhi8D8t8XRLotutrEaghpO6D rghvabPavhqCCDnNpQglzpBLbLXsKzRSW1neIbEQp5SzjFtRD1MPbfH0G29xdIqRvdXU PJTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=XwFro23yvW1yMTJAYAHdYHox50+7vMfvJXMK6HrqrzI=; b=VezAlRq9G7JAW6cWCm4jaNOkFyZC5jLto5LUdM9bIo1HXOCjtzbs+v06YxFFfIOLPf Erwb5zDFT7Mnsr9myXixQi8Ugm0saWRZl9bLtdPC4M2s6XN8ReHNhdBfjw90iEFZjBM3 HmS5jMOZ5qlSWzwc300C0yup6HT8w4ftiArOhuhQL3QnqfFaocQsuvuTcOC1iWKGnGA9 7R3N5xqJ8aDl6oZA7GRSvgFbBV8lQwQKHx6F0KTdqc3Tiv3mx6xNQ6XFkFslKTonx2UT azPKLZ8aCmAQ0/MDmyXA7eVdbGk9nG6ivlqbZzrHaMYjqv8Nbl9/hnf9IB/2dLDGI9JJ AL1w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a69-v6si1289513pli.31.2018.02.28.05.14.00; Wed, 28 Feb 2018 05:14:15 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752688AbeB1NLw (ORCPT + 99 others); Wed, 28 Feb 2018 08:11:52 -0500 Received: from mail.bootlin.com ([62.4.15.54]:60471 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752517AbeB1NLu (ORCPT ); Wed, 28 Feb 2018 08:11:50 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 09CEC207C1; Wed, 28 Feb 2018 14:11:48 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost.localdomain (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id ADD752036E; Wed, 28 Feb 2018 14:11:47 +0100 (CET) From: Quentin Schulz To: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, maxime.ripard@bootlin.com, wens@csie.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, thomas.petazzoni@bootlin.com, mylene.josserand@bootlin.com, Quentin Schulz Subject: [PATCH 0/3] add CPUs OPPs to sun8i a83t Date: Wed, 28 Feb 2018 14:11:19 +0100 Message-Id: X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, The Allwinner A83T is an octacore A7 divided in two clusters of 4 A7, each cluster having its own regulator and clock. Let's add the OPPs for each cluster so that we can use cpufreq on this SoC. The operating points were found in Allwinner BSP and fex files and have been tested on a TBS A711 with cpuburn and cpufreq-ljt-stress-test. Note that there are a few OPPs that are missing: 1608000000Hz with 920000mV 1800000000Hz with 1000000mV 2016000000Hz with 1080000mV These OPPs are pretty unstable but it might be due to the SoC quickly overheating (till the board completely shuts down). It seems[1] impossible to reach those frequencies with none or passive cooling, so better leave them out by default. It's still possible to add those OPPs on a per-board basis though. [1] http://linux-sunxi.org/User:Tkaiser#First_steps_with_Banana_Pi_M3 Thanks, Quentin Quentin Schulz (3): ARM: dts: sun8i: a83t: add cpu0 and cpu100 labels ARM: dts: sun8i: a711: set regulator for each cluster of CPUs ARM: dts: sun8i: a83t: add stable OPP tables and CPUfreq arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 9 ++- arch/arm/boot/dts/sun8i-a83t.dtsi | 122 ++++++++++++++++++++++- 2 files changed, 129 insertions(+), 2 deletions(-) base-commit: 827ad482fda17d0de5df5116fda827cd3671e62e -- git-series 0.9.1