From patchwork Tue May 12 20:38:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 11543899 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 A85BE139A for ; Tue, 12 May 2020 20:39:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 86BEB20784 for ; Tue, 12 May 2020 20:39:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jiaKIJQz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 86BEB20784 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jzgZcQI/GRALRGp4K1NUuKq8McDGiTk9GeNNNMUmZeQ=; b=jiaKIJQzCLmqhs nfaAvJujoIB1Qh2qCFv9y9fqBaj8JonWHodjW8HglFJGvbk+KXNDvTyEIepIuvtlBs6Axv9gKE5gJ VzmuDUC8o7INjxzBXM+7r7uVqGi7TnjHHfVJlpG2S+nGzn6PDnJRbbhH3GrBr2aw7pY4lFKQaPhx5 dbMjjI31WBSX+t9gqSHDza36emTj5Cgtnt333JW53zvydPllTo97JYx+VVIu/2+cWYxGJw1C3IhOd UtNoIsF3AOcos0qp+UCKr0/cOqGW12+HtqxAokw4gQbByCFJyV3ciW7kEaI0hXTK12iq2yKMTs+d0 07Q5Fng5lMj4bHW9igsA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYbgA-00077V-HX; Tue, 12 May 2020 20:39:06 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYbg6-00076X-Vx for linux-arm-kernel@lists.infradead.org; Tue, 12 May 2020 20:39:04 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id F3AD68047; Tue, 12 May 2020 20:39:47 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Subject: [PATCH 0/6] Add initial genpd support for omap PRM driver Date: Tue, 12 May 2020 13:38:46 -0700 Message-Id: <20200512203852.29499-1-tony@atomide.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200512_133903_068199_85F2F3AA X-CRM114-Status: UNSURE ( 8.86 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [72.249.23.125 listed in list.dnswl.org] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, "Andrew F . Davis" , Tero Kristo , Santosh Shilimkar , Suman Anna , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi all, Here are some changes 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 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 | 4 + arch/arm/boot/dts/am33xx.dtsi | 2 + arch/arm/boot/dts/am4372.dtsi | 2 + arch/arm/boot/dts/omap4-l4-abe.dtsi | 7 +- arch/arm/boot/dts/omap4.dtsi | 6 + arch/arm/boot/dts/omap5-l4-abe.dtsi | 7 +- 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 | 301 +++++++++++++++++- 15 files changed, 329 insertions(+), 131 deletions(-)