From patchwork Tue Oct 10 17:55:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Brattlof X-Patchwork-Id: 13415839 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D622CD8CAC for ; Tue, 10 Oct 2023 17:55:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234128AbjJJRzf (ORCPT ); Tue, 10 Oct 2023 13:55:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234135AbjJJRze (ORCPT ); Tue, 10 Oct 2023 13:55:34 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F35FBC4; Tue, 10 Oct 2023 10:55:31 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39AHtRjc118937; Tue, 10 Oct 2023 12:55:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696960527; bh=fww2WBA0WYCQZxjeYF1kKySLXKrrRNFd6Q4wyHa8v6w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xGi/E810GrNr8q4GZTHRk5QFCJiitStQqx91WAkRBffir7wOyqcPb9a240HxNHC5D rFay8NioS0F78LRg8zR3kd5ubTz0WY/a4XCcwR5tiRyTE+PDdRPOYVge2t/zHXVslz rc5UiuQJz7IcDcSdkwBChqrQr2fTgGWTm3jXsNT0= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39AHtRSM097595 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 10 Oct 2023 12:55:27 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 10 Oct 2023 12:55:26 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 10 Oct 2023 12:55:26 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39AHtQDR035433; Tue, 10 Oct 2023 12:55:26 -0500 From: Bryan Brattlof To: "Rafael J. Wysocki" , Viresh Kumar CC: Vibhore Vardhan , Dhruva Gole , ARM Power Management , Linux Kernel Mailing List , Bryan Brattlof Subject: [PATCH 1/2] cpufreq: dt-platdev: add am62p5 to blocklist Date: Tue, 10 Oct 2023 12:55:26 -0500 Message-ID: <20231010175524.558577-5-bb@ti.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231010175524.558577-4-bb@ti.com> References: <20231010175524.558577-4-bb@ti.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=831; i=bb@ti.com; h=from:subject; bh=090NOy0/xtCeKibfJjv+Of8moUo2GTi6sbjdGFt1oN8=; b=owNCWmg5MUFZJlNZi/K8iQAAb3////frZ797r+alv/1PX7r3/zN6/31L7vc7/f/rnbvSuN+wA RsssdANDTRoBkaA0DQBiMQ0ADQBiaaAA0ZAaGgAPUaAGjTRoA0NMNT0JozRND1BkmQZADCD1DRk DJpoANDRoGmQDTQDQaNBkAaNqAHqMg0MgaGmgGR6mhkDRpoGhiR6mQwjQA9JoNDQNNAGQaA9RoB oAHqBoPUANGjQ0NAAAaAAGgNNGgyaNonqBBGys+VJjBAGFZazM6iXAP+74PBlscYUUMhmXgIHPe bV/mTQDRks9AO4ksMfQbTDUSWF7CuCcBTYrwQuX1NOzKmgotqVkPlwpAxgE7P+hmCGwz70AT99d 3Kmw64SYx+kNLvN0KtHzX0ZdbmoisUQQHE4gAs1atSMgVzWqSBVEuJGo2+CN2FSVztIuw6vcka7 tTBpMvBKF7vYCVEmWnr7q+aUk/CWDqRJMbysBdDpSs1qIRcebhGi6QWva8UvcMLZq0ShAnxTFF1 TOMdZg996gEeYKjReKuWp37UTMsH3Vzdepc5nJkGRHOaldE0ZUAnREHkftMt/nVvoF0LtUBI37G QTUPp/fxsG2uBoDMAMO89TY7GcBYHpdgC/NQ2L1KqnWIKA/g/84W1GfMoCEcKPULcohzTCNLHga uJAL3QtR1YqzFFOQc/4u5IpwoSEX5XkSA== X-Developer-Key: i=bb@ti.com; a=openpgp; fpr=D3D177E40A38DF4D1853FEEF41B90D5D71D56CE0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The am62p5 family of SoCs is a variation of the am625 and am62a7 SoC family. Add this device along with the devices which will use the operating-points-v2 property. Signed-off-by: Bryan Brattlof --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index 2016d47889c07..0b3776f558dbd 100644 --- a/drivers/cpufreq/cpufreq-dt-platdev.c +++ b/drivers/cpufreq/cpufreq-dt-platdev.c @@ -178,6 +178,7 @@ static const struct of_device_id blocklist[] __initconst = { { .compatible = "ti,omap3", }, { .compatible = "ti,am625", }, { .compatible = "ti,am62a7", }, + { .compatible = "ti,am62p5", }, { .compatible = "qcom,ipq8064", }, { .compatible = "qcom,apq8064", }, From patchwork Tue Oct 10 17:55:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Brattlof X-Patchwork-Id: 13415841 X-Patchwork-Delegate: viresh.linux@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02A22CD8CB0 for ; Tue, 10 Oct 2023 17:55:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234041AbjJJRzi (ORCPT ); Tue, 10 Oct 2023 13:55:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234090AbjJJRze (ORCPT ); Tue, 10 Oct 2023 13:55:34 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 553D6D3; Tue, 10 Oct 2023 10:55:33 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 39AHtRNv018200; Tue, 10 Oct 2023 12:55:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696960527; bh=Zaus7Gie6qHv+bp5Vv5G6I7IcCxb/UdUdWGr++n6yKg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=rWICb+/kX1SzQJzPiU0/yqnZxYL3cul5mhcf0VwKLxJ6+nhfg+sjudpIvMLek8/pP fK8d2XRiNZMusRluVDU3QTx5HJ3HK7oHtAMssnkBhMDthxrH7aYwdsynU3PF15/Lg2 ayW8MIx46XHPpkvTpciXtDLcAyfOdZanbcULtTDY= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 39AHtRSN097595 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 10 Oct 2023 12:55:27 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 10 Oct 2023 12:55:26 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 10 Oct 2023 12:55:26 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 39AHtQ9R085859; Tue, 10 Oct 2023 12:55:26 -0500 From: Bryan Brattlof To: "Rafael J. Wysocki" , Viresh Kumar CC: Vibhore Vardhan , Dhruva Gole , ARM Power Management , Linux Kernel Mailing List , Bryan Brattlof Subject: [PATCH 2/2] cpufreq: ti-cpufreq: Add opp support for am62p5 SoCs Date: Tue, 10 Oct 2023 12:55:27 -0500 Message-ID: <20231010175524.558577-6-bb@ti.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231010175524.558577-4-bb@ti.com> References: <20231010175524.558577-4-bb@ti.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=962; i=bb@ti.com; h=from:subject; bh=oiw5jmvhIpjWbcu11ZW56kGgRNZ9ita9AYwhDYguzd0=; b=owNCWmg5MUFZJlNZm81aOQAAaX///vfbq3/9Kv3Pr+pzm7P++/t7z+Sk/e/7/r2snN1n928wA RmYjtQAA0BoADQA0AAaABoNAABoAA0GnqBkAeo0aeoHqDQGJpoGh6ajZpqiA0AeoDTQAAGRoaMJ p6jQ00yAB6mgyAyBpo000NBkPUGTTRtIeo00DQGQBpgg9QyTNTIxMmgZNDRk00yAaZBoZA0DQ0M gyAD0TEA0AYJ6mg0GgAyA0DQNAGmjAglhtUCNFq2wsgPKviU+G2mDFdyCRzDDzck0FDXsaTAt/h 0BnV/GKH7NXtWcKcbuxFYYvkMH5fz4Mnl1qShokPhcvArtWAEG6gBTNzAl1DM95uZ2ZElXiOkHf hgQg1duCXqX4ELluHEZoAeSAJuCmfQw82Z8yEKEUPis6+Q0e9WCFho7xGeuWzijX7ZQRnf6dbAD soiiQ5261+KognDRMAfLCc6lrpDjQ/ad/wC7sWSUmXbDXaB5IXO4xy+2AAsl5lxZnYJ/RVLqP4K t1YEom5oWKRtE/Sh+sUidq6Y2HV5bxYseRcpR2i9l6uBKk6l7/hYboLdsX8DYH1vKfaubBPFDK5 y2czyoH3GFmjy5YhfuICJlJvHMrWHyzCJkMr0lmUkRtwQJkpwUgO5H5haYxh6DcBtqIgDrohgVh LQvpYY//i7kinChITeatHI= X-Developer-Key: i=bb@ti.com; a=openpgp; fpr=D3D177E40A38DF4D1853FEEF41B90D5D71D56CE0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The am62p5 is a variation of the am625 and the am62a7 SoC families. Add the am62p5 to the list using the same cpufreq data as the rest of the am62x extended family. Signed-off-by: Bryan Brattlof --- drivers/cpufreq/ti-cpufreq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/ti-cpufreq.c b/drivers/cpufreq/ti-cpufreq.c index 3c37d78996607..46c41e2ca727b 100644 --- a/drivers/cpufreq/ti-cpufreq.c +++ b/drivers/cpufreq/ti-cpufreq.c @@ -338,6 +338,7 @@ static const struct of_device_id ti_cpufreq_of_match[] = { { .compatible = "ti,omap36xx", .data = &omap36xx_soc_data, }, { .compatible = "ti,am625", .data = &am625_soc_data, }, { .compatible = "ti,am62a7", .data = &am625_soc_data, }, + { .compatible = "ti,am62p5", .data = &am625_soc_data, }, /* legacy */ { .compatible = "ti,omap3430", .data = &omap34xx_soc_data, }, { .compatible = "ti,omap3630", .data = &omap36xx_soc_data, },