From patchwork Thu Oct 19 21:59:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 828372 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.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; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="V/EENha8"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yJ34w604Vz9t6m for ; Fri, 20 Oct 2017 09:09:52 +1100 (AEDT) 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=rNdEXSl0fFrhVsOFylVvP93XDex2nnxbrVYCKFXJ83A=; b=V/EENha8syIbzr MKjAkfzMYV1iq+F1W8tRNzPbCX4aM0pOWgD/bF2UqCWmaeAOTt1SCjWhwglLhLd35j7EA8ruXHNOR YmBjtkBSzLQEs3FR8nvQln9GQXOtgA4LZrA/b7F+HeKBB0jQZ09wCYr2mvPg0RG2F/3qOM6qaZnn1 2iFDq9WLrst7zYJ3jF2RoPyEmQgqFt8ITl5leFtYHaEdlP4HQFnHjDeIVdQsuq7t9MiI1X6vJE0LO QZtEPqho9iabqb+NwHkB8mLUDaYEst7jFl23gj1g79PYI88TGzHjZ/ubFih5YmwMPx21nKTFM1/5K tBq1TnkaBO+HL40AMPTQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e5J0e-0007m9-PH; Thu, 19 Oct 2017 22:09:48 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e5J0Z-0007iy-2J for linux-arm-kernel@lists.infradead.org; Thu, 19 Oct 2017 22:09:46 +0000 Received: from sampyla.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 8D94F809C; Thu, 19 Oct 2017 22:00:56 +0000 (UTC) From: Tony Lindgren To: arm@kernel.org Subject: [GIT PULL 1/2] non-urgent device tree fixes for omaps for v4.15 merge window Date: Thu, 19 Oct 2017 14:59:30 -0700 Message-Id: X-Mailer: git-send-email 2.14.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171019_150943_212543_39083DC6 X-CRM114-Status: GOOD ( 14.44 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tony Lindgren , 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 List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: "Tony Lindgren" The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v4.15/fixes-dt-signed for you to fetch changes up to 1ff516a4bacf146a261b66d89892046078dba86c: ARM: dts: Fix typo for omap4 mcasp rx path (2017-10-13 09:43:22 -0700) ---------------------------------------------------------------- Non-urgent device tree fixes for omaps that can all wait for v4.15 merge window. Turns out that we have many devices working just because we have the legacy platform data still around. This is mostly an issue for omap4, other SoCs just have minimal fixes needed. As many of the missing device tree nodes and properties are for devices that have no drivers in the mainline kernel, such as slimbus, iss, mcasp, aess, fdif and gpu, we might as well start using the new "ti,sysc" interconnect target module binding for them so we can get the devices with no child device drivers idled. This also makes it possible to drop unnecessary platform data in later patches. ---------------------------------------------------------------- Tony Lindgren (15): ARM: dts: Add missing dma hwmods property for omap3 ARM: dts: Configure pmu without interrupt for omap4430 ARM: dts: Add missing properties for omap4 control modules ARM: dts: Add missing hwmods property for omap4 dma ARM: dts: Add missing smartreflex node and binding for omap4 ARM: dts: Add missing onewire node for omap4 ARM: dts: Add missing hsi node for omap4 ARM: dts: Add missing wdt3 node for omap4 ARM: dts: Add missing dma hwmod property for omap5 ARM: dts: Add missing hwmod related nodes for am33xx ARM: dts: Add missing hwmod related properties for dra7 dt-bindings: bus: Minimal TI sysc interconnect target module binding ARM: dts: Add nodes for missing omap4 interconnect target modules ARM: dts: Configure SmartReflex only to idle the interconnect target module ARM: dts: Fix typo for omap4 mcasp rx path .../devicetree/bindings/arm/omap/ctrl.txt | 2 + Documentation/devicetree/bindings/bus/ti-sysc.txt | 93 ++++++++ Documentation/devicetree/bindings/hsi/omap-ssi.txt | 13 +- .../bindings/memory-controllers/ti/emif.txt | 6 +- .../devicetree/bindings/power/ti-smartreflex.txt | 47 ++++ arch/arm/boot/dts/am33xx.dtsi | 10 +- arch/arm/boot/dts/dra7.dtsi | 34 +++ arch/arm/boot/dts/omap3.dtsi | 1 + arch/arm/boot/dts/omap4.dtsi | 256 ++++++++++++++++++++- arch/arm/boot/dts/omap5.dtsi | 1 + 10 files changed, 447 insertions(+), 16 deletions(-) create mode 100644 Documentation/devicetree/bindings/bus/ti-sysc.txt create mode 100644 Documentation/devicetree/bindings/power/ti-smartreflex.txt From patchwork Thu Oct 19 21:59:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 828365 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.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; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Wn7a9eW/"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yJ2t10Pqsz9t6M for ; Fri, 20 Oct 2017 09:00:24 +1100 (AEDT) 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:In-Reply-To:MIME-Version:References: 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=lQT0iXMa7gXECHh+U2D3rf6v0571uoTMxlOrOatHGac=; b=Wn7a9eW/RjNqCX sxDDnBr314gqPJ8S2y2XT83xf5Klp1wvpqZTIRyAlViQ+aEcL/VXRvhTwH/buYlIkwJ9ZS3t5CWO2 HiJHLR+2rK2OtAPsTEmTnJQ+TAdjt02+z4V4hQTA6b8rmfV3oCWBq9kFmusBPWsn1mzob8hR+FCvM hOwKa41qkUaB5vLbzAeoGkDQkyOKm1yK7WvWBpVy6OqaTbCnCh0+DGFojz5v0TuyDzVKwfq9AaHCs OkVcdIioOGsYj3QzXwwoCdu/YWQHKLJmqwGjVgA+dJpWLb3qjQs4OiwaNbG/80VmAVmma8eKmORCQ O2hJcmucRnuLk6Om9K0w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e5IrU-0003pI-BD; Thu, 19 Oct 2017 22:00:20 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e5Ir8-0002Li-Ty for linux-arm-kernel@lists.infradead.org; Thu, 19 Oct 2017 22:00:07 +0000 Received: from sampyla.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id B34AA8355; Thu, 19 Oct 2017 22:00:57 +0000 (UTC) From: Tony Lindgren To: arm@kernel.org Subject: [GIT PULL 2/2] more soc changes for omaps for v4.15 merge window Date: Thu, 19 Oct 2017 14:59:31 -0700 Message-Id: X-Mailer: git-send-email 2.14.2 In-Reply-To: References: MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171019_145959_185921_84945372 X-CRM114-Status: GOOD ( 16.39 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tony Lindgren , 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 List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: "Tony Lindgren" The following changes since commit f09de60e0ae3440a139b516d579d866890ff3101: Merge branch 'omap-for-v4.15/fixes-dt' into omap-for-v4.15/ti-sysc (2017-10-10 14:19:47 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v4.15/ti-sysc-signed for you to fetch changes up to 684be5a48f4950cb8823b4c4b935515a75615498: bus: ti-sysc: Fix unbalanced pm_runtime_enable by adding remove (2017-10-13 10:48:40 -0700) ---------------------------------------------------------------- Drop omap legacy platform data for IRQ, DMA and IO resources. With the dts files fixed up to contain the necessary data for basic resources, we can drop the related platform data. Note that this branch depends on the "omap-for-v4.15/fixes-dt-signed" branch and the patches with dependencies are based on a merge with that branch. These patches first ensure things keep working for the legacy "ti,hwmods" property when we start making it optional, then adds a minimal TI sysc interconnect target device driver to handle the new generic "ti,sysc" compatible property. And then we can finally drop the legacy platform data for IRQ, DMA and IO resources as seen in the diffstats. ---------------------------------------------------------------- Arnd Bergmann (1): bus: ti-sysc: mark PM functions as __maybe_unused Tony Lindgren (9): ARM: OMAP2+: Parse module IO range from dts for legacy "ti,hwmods" support ARM: OMAP2+: Populate legacy resources for dma and smartreflex bus: ti-sysc: Add minimal TI sysc interconnect target driver ARM: OMAP3: Remove legacy IRQ for PRM ARM: OMAP4: Remove legacy IRQ for PRM ARM: OMAP2+: Drop omap_hwmod_irq_info ARM: OMAP2+: Drop omap_hwmod_dma_info ARM: OMAP2+: Drop legacy struct omap_hwmod_addr_space bus: ti-sysc: Fix unbalanced pm_runtime_enable by adding remove Wei Yongjun (1): ARM: OMAP2+: omap_device: fix error return code in omap_device_copy_resources() arch/arm/mach-omap2/Kconfig | 1 + arch/arm/mach-omap2/Makefile | 3 - arch/arm/mach-omap2/common.h | 1 - arch/arm/mach-omap2/omap4-common.c | 24 - arch/arm/mach-omap2/omap_device.c | 294 ++++------- arch/arm/mach-omap2/omap_device.h | 4 - arch/arm/mach-omap2/omap_hwmod.c | 520 +++--------------- arch/arm/mach-omap2/omap_hwmod.h | 67 +-- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 2 - arch/arm/mach-omap2/omap_hwmod_2430_data.c | 2 - .../omap_hwmod_2xxx_3xxx_interconnect_data.c | 27 - .../mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c | 15 - arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 6 - .../omap_hwmod_33xx_43xx_interconnect_data.c | 100 ---- arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 39 -- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 43 +- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 548 ------------------- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 20 - arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 57 -- arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 44 -- arch/arm/mach-omap2/omap_hwmod_common_data.h | 41 -- arch/arm/mach-omap2/prcm-common.h | 1 - arch/arm/mach-omap2/prm.h | 2 - arch/arm/mach-omap2/prm3xxx.c | 14 +- arch/arm/mach-omap2/prm44xx.c | 21 +- arch/arm/mach-omap2/prm_common.c | 12 +- drivers/bus/Kconfig | 7 + drivers/bus/Makefile | 1 + drivers/bus/ti-sysc.c | 583 +++++++++++++++++++++ 29 files changed, 806 insertions(+), 1693 deletions(-) delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_interconnect_data.c create mode 100644 drivers/bus/ti-sysc.c