From patchwork Wed Sep 4 08:53:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 11129695 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3DE011920 for ; Wed, 4 Sep 2019 08:54:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1EC64233A1 for ; Wed, 4 Sep 2019 08:54:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=goldelico.com header.i=@goldelico.com header.b="LVrVTUo5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726010AbfIDIyA (ORCPT ); Wed, 4 Sep 2019 04:54:00 -0400 Received: from mo4-p02-ob.smtp.rzone.de ([81.169.146.169]:8038 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728961AbfIDIyA (ORCPT ); Wed, 4 Sep 2019 04:54:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1567587237; s=strato-dkim-0002; d=goldelico.com; h=Message-Id:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=O0w6xbVZJhdMgjCbULObFF/xow1faYv9sl2BHy5eQp8=; b=LVrVTUo5vUM9uMtZiJLCiCsyHaqM0TDvQAAn3HxOxRUt6GUfHZ6Mb7BZpDk7jHvIhJ 87WUKG7mpWYlDqShq37wYHPMu/2f57YxnjjiDtMRSQIU6eyFuo0xmwwqMo1cfbO9btzV jqfLx8VuaViiI1MKc0Hd4UjSwnzOnSit/XgPP6oUy3IM1QaV80AHMphPw6/HBjw/G86m Q8L943IBQ0Ziqf0cXMsndtfigcneueDYfRyPWZst1Ye+GEbxMsSti32xMHSYzCbI/B1Y +Caj8u7yhlzKJi93BwnGpudSHEaNFykHi35beRbUL5HFHhURebCavJRPsw6qM+CO5lef 555w== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1mfYzBGHXH6GK4zSwk=" X-RZG-CLASS-ID: mo00 Received: from iMac.fritz.box by smtp.strato.de (RZmta 44.27.0 DYNA|AUTH) with ESMTPSA id u036f9v848rfcLb (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Wed, 4 Sep 2019 10:53:41 +0200 (CEST) From: "H. Nikolaus Schaller" To: =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring , Adam Ford , =?utf-8?q?Andr=C3=A9_Roth?= , Mark Rutland , "Rafael J. Wysocki" , Viresh Kumar Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com, "H. Nikolaus Schaller" Subject: [RFC v2 0/3] OMAP3: convert opp-v1 to opp-v2 and read speed binned / 720MHz grade bits Date: Wed, 4 Sep 2019 10:53:38 +0200 Message-Id: X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Changes V2: * merge separate patch to remove opp-v1 table from n950-n9 into the general omap3xxx.dtsi patch * add legacy compatibility to ti,omap3430 and ti,omap3630 for the ti-cpufreq driver * make driver and omap3xxx.dtsi patches pass checkpatch * add bulk patch to explicitly define compatibility to ti,omap3430 and ti,omap36xx in addition to ti,omap3 of all in-tree boards where it was missing RFC V1 2019-09-02 12:55:55: This patch set converts the opp tables to opp-v2 format and extends the ti-cpufreq to support omap3. It adds 720 MHz (omap34xx) and 1 GHz (omap36xx) OPPs but tells the ti-cpufreq driver to disable them if the speed binned / 720MHz grade eFuse bits indicate that the chip is not rated for that speed. It has been tested (for chip variant detection, not reliability of the high speed OPPs) on: * BeagleBoard C2 (omap3430 600MHz) * BeagleBoard XM B (dm3730 800MHz) * GTA04A4 (dm3730 800MHz) * GTA04A5 (dm3730 1GHz) H. Nikolaus Schaller (3): cpufreq: ti-cpufreq: add support for omap34xx and omap36xx ARM: dts: replace opp-v1 tables by opp-v2 for omap34xx and omap36xx ARM: dts: omap3: bulk convert compatible to be explicitly ti,omap3430 or ti,omap36xx arch/arm/boot/dts/am3517_mt_ventoux.dts | 2 +- .../boot/dts/logicpd-som-lv-35xx-devkit.dts | 2 +- .../boot/dts/logicpd-som-lv-37xx-devkit.dts | 2 +- .../boot/dts/logicpd-torpedo-35xx-devkit.dts | 2 +- .../boot/dts/logicpd-torpedo-37xx-devkit.dts | 2 +- arch/arm/boot/dts/omap3-beagle.dts | 2 +- arch/arm/boot/dts/omap3-cm-t3530.dts | 2 +- arch/arm/boot/dts/omap3-devkit8000-lcd43.dts | 2 +- arch/arm/boot/dts/omap3-devkit8000-lcd70.dts | 2 +- arch/arm/boot/dts/omap3-devkit8000.dts | 2 +- arch/arm/boot/dts/omap3-evm-37xx.dts | 2 +- arch/arm/boot/dts/omap3-ha-lcd.dts | 2 +- arch/arm/boot/dts/omap3-ha.dts | 2 +- arch/arm/boot/dts/omap3-ldp.dts | 2 +- arch/arm/boot/dts/omap3-n950-n9.dtsi | 7 -- arch/arm/boot/dts/omap3-sbc-t3530.dts | 2 +- arch/arm/boot/dts/omap3-thunder.dts | 2 +- arch/arm/boot/dts/omap3430-sdp.dts | 2 +- arch/arm/boot/dts/omap34xx.dtsi | 65 ++++++++++++-- arch/arm/boot/dts/omap36xx.dtsi | 53 +++++++++-- drivers/cpufreq/cpufreq-dt-platdev.c | 2 +- drivers/cpufreq/ti-cpufreq.c | 87 ++++++++++++++++++- 22 files changed, 204 insertions(+), 44 deletions(-)