From patchwork Mon Mar 29 07:55:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 1459716 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:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) 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=desiato.20200630 header.b=chFilOBN; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=v1VaCkkU; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (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 4F8JYJ0NXPz9sVS for ; Tue, 30 Mar 2021 03:53:08 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc: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=6XHbj3PLqsC9lFDQ9+gr5Fa2nG+o4bBjIYb5BixZEIY=; b=chFilOBNYhHtyAYmVDiwyj1YDT JL0AiYhH6YXqTMniQsqbJLnrLskEPIw8TXOUxDMmA/LL7KeQpRSDrIMRPfMDdDraal9hCjNy9S7RE EVCuuje0Ddbdk43ce8kfH2kgQvtKF/mqH1T3bPUyzhDpj/bCHIxI1mN68ysEsXE5BBZg/IzuX8owe jxnXI1NQTZ9VmKqPNlc5bYEuEyo1DmoqSFSLL7bHy/1xvClDw/+RfegFbPhxb2yrAhG11sGsnQ1DT V04aPmEmfSBInKnX9/gm9doQInG2MOvjCyZCqyKrolWdSf5inc+WWw3O30wmp4fqeHJ+P03NtwzVN kkFmFB5A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQv8B-000nQc-GO; Mon, 29 Mar 2021 16:52:47 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQoeG-000YmD-SZ for linux-arm-kernel@desiato.infradead.org; Mon, 29 Mar 2021 09:57:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:In-Reply-To:References; bh=UIKxEOf91T0Itg2OZackt2VGaI0ctDxkfkouJnC4s2A=; b=v1VaCkkUfD6uec82mTMiUyzfLP M4NAnjJlNIeCCvr9vMTovbG/ffjBPxzdHX+6kIUTVP9BxmBpcQLR7Ljo9mVuSwlQMudGw0KyitJ6g jCCka8ZjyREE/kHhWi07lQv+uWJ61Av8valOxZTSpi3KbUfjLx+tbXtWi2bu6R4aD7K+pU4JgLVHm eRBUj4QIam5I0IzpO1Xgq3VSOL6qKh/4RkJKeiGTt1ug4yrOB+E4rX4fsopvhk9qmPuqUaYeXNdNA i7HG//ZN526Zz7jlriDXiHMDZJTgw3zS5QCQM9YrEe+/BhFs7YzyyCIBKJ3U0YM0pNIeEWolVR8ZP 2ZHs/NVQ==; Received: from muru.com ([72.249.23.125]) by casper.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQmkO-001Cn7-1N for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 07:55:46 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id ABACE80AF; Mon, 29 Mar 2021 07:56:32 +0000 (UTC) From: Tony Lindgren To: soc@kernel.org Cc: arm@kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Tony Lindgren" , Bjorn Helgaas , Stephen Boyd , Santosh Shilimkar Subject: [GIT PULL 1/3] Driver changes for omaps for genpd support Date: Mon, 29 Mar 2021 10:55:20 +0300 Message-Id: X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_085540_810284_541A90BA X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 4c9f4865f4604744d4f1a43db22ac6ec9dc8e587: Merge branch 'fixes-rc2' into fixes (2021-03-08 11:34:12 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.13/ti-sysc-signed for you to fetch changes up to d995d3d025bbd2d89abf12418f20d19bc0cb0130: bus: ti-sysc: Use kzalloc for allocating only one thing (2021-03-24 13:44:04 +0200) ---------------------------------------------------------------- Driver changes for omaps for genpd support for v5.13 In order to move omap4/5 and dra7 to probe with devicetree data and genpd, we need to patch the related drivers to prepare. These are mostly ti-sysc interconnect target module driver changes and soc init changes. However, there are minor changes to other drivers too. There are changes for pci-dra7xx probe, omap-prm idle configuration, and a omap5 clock change: - ti-sysc needs iorange check improved when the interconnect target module has no control registers listed - ti-sysc needs to probe l4_wkup and l4_cfg interconnects first to avoid issues with missing resources and unnecessary deferred probe - ti-sysc debug option can now detect more devices - ti-sysc now warns if an old incomplete devicetree data is found as we now rely on it being complete for am3 and 4 - soc init code needs to check for prcm and prm nodes for omap4/5 and dra7 - omap-prm driver needs to enable autoidle retention support for omap4 - omap5 clocks are missing gpmc and ocmc clock registers - pci-dra7xx now needs to use builtin_platform_driver instead of using builtin_platform_driver_probe for deferred probe to work There are also few minor non-urgent fixes: - soc init code pdata_quirks_init_clocks should be static - ti-sysc has few unneeded semiconon typos - ti-sysc can use kzalloc instead of kcalloc for a single element ---------------------------------------------------------------- Tony Lindgren (8): bus: ti-sysc: Fix initializing module_pa for modules without sysc register bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first bus: ti-sysc: Detect more modules for debugging bus: ti-sysc: Check for old incomplete dtb ARM: OMAP2+: Init both prm and prcm nodes early for clocks soc: ti: omap-prm: Allow hardware supported retention when idle clk: ti: omap5: Add missing gpmc and ocmc clkctrl PCI: pci-dra7xx: Prepare for deferred probe with module_platform_driver Wei Yongjun (1): ARM: OMAP2+: Make symbol 'pdata_quirks_init_clocks' static Yang Li (1): bus: ti-sysc: remove unneeded semicolon Zheng Yongjun (1): bus: ti-sysc: Use kzalloc for allocating only one thing arch/arm/mach-omap2/pdata-quirks.c | 29 ++++++++---- drivers/bus/ti-sysc.c | 84 ++++++++++++++++++++++++++++++--- drivers/clk/ti/clk-54xx.c | 2 + drivers/pci/controller/dwc/pci-dra7xx.c | 13 ++--- drivers/soc/ti/omap_prm.c | 16 +++++-- include/dt-bindings/clock/omap5.h | 2 + 6 files changed, 122 insertions(+), 24 deletions(-) From patchwork Mon Mar 29 07:55:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 1459715 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:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) 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=desiato.20200630 header.b=SLYv+3td; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=Loln9peK; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (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 4F8JYD6n7Gz9sVS for ; Tue, 30 Mar 2021 03:53:04 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kRvmrxNHst3zMFvoPpcEMghqACowRy5erWeGp3ygb8I=; b=SLYv+3tdcBTQexCrz/lK63p5H fT5LDu6pPLnbMGrv0vFP25mKQUw8GB1Z3iQESz1C3vu8sQ7Fd2KIoRCQfylxF4JAmG5E+5Tz5kZkO Z1hM5gH4CaQqye6/wBGckv0zgJ+r6PHD7RMRopZGtHxEBYRr+P1hYIZIJ8RwEFK3T2xis9FLnzu9Q NdIDpZEobkKaoPiE7d8skLMLQuHzzR6fP2XAgg/L5CT44fGj05vvxAhnl4Jga0AzJ7/8puRqlpXVy coi+4mONq1S9gWKuM9iMWx6RBKEjxsacKSQk9PnUdWlDPE+66KOGOJo3WnfKbx+6T/2L51Lv5Dqc1 JYRsaB/nQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQv7t-000nMj-G9; Mon, 29 Mar 2021 16:52:29 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQoe9-000Yld-7l for linux-arm-kernel@desiato.infradead.org; Mon, 29 Mar 2021 09:57:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=1M7/ajl573SLsHcDYMUpMXC8OemHaY/Y7u6UIeIQz8g=; b=Loln9peKtzkP63YivMxacejOHQ jnPRCL/gVCSatU8qhKB5VIsXKJM8JBmtmVpeOTZ4x/cIZyMHP836K9iXTgcORB1G6+7o1htoW1TDW TxQijRDoLQz+5qvqUpOY0fK+TPTRZgGC2uUek0A/Xm3edIaRhDS+Fs40KJ+/qA8djJp5ZWPKr/O5+ hvN3VJXA0WuZNwcXWWJOClA5a5E7Knn3X8y0tyvdsMwiyoRy+ngAAHSmpVuHyeS6i2WNCOLLfgEpm QEl6Ra46b/NhwVTS0fpTiG1V/2U7ZyHogd0OXLIrX+0t9INXf81e12OzehkKpZH79yC8pu2Q8dcX2 fMnUos5g==; Received: from muru.com ([72.249.23.125]) by casper.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQmkO-001Cn9-Os for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 07:55:52 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 2D7418111; Mon, 29 Mar 2021 07:56:37 +0000 (UTC) From: Tony Lindgren To: soc@kernel.org Cc: arm@kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Tony Lindgren" Subject: [GIT PULL 2/3] Devicetree changes for omaps for genpd support Date: Mon, 29 Mar 2021 10:55:21 +0300 Message-Id: X-Mailer: git-send-email 2.31.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_085541_862111_D2DD3E07 X-CRM114-Status: GOOD ( 10.20 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 e259c2926c016dd815e5547412356d378fc1f589: PCI: pci-dra7xx: Prepare for deferred probe with module_platform_driver (2021-03-10 14:01:00 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.13/dts-genpd-signed for you to fetch changes up to 083516ad540a1104a0ae5ae7e83f2a2d8e39d2bc: Merge tags 'genpd-dts-dra7', 'genpd-dts-omap4' and 'genpd-dts-omap5' into omap-for-v5.13/dts-genpd (2021-03-10 14:16:34 +0200) ---------------------------------------------------------------- Devicetree changes for omaps for genpd support for v5.13 In order to move omap4/5 and dra7 to probe with devicetree data and genpd, we need to add the missing interconnect target module configuration for the drivers that do not still have it. This is similar to what we have already done earlier for am3 and 4 earlier. These patches are very much similar for all the three SoCs here. The dra7 changes were already available for v5.12 merge window, but were considered too late to add for v5.12. The patches for omap4 and 5 follow the same pattern, except for PCIe that is available only on dra7. We do the changes one driver at a time, and still keep the legacy property for "ti,hwmods" mostly around, except for cases when already not needed. We will be dropping the custom property and related legacy data in a follow-up series. ---------------------------------------------------------------- Tony Lindgren (38): ARM: dts: Update pcie ranges for dra7 ARM: dts: Configure interconnect target module for dra7 pcie ARM: dts: Properly configure dra7 edma sysconfig registers ARM: dts: Move dra7 l3 noc to a separate node ARM: dts: Configure interconnect target module for dra7 qspi ARM: dts: Configure interconnect target module for dra7 sata ARM: dts: Configure interconnect target module for dra7 mpu ARM: dts: Configure interconnect target module for dra7 dmm ARM: dts: Configure simple-pm-bus for dra7 l4_wkup ARM: dts: Configure simple-pm-bus for dra7 l4_per1 ARM: dts: Configure simple-pm-bus for dra7 l4_per2 ARM: dts: Configure simple-pm-bus for dra7 l4_per3 ARM: dts: Configure simple-pm-bus for dra7 l4_cfg ARM: dts: Configure simple-pm-bus for dra7 l3 ARM: dts: Configure power-domain for omap4 gfx ARM: dts: Configure power-domain for omap4 dts iss ARM: dts: Configure interconnect target module for omap4 dmm ARM: dts: Configure interconnect target module for omap4 emif ARM: dts: Configure interconnect target module for omap4 debugss ARM: dts: Configure interconnect target module for omap4 mpu ARM: dts: Move omap4 mmio-sram out of l3 interconnect ARM: dts: Move omap4 l3-noc to a separate node ARM: dts: Configure simple-pm-bus for omap4 l4_wkup ARM: dts: Configure simple-pm-bus for omap4 l4_per ARM: dts: Configure simple-pm-bus for omap4 l4_cfg ARM: dts: Prepare for simple-pm-bus for omap4 l3 ARM: dts: Configure interconnect target module for omap5 dmm ARM: dts: Configure interconnect target module for omap5 emif ARM: dts: Configure interconnect target module for omap5 mpu ARM: dts: Configure interconnect target module for omap5 gpmc ARM: dts: Configure interconnect target module for omap5 sata ARM: dts: Move omap5 mmio-sram out of l3 interconnect ARM: dts: Move omap5 l3-noc to a separate node ARM: dts: Configure simple-pm-bus for omap5 l4_wkup ARM: dts: Configure simple-pm-bus for omap5 l4_per ARM: dts: Configure simple-pm-bus for omap5 l4_cfg ARM: dts: Configure simple-pm-bus for omap5 l3 Merge tags 'genpd-dts-dra7', 'genpd-dts-omap4' and 'genpd-dts-omap5' into omap-for-v5.13/dts-genpd arch/arm/boot/dts/dra7-l4.dtsi | 76 ++++++++++---- arch/arm/boot/dts/dra7.dtsi | 215 +++++++++++++++++++++++++++------------- arch/arm/boot/dts/omap4-l4.dtsi | 39 +++++--- arch/arm/boot/dts/omap4.dtsi | 165 ++++++++++++++++++++---------- arch/arm/boot/dts/omap4460.dtsi | 13 ++- arch/arm/boot/dts/omap5-l4.dtsi | 67 +++++++++---- arch/arm/boot/dts/omap5.dtsi | 204 ++++++++++++++++++++++++-------------- 7 files changed, 526 insertions(+), 253 deletions(-) From patchwork Mon Mar 29 07:55:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 1459717 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:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) 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=desiato.20200630 header.b=DtyOJbAj; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=Y5TZU+iV; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (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 4F8JYg4gQSz9sW0 for ; Tue, 30 Mar 2021 03:53:27 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=x1tLWRB92WT+U+XQGueJcHmPdMvgJ/z0yPuHNljNPj8=; b=DtyOJbAj/4TSQS2Sfy72b2vqg oIirWTFxPwnQ3xJ4b8aTTnX+qzIOG8fN9NYvykbhdfpEL0xCG/ENFfw5FrH7wkYccrB2vHJxLmPVx v8wnNpAv+SQknt1X6U8c6n9eRSBZEnW6bleU0T0FtX3cwxtxkx7t33j2nTarS3wqnPdCVlsoV8Rfn CwHA5ZRMh1Fh6gIy5BsoEpO2U8qk/nxLvdNvLgPGUK+rKaxioGqa5lZt9cid6nSk/jbd95US6Q7Uc q1Avr18OtWB4EvsRnwQkhoQgJ+wSw2ysMv88iz0Vh7JcvhArOdzic8NqJxnojSKgJWBsEXLkmlLDf yALcHJFVA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQv8O-000nUA-V7; Mon, 29 Mar 2021 16:53:01 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQoeN-000YmR-47 for linux-arm-kernel@desiato.infradead.org; Mon, 29 Mar 2021 09:57:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=Gn2RpkEKbIp1cAMfQ0B1aVUkBWGqAegjCNf++aLyvtI=; b=Y5TZU+iVeIb9qezavejWKqva59 cBUX2brKZbrQeqlG3pofCIxW8nHv2/WBT8hK9xsKdnwONLs2SJ9aEUzqWckFBD2HMevSTzEsvjB8M jU1HpSzXRSli2JkIlL8wbz4exJWbkWKNW/zm2MlAEwaVLrb+mc9PCENitdx9uqRk9BIkX83kJNQ90 v2Eh8L7zvi1jqJEe2AWAHB3zwKBu8E/5UP9PnjnnOjWta5flNXfuAQojSQPs4U+gyO3ITXRcz1/T7 G9DlDhb2LHLpZ+ZgedzNGZkRL+s8XhpXdDWNyOEqEorxXWRC6M2rW7MCqDaWEQBNtf4jkjlBdlem2 AdMT7EbA==; Received: from muru.com ([72.249.23.125]) by casper.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQmkP-001CnT-7g for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 07:55:53 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 304CA811B; Mon, 29 Mar 2021 07:56:41 +0000 (UTC) From: Tony Lindgren To: soc@kernel.org Cc: arm@kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Tony Lindgren" Subject: [GIT PULL 3/3] Drop legacy data for dra7 and omap4/5 and clean-up Date: Mon, 29 Mar 2021 10:55:22 +0300 Message-Id: X-Mailer: git-send-email 2.31.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_085542_146270_235AD34C X-CRM114-Status: GOOD ( 12.07 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 083516ad540a1104a0ae5ae7e83f2a2d8e39d2bc: Merge tags 'genpd-dts-dra7', 'genpd-dts-omap4' and 'genpd-dts-omap5' into omap-for-v5.13/dts-genpd (2021-03-10 14:16:34 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.13/genpd-cleanup-signed for you to fetch changes up to 4adcf4c28f6dc191187359bfceee5ab5fe91a50e: bus: ti-sysc: Warn about old dtb for dra7 and omap4/5 (2021-03-12 10:23:48 +0200) ---------------------------------------------------------------- Drop legacy data for dra7 and omap4/5 for genpd support for v5.13 Similar to what we have already done for am3 and 4, we can now boot dra7, omap4, and omap5 with devicetree data and genpd without legacy SoC specific built-in data. Let's drop the legacy data for these SoCs, and the related "ti,hwmods" custom devicetree property. As with these changes we now expect to have complete devicetree data, let's also warn in the case if an old devicetree data is noticed. And with the warning provided, there should not be any need to delay dropping the legacy data as it just unnecessarily complicates things. The main reasons for dropping the legacy data is to avoid the burden of maintaining a mixed boot process where both legacy built-in data and devicetree data are needed. And we can now use standard reset driver, genpd, and simple-pm-bus features. These patches are based on the related devicetree changes to add the missing interconnect target module configuration for these SoCs. ---------------------------------------------------------------- Tony Lindgren (35): ARM: OMAP2+: Drop legacy platform data for dra7 pcie ARM: OMAP2+: Drop legacy platform data for dra7 qspi ARM: OMAP2+: Drop legacy platform data for dra7 sata ARM: OMAP2+: Drop legacy platform data for dra7 mpu ARM: OMAP2+: Drop legacy platform data for dra7 dmm ARM: OMAP2+: Drop legacy platform data for dra7 l4_wkup ARM: OMAP2+: Drop legacy platform data for dra7 l4_per1 ARM: OMAP2+: Drop legacy platform data for dra7 l4_per2 ARM: OMAP2+: Drop legacy platform data for dra7 l4_per3 ARM: OMAP2+: Drop legacy platform data for dra7 l4_cfg ARM: OMAP2+: Drop legacy platform data for dra7 l3 ARM: OMAP2+: Drop legacy platform data for dra7 hwmod ARM: OMAP2+: Drop legacy platform data for omap4 iss ARM: OMAP2+: Drop legacy platform data for omap4 control modules ARM: OMAP2+: Drop legacy platform data for omap4 dmm ARM: OMAP2+: Drop legacy platform data for omap4 emif ARM: OMAP2+: Drop legacy platform data for omap4 debugss ARM: OMAP2+: Drop legacy platform data for omap4 mpu ARM: OMAP2+: Drop legacy platform data for omap4 l4_wkup ARM: OMAP2+: Drop legacy platform data for omap4 l4_per ARM: OMAP2+: Drop legacy platform data for omap4 l4_cfg ARM: OMAP2+: Drop legacy platform data for omap4 l3 ARM: OMAP2+: Drop legacy platform data for omap4 hwmod ARM: OMAP2+: Drop legacy platform data for omap5 dmm ARM: OMAP2+: Drop legacy platform data for omap5 emif ARM: OMAP2+: Drop legacy platform data for omap5 mpu ARM: OMAP2+: Drop legacy platform data for omap5 sata ARM: OMAP2+: Drop legacy platform data for omap5 l4_wkup ARM: OMAP2+: Drop legacy platform data for omap5 l4_per ARM: OMAP2+: Drop legacy platform data for omap5 l4_cfg ARM: OMAP2+: Drop legacy platform data for omap5 l3 ARM: OMAP2+: Drop legacy platform data for omap5 hwmod Merge branches 'omap-for-v5.13/genpd-dra7', 'omap-for-v5.13/genpd-omap4' and 'omap-for-v5.13/genpd-omap5' into omap-for-v5.13/genpd-drop-legacy ARM: OMAP2+: Stop building legacy code for dra7 and omap4/5 bus: ti-sysc: Warn about old dtb for dra7 and omap4/5 arch/arm/boot/dts/dra7-l4.dtsi | 1 - arch/arm/boot/dts/dra7.dtsi | 5 - arch/arm/boot/dts/omap4-l4.dtsi | 4 - arch/arm/boot/dts/omap4.dtsi | 8 +- arch/arm/boot/dts/omap5.dtsi | 4 - arch/arm/mach-omap2/Kconfig | 3 - arch/arm/mach-omap2/Makefile | 11 +- arch/arm/mach-omap2/common.h | 9 - arch/arm/mach-omap2/io.c | 12 +- arch/arm/mach-omap2/omap_hwmod.c | 8 - arch/arm/mach-omap2/omap_hwmod.h | 14 +- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 877 ----------------------------- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 467 --------------- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 719 ----------------------- arch/arm/mach-omap2/pdata-quirks.c | 2 +- arch/arm/mach-omap2/sr_device.c | 7 + drivers/bus/ti-sysc.c | 3 + 17 files changed, 35 insertions(+), 2119 deletions(-) delete mode 100644 arch/arm/mach-omap2/omap_hwmod_44xx_data.c delete mode 100644 arch/arm/mach-omap2/omap_hwmod_54xx_data.c delete mode 100644 arch/arm/mach-omap2/omap_hwmod_7xx_data.c