From patchwork Wed May 20 21:13:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 11561599 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 4C099739 for ; Wed, 20 May 2020 21:14:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 331B920829 for ; Wed, 20 May 2020 21:14:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728364AbgETVNo (ORCPT ); Wed, 20 May 2020 17:13:44 -0400 Received: from muru.com ([72.249.23.125]:55296 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727947AbgETVNo (ORCPT ); Wed, 20 May 2020 17:13:44 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id BE94B8108; Wed, 20 May 2020 21:14:32 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: "Andrew F . Davis" , Santosh Shilimkar , Suman Anna , Tero Kristo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rob Herring , devicetree@vger.kernel.org Subject: [PATCHv2 0/6] Add initial genpd support for omap PRM driver Date: Wed, 20 May 2020 14:13:28 -0700 Message-Id: <20200520211334.61814-1-tony@atomide.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi all, Heris v2 set of patches to add genpd support to the PRM (Power and Reset Module) driver. Initially we just add one hardware accelerator power domain for sgx, and one interconnect instance for l4_abe. The rest of the SoC specific domain data is probably best added one SoC at a time based on generated data. Regards, Tony Changes since v1: - Dropped clocks from the binding and prm driver as there's no need for them as pointed out by Tero - Add checking for domain transition bit in pwrstst register as pointed out by Tero - Add omap_prm_domain_show_state() for CONFIG_DEBUG Tony Lindgren (6): dt-bindings: omap: Update PRM binding for genpd soc: ti: omap-prm: Add basic power domain support soc: ti: omap-prm: Configure sgx power domain for am3 and am4 soc: ti: omap-prm: Configure omap4 and 5 l4_abe power domain ARM: dts: Configure am3 and am4 sgx for genpd and drop platform data ARM: dts: Configure omap4 and 5 l4_abe for genpd and drop platform data .../devicetree/bindings/arm/omap/prm-inst.txt | 2 + arch/arm/boot/dts/am33xx.dtsi | 2 + arch/arm/boot/dts/am4372.dtsi | 2 + arch/arm/boot/dts/omap4-l4-abe.dtsi | 6 +- arch/arm/boot/dts/omap4.dtsi | 6 + arch/arm/boot/dts/omap5-l4-abe.dtsi | 6 +- arch/arm/boot/dts/omap5.dtsi | 6 + arch/arm/mach-omap2/Kconfig | 1 + .../omap_hwmod_33xx_43xx_interconnect_data.c | 16 - .../omap_hwmod_33xx_43xx_ipblock_data.c | 40 --- arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 2 - arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 2 - arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 33 -- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 31 -- drivers/soc/ti/omap_prm.c | 281 +++++++++++++++++- 15 files changed, 305 insertions(+), 131 deletions(-)