From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4BD4EC433DF for ; Thu, 2 Jul 2020 15:46:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 1CBEE2088E for ; Thu, 2 Jul 2020 15:46:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="xhN3aDZU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1CBEE2088E 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=7lWAkqII/jM3PEAlNgH3wxEhDbjt+Szskhtpq1sINr0=; b=xhN3aDZUJnQiwbRQmQGV0AfG3k 03bJNQbkFvGMPsjP7/1zAU0gKlOZpc4dy42dTn4ibzCHM6/tMMT7Ep1Of9KZxV2eUGe8+9G65aa8/ rzwTGTybxC8Xb4FhfV8tNzS6xd7ePMuir+qmkQ24qzvgqnnQ/Em/SiLNAgcgsfNUjful1mfNIUYTi chGiReoBP7ZLBXvJLez8+RoYWb41cA3OL9aSwJttBbpRlLV/aJDLDSsFLmeFbyQPpscoRF5uTvxBl cDSUz46+IXi5jqlWsY04i+EKA5GySuyZflwOWq2fP6pUsxnpLlfHUq6Hn7+Z2vZetkwzQ9ht8OzyW DWIGhwng==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jr1Ot-0000s5-Cy; Thu, 02 Jul 2020 15:45:23 +0000 Received: from muru.com ([72.249.23.125]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jr1Op-0000qe-JL for linux-arm-kernel@lists.infradead.org; Thu, 02 Jul 2020 15:45:20 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 70BD18062; Thu, 2 Jul 2020 15:46:11 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Subject: [PATCHv4 0/6] Add initial genpd support for omap PRM driver Date: Thu, 2 Jul 2020 08:45:07 -0700 Message-Id: <20200702154513.31859-1-tony@atomide.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200702_114519_701670_B8281C63 X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. 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 , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, Here's v4 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 v3: - Drop the unnecessary __maybe_unused as that's no longer needed Changes since v2: - Update binding to clarify a single power domain provider - Unwrap generic domain configrations for __maybe_unused 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 | 274 +++++++++++++++++- 15 files changed, 298 insertions(+), 131 deletions(-) -- 2.27.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel