From patchwork Tue Dec 1 07:18: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: 1408635 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=J54coXD5; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4ClYQ90qkYz9sWB for ; Tue, 1 Dec 2020 18:19:45 +1100 (AEDT) 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=DO0a52sBfqyAYVFVF/IUg6j8c9oKPdLk1J1V8uQ08Ro=; b=J54coXD5DBp992k/BGWjSUijZJ sKBnRqfFF95PdtgmmLhjlykgYBfM0g3kbY3vHHIHbmpT/LRbpirlZVr8TlJuxov0RDCmazJWwLiGS LmPLcB9hOUkfUrFtihP2oUFPbcvFJoA54SNK4GpYdpoIzlFbCuNSYbi2bwrBVeaer6F4RP347FAUf b/SF0yJrnEAXJrzrZDmPau/KsP02nVxqiuwQ3SxvmTBTeQk6mTqIL7pX7F8nwkTfa12KorifYdtgq kIDB9LViiKNjx2GkwSAIRIQ3Sb5eQh3tnVblhUTxqwkquwxCNQ16tjoyhBAVSgizOs4w/6iTUUr9q Vjq5VqUQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjzwa-0003NI-KL; Tue, 01 Dec 2020 07:19:24 +0000 Received: from muru.com ([72.249.23.125]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjzwV-0003LQ-WF for linux-arm-kernel@lists.infradead.org; Tue, 01 Dec 2020 07:19:21 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 60AC780A9; Tue, 1 Dec 2020 07:19:21 +0000 (UTC) From: Tony Lindgren To: soc@kernel.org Subject: [GIT PULL 1/4] Driver changes for omaps for genpd support Date: Tue, 1 Dec 2020 09:18:46 +0200 Message-Id: X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201201_021920_093670_7C7D6D75 X-CRM114-Status: GOOD ( 15.96 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender 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: Ohad Ben-Cohen , Stephen Boyd , Michael Turquette , Bjorn Andersson , Tero Kristo , Tony Lindgren , arm@kernel.org, Philipp Zabel , Santosh Shilimkar , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org From: "Tony Lindgren" The following changes since commit e7ae08d398e094e1305dee823435b1f996d39106: bus: ti-sysc: Fix bogus resetdone warning on enable for cpsw (2020-10-26 10:08:53 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.11/genpd-drivers-signed for you to fetch changes up to 57df7e370d2ab83a64c07acd157acfed4169f114: remoteproc/wkup_m3: Use reset control driver if available (2020-11-16 12:57:40 +0200) ---------------------------------------------------------------- Driver changes for omaps for genpd for v5.11 merge window This series of changes allows booting am335x with genpd and device tree data without the legacy platform data. Also at least am437x can be booted with gendp with power domain and dts data. The SoC specific dts changes will be a separate pull request. We need the following driver changes merged before the dts changes can be done: - platform code needs a few improvments to probe l4_wkup first for clocks, and to bail out when there is no platform data - ti-sysc driver needs a non-urgent fix for asserting rstctrl reset only after disabling the clocks, to probe modules with no known control registers, and added quirk handling for gpmc devices - omap-prm driver needs a non-urgent fix for reset status bit, support added for pm_clk, and then we add the rest of am335x power domain data - clock driver for am335x needs to keep l3_main clock enabled with genpd for suspend and resume to work - wkup_m3 remoteproc driver needs support added for reset control if available instead of the legacy pdata callbacks - pm33xx driver needs PM runtime support added for genpd The am335x specific driver changes for the clock, wkup_m3, pm33xx and remoteproc drivers are quite trivial and have not caused merge conflicts in Linux next. I did not get acks for these changes except from Santosh but had already pushed out the branch already at that point. So I've added the related driver maintainers to Cc. ---------------------------------------------------------------- Tero Kristo (1): soc: ti: omap-prm: am3: add genpd support for remaining PRM instances Tony Lindgren (10): soc: ti: omap-prm: Do not check rstst bit on deassert if already deasserted bus: ti-sysc: Assert reset only after disabling clocks ARM: OMAP2+: Check for inited flag ARM: OMAP2+: Probe PRCM first to probe l4_wkup with simple-pm-bus bus: ti-sysc: Support modules without control registers bus: ti-sysc: Implement GPMC debug quirk to drop platform data clk: ti: am33xx: Keep am3 l3 main clock always on for genpd soc: ti: omap-prm: Add pm_clk for genpd soc: ti: pm33xx: Enable basic PM runtime support for genpd remoteproc/wkup_m3: Use reset control driver if available arch/arm/mach-omap2/omap_hwmod.c | 6 +++ arch/arm/mach-omap2/pdata-quirks.c | 11 +++++ drivers/bus/ti-sysc.c | 41 ++++++++++++----- drivers/clk/ti/clk-33xx.c | 2 + drivers/remoteproc/wkup_m3_rproc.c | 41 +++++++++++------ drivers/soc/ti/omap_prm.c | 84 +++++++++++++++++++++++++++++++++-- drivers/soc/ti/pm33xx.c | 17 ++++++- include/linux/platform_data/ti-sysc.h | 1 + 8 files changed, 174 insertions(+), 29 deletions(-) From patchwork Tue Dec 1 07:18:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 1408634 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=N9ZQmRcd; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4ClYQ85TvFz9sW8 for ; Tue, 1 Dec 2020 18:19:44 +1100 (AEDT) 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:References:In-Reply-To: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:List-Owner; bh=whkyK5tqsoDWqez78b9TEhm91GSY6zUqvih8YN71hNQ=; b=N9ZQmRcddv447/0Ud93vwOk/E YMkKWKVlIli6HAN4WFSUL3E+9PznVB3DpMjjz0ca6OZZR6cu9NJT0V1L4KqXUfWSx4ONJ4OXAXNjY KJOoSyaTmSSX+p0wKUEM/wj+2/0xuebS/aql4crSPFS+oArpxYFzF8gSRD3UxAlvnvCyQtoQSKo4J XlJg31vjsAfZBEX0IRxD15QJVw6WMvxsiY7XoVSYxZbbOfGTNUZ+5vRMuUe3xmxLIa2Vz0igG1PkZ jAD0PE3Ab9+5CtoBp8GcN2DI7p/u4jd3W62Xbrvw40KUylLsDOeY4xVa+azWI3L0vGgWN+Xvy4fFG YSqfQ0tOQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjzwY-0003Mk-U5; Tue, 01 Dec 2020 07:19:22 +0000 Received: from muru.com ([72.249.23.125]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjzwW-0003LT-0d for linux-arm-kernel@lists.infradead.org; Tue, 01 Dec 2020 07:19:20 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id DD8598167; Tue, 1 Dec 2020 07:19:23 +0000 (UTC) From: Tony Lindgren To: soc@kernel.org Subject: [GIT PULL 2/4] Update am335x to boot without platform data Date: Tue, 1 Dec 2020 09:18:47 +0200 Message-Id: X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201201_021920_127035_A1BC64CA X-CRM114-Status: GOOD ( 13.69 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender 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: Ohad Ben-Cohen , Stephen Boyd , Michael Turquette , Bjorn Andersson , Tero Kristo , Tony Lindgren , arm@kernel.org, Philipp Zabel , Santosh Shilimkar , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org From: "Tony Lindgren" The following changes since commit 57df7e370d2ab83a64c07acd157acfed4169f114: remoteproc/wkup_m3: Use reset control driver if available (2020-11-16 12:57:40 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.11/genpd-am335x-signed for you to fetch changes up to 133ad7ab7005dc951fb66d3de9e29a8259fe9744: ARM: OMAP2+: Build hwmod related code as needed (2020-11-16 12:58:21 +0200) ---------------------------------------------------------------- Update am335x to boot without platform data With the driver updates done for genpd support, we can now update am335x dts files to boot with genpd and simple-pm-bus, and drop the related platform data. To do that, we need to do the following changes for am335x: - Add the remaining power domain and reset controller instances - Configure interconnect clocks for system timers as those are now managed separately by the drivers/clocksource drivers - Update control module, RTC, gpmc, debugss, emif, ocmcram, instr, and mpuss for device tree data and drop the legacy platform data - Update the interconnect instances to boot with gendp and simple-pm-bus - Drop the remaining platform data for am335x - Add kconfig option for OMAP_HWMOD to build it only for the SoCs that need it ---------------------------------------------------------------- Tero Kristo (1): ARM: dts: am33xx: add remaining PRM instances Tony Lindgren (17): ARM: dts: Configure also interconnect clocks for am4 system timer ARM: OMAP2+: Drop legacy platform data for am3 control module ARM: dts: Configure RTC powerdomain for am3 ARM: dts: Configure interconnect target module for am3 wkup_m3 ARM: OMAP2+: Drop legacy platform data for am3 wkup_m3 ARM: OMAP2+: Drop legacy platform data for am3 and am4 gpmc ARM: OMAP2+: Drop legacy platform data for am3 debugss ARM: OMAP2+: Drop legacy platform data for am3 emif ARM: OMAP2+: Drop legacy platform data for am3 ocmcram ARM: OMAP2+: Drop legacy platform data for am3 instr ARM: OMAP2+: Drop legacy platform data for am3 mpuss ARM: dts: Use simple-pm-bus for genpd for am3 l4_wkup ARM: dts: Use simple-pm-bus for genpd for am3 l4_fast ARM: dts: Use simple-pm-bus for genpd for am3 l4_per ARM: dts: Use simple-pm-bus for genpd for am3 l3 ARM: OMAP2+: Drop legacy remaining legacy platform data for am3 ARM: OMAP2+: Build hwmod related code as needed arch/arm/boot/dts/am335x-nano.dts | 1 - arch/arm/boot/dts/am33xx-l4.dtsi | 75 ++++-- arch/arm/boot/dts/am33xx.dtsi | 185 ++++++++----- arch/arm/boot/dts/am4372.dtsi | 49 ++-- arch/arm/mach-omap2/Kconfig | 9 + arch/arm/mach-omap2/Makefile | 14 +- arch/arm/mach-omap2/io.c | 2 - .../mach-omap2/omap_hwmod_33xx_43xx_common_data.h | 2 - .../omap_hwmod_33xx_43xx_interconnect_data.c | 8 - .../mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 36 --- arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 294 --------------------- arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 1 - arch/arm/mach-omap2/pdata-quirks.c | 12 +- 13 files changed, 236 insertions(+), 452 deletions(-) delete mode 100644 arch/arm/mach-omap2/omap_hwmod_33xx_data.c From patchwork Tue Dec 1 07:18:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 1408636 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=Hbdyxa0b; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4ClYQ94ggmz9sWC for ; Tue, 1 Dec 2020 18:19:45 +1100 (AEDT) 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:References:In-Reply-To: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:List-Owner; bh=ufPcWnKLKxFGrzM9zU86NLmEpbBGViPgM8lokdCA0Vo=; b=Hbdyxa0bmt1y1O5gwotsEOoUo UU6xvojsQXbOzehbOpwcFEMXpAzLCCkWnPcxx2TxJXoevK+qKfVUalD/v8StySOKRyWArZTI5cgs6 Ic8B2w13DgcVE8M23a50M80QcSoT/x3x/2Z6MSGgxP3w+8z91R8bGoVBmwX8SpHhxvnIQ0tFz8WYD Fl4QJaJzKnotU2EMQOvIE2edHR4oEL/R1m/b8QrQE1TTqjosp/tI/CbW6u5+FvoRvboiqDQOh+yNw GTMylv8gLPiX51960BhhfJYuIbAE1/3nTZ/IPnZrqJcMQPlHkoRHionOlc4XOgCe+prPhR5ZQvaOP P7KcPoKtA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjzwc-0003Nl-EJ; Tue, 01 Dec 2020 07:19:26 +0000 Received: from muru.com ([72.249.23.125]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjzwW-0003M5-GI for linux-arm-kernel@lists.infradead.org; Tue, 01 Dec 2020 07:19:21 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 83CAA81A8; Tue, 1 Dec 2020 07:19:26 +0000 (UTC) From: Tony Lindgren To: soc@kernel.org Subject: [GIT PULL 3/4] Update am437x to boot without platform data Date: Tue, 1 Dec 2020 09:18:48 +0200 Message-Id: X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201201_021920_600025_6300B2DA X-CRM114-Status: GOOD ( 13.69 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender 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: Ohad Ben-Cohen , Stephen Boyd , Michael Turquette , Bjorn Andersson , Tero Kristo , Tony Lindgren , arm@kernel.org, Philipp Zabel , Santosh Shilimkar , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org From: "Tony Lindgren" The following changes since commit 133ad7ab7005dc951fb66d3de9e29a8259fe9744: ARM: OMAP2+: Build hwmod related code as needed (2020-11-16 12:58:21 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.11/genpd-am437x-signed for you to fetch changes up to df6c2ec872a62cf81dff86ef62818dea89cc9d98: ARM: OMAP2+: Drop legacy remaining legacy platform data for am4 (2020-11-16 13:11:17 +0200) ---------------------------------------------------------------- Update am473x to boot without platform data Similar to am335x, we can now update am437x dts files to boot with genpd and simple-pm-bus, and drop the related platform data. To do that, we need to do the following changes for am437x: - Update the clock driver to keep the l3_main clock always on for suspend and resume to work - Add power domain and reset controller data to omap-prm driver - Configure interconnect clocks for system timers as those are now managed separately by the drivers/clocksource drivers - Update control module, wkup_m3, emif, ocmcram, mpuss and l3_noc for device tree data and drop the legacy platform data - Update the interconnect instances to boot with gendp and simple-pm-bus - Drop the remaining platform data for am437x ---------------------------------------------------------------- Tero Kristo (2): soc: ti: omap-prm: am4: add genpd support for remaining PRM instances ARM: dts: am43xx: add remaining PRM instances Tony Lindgren (15): clk: ti: am437x: Keep am4 l3 main clock always on for genpd ARM: dts: Configure also interconnect clocks for am4 system timer ARM: OMAP2+: Drop legacy platform data for am4 control module ARM: dts: Configure RTC powerdomain for am4 ARM: dts: Configure interconnect target module for am4 wkup_m3 ARM: OMAP2+: Drop legacy platform data for am4 wkup_m3 ARM: OMAP2+: Drop legacy platform data for am4 emif ARM: OMAP2+: Drop legacy platform data for am4 ocmcram ARM: OMAP2+: Drop legacy platform data for am4 mpuss ARM: dts: Use simple-pm-bus for genpd for am4 l4_wkup ARM: dts: Use simple-pm-bus for genpd for am4 l4_fast ARM: dts: Use simple-pm-bus for genpd for am4 l4_per ARM: dts: Move am4 l3 noc to a separate node ARM: dts: Use simple-pm-bus for genpd for am4 l3 ARM: OMAP2+: Drop legacy remaining legacy platform data for am4 arch/arm/boot/dts/am4372.dtsi | 124 ++++++---- arch/arm/boot/dts/am437x-l4.dtsi | 79 +++++-- arch/arm/mach-omap2/Kconfig | 1 - arch/arm/mach-omap2/Makefile | 5 +- arch/arm/mach-omap2/io.c | 1 - .../mach-omap2/omap_hwmod_33xx_43xx_common_data.h | 55 ----- .../omap_hwmod_33xx_43xx_interconnect_data.c | 82 ------- .../mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c | 254 --------------------- arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 166 -------------- drivers/clk/ti/clk-43xx.c | 8 + drivers/soc/ti/omap_prm.c | 36 ++- 11 files changed, 184 insertions(+), 627 deletions(-) delete mode 100644 arch/arm/mach-omap2/omap_hwmod_33xx_43xx_common_data.h delete mode 100644 arch/arm/mach-omap2/omap_hwmod_33xx_43xx_interconnect_data.c delete mode 100644 arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c delete mode 100644 arch/arm/mach-omap2/omap_hwmod_43xx_data.c From patchwork Tue Dec 1 07:18:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 1408637 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=dQNRF/6b; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4ClYQF4md2z9sRK for ; Tue, 1 Dec 2020 18:19:49 +1100 (AEDT) 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:References:In-Reply-To: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:List-Owner; bh=sdwjMQXCt3F1kcOgkXHyn6eV4ItvlpbpWXNDR5d80Yk=; b=dQNRF/6byLUj2GThrqR9mu2pd HtevD238SxJQnZdi8k6TuC8CFs1SxFLuZe8XAoP5QtXJ443Q4pzinyLFYr8QrCwLwywCB5TI37OY/ HzBeMCYQiJVz3GwApQ7QitTR2dvhd8i3ybxcx2jvcP1b07dXrZxXLQGmTe1ET9588emCpbY0TCzqo sqHgyOJ2GusYDvFbsh3eH52y1JdljLJt2RVfah0FB2LGDX6pukcg6A/ay0B65l75CspSnj0o0RnQt kWCbmzKymMhEQNhjpXGU48YM2ad2AgYeW3r34Zb2ft6qKc/ef3ovKM9B62WdFndHrLLFyhh8gecDj RYXMKCtGQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjzwe-0003OI-C5; Tue, 01 Dec 2020 07:19:28 +0000 Received: from muru.com ([72.249.23.125]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjzwZ-0003Mt-4y for linux-arm-kernel@lists.infradead.org; Tue, 01 Dec 2020 07:19:24 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 25B6981CB; Tue, 1 Dec 2020 07:19:28 +0000 (UTC) From: Tony Lindgren To: soc@kernel.org Subject: [GIT PULL 4/4] Remaining genpd changes for omaps for v5.11 Date: Tue, 1 Dec 2020 09:18:49 +0200 Message-Id: X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201201_021923_328468_B55B96A3 X-CRM114-Status: GOOD ( 16.57 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender 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: Ohad Ben-Cohen , Stephen Boyd , Michael Turquette , Bjorn Andersson , Tero Kristo , Tony Lindgren , arm@kernel.org, Philipp Zabel , Santosh Shilimkar , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org From: "Tony Lindgren" The following changes since commit df6c2ec872a62cf81dff86ef62818dea89cc9d98: ARM: OMAP2+: Drop legacy remaining legacy platform data for am4 (2020-11-16 13:11:17 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.11/genpd-rest-signed for you to fetch changes up to b62168e516dab1b7cb7bb90976755b08d273cc3a: ARM: OMAP2+: Fix am4 only build after genpd changes (2020-11-27 08:13:25 +0200) ---------------------------------------------------------------- Remaining genpd changes for omaps for v5.11 This series contains the remaining genpd changes for omap4/5, and dra7 to add the power domain and reset control data to omap-prm driver. We also update several devices to probe without platform data to get us closer to booting omap4/5, and dra7 without platform data. There is also a build fix for the earlier am437x series that I should have applied into a separate branch on top of the am437x breaking commit. It ended here as I was originally planning to send out a single pull request for all the genpd changes, but then decided to break it down to smaller chunks. It's all really a larger single git branch though, so this should be OK and I really did not want to start reorganizing the branch after testing it and having it sit in Linux next. The changes done here are: - Clock driver needs idlest check dropped for IVA for omap4 and dra7 - Add remaining power domain and reset control data to omap-prm driver for omap4/5 and dra7 - Add device tree data for remaining power domains and reset control for omap4/5 and dra7 dts files - Update dss, dsp, iva and gpmc dts files to use genpd and to drop the remaining platform data - Update dss for omap5 to use genpd - Update dra7 iva to to use genpd and to drop the remaining platform data ---------------------------------------------------------------- Tero Kristo (6): soc: ti: omap-prm: omap4: add genpd support for remaining PRM instances ARM: dts: omap4: add remaining PRM instances soc: ti: omap-prm: dra7: add genpd support for remaining PRM instances ARM: dts: dra7: add remaining PRM instances soc: ti: omap-prm: omap5: add genpd support for remaining PRM instances ARM: dts: omap5: add remaining PRM instances Tony Lindgren (10): clk: ti: omap4: Drop idlest polling from IVA clkctrl clocks ARM: dts: Configure power domain for omap4 dss ARM: dts: Configure power domain for omap4 dsp ARM: OMAP2+: Drop legacy platform data for omap4 iva ARM: OMAP2+: Drop legacy platform data for omap4 gpmc clk: ti: dra7: Drop idlest polling from IVA clkctrl clocks ARM: dts: Configure interconnect target module for dra7 iva ARM: OMAP2+: Drop legacy platform data for dra7 gpmc ARM: dts: Configure power domain for omap5 dss ARM: OMAP2+: Fix am4 only build after genpd changes arch/arm/boot/dts/dra7.dtsi | 151 ++++++++++++++++-- arch/arm/boot/dts/dra7xx-clocks.dtsi | 14 ++ arch/arm/boot/dts/omap4-l4.dtsi | 1 + arch/arm/boot/dts/omap4.dtsi | 150 +++++++++++++++--- arch/arm/boot/dts/omap5.dtsi | 58 +++++++ arch/arm/mach-omap2/io.c | 1 - arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 114 -------------- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 49 ------ arch/arm/mach-omap2/pdata-quirks.c | 12 -- drivers/clk/ti/clk-44xx.c | 2 +- drivers/clk/ti/clk-7xx.c | 7 + drivers/soc/ti/omap_prm.c | 238 ++++++++++++++++++++++++++--- include/dt-bindings/clock/dra7.h | 4 + 13 files changed, 571 insertions(+), 230 deletions(-) Acked-by: Stephen Boyd # clk