{"id":816582,"url":"http://patchwork.ozlabs.org/api/patches/816582/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/patch/20170920224621.16236-9-tony@atomide.com/","project":{"id":19,"url":"http://patchwork.ozlabs.org/api/projects/19/?format=json","name":"Linux IMX development","link_name":"linux-imx","list_id":"linux-imx-kernel.lists.patchwork.ozlabs.org","list_email":"linux-imx-kernel@lists.patchwork.ozlabs.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170920224621.16236-9-tony@atomide.com>","list_archive_url":null,"date":"2017-09-20T22:46:19","name":"[08/10] ARM: dts: Add nodes for missing omap4 interconnect target modules","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"9cbcdc7c7352e5b9f210946fe8f4a5017cdc8ada","submitter":{"id":365,"url":"http://patchwork.ozlabs.org/api/people/365/?format=json","name":"Tony Lindgren","email":"tony@atomide.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-imx/patch/20170920224621.16236-9-tony@atomide.com/mbox/","series":[{"id":4251,"url":"http://patchwork.ozlabs.org/api/series/4251/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/list/?series=4251","date":"2017-09-20T22:46:12","name":"Fix remaining issues to drop more omap platform data","version":1,"mbox":"http://patchwork.ozlabs.org/series/4251/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/816582/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/816582/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org\n\theader.b=\"m69usZpR\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xyFRB5MMgz9sBZ\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 08:53:58 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dunsQ-0002nG-Bq; Wed, 20 Sep 2017 22:53:54 +0000","from muru.com ([72.249.23.125])\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dunmH-00054m-8E for linux-arm-kernel@lists.infradead.org;\n\tWed, 20 Sep 2017 22:47:47 +0000","from sampyla.muru.com (localhost [127.0.0.1])\n\tby muru.com (Postfix) with ESMTP id EB26D89F3;\n\tWed, 20 Sep 2017 22:47:55 +0000 (UTC)"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:\n\tMessage-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=igPBJMapFJk43BI/gCBVOlMJsdfFTDH8bC9QPrYBm8Q=;\n\tb=m69usZpR06fx0n\n\tuqISOQRRpbcXMKVipbO9KuGt1SKd1Iz3k4ylhCFcMpz4bImyRJwnhf0HhxT7AbaPom8s/K+JXCVpV\n\tyWnBOikxMtHFmzjkLjKXmjxO5D572lDYlLSTUEtDj8wsN2R6KY706rgSCUEuEHuV60/ho/35jtJUL\n\tWRNrT2KKjwvRHMK8BTPYHJAtoZJK3x3l7nyicDrhu6Jy0vUTW6h2NjC75k5KtHNnwCS2Mt19/BmIB\n\tkynQZ+3vzvhQGctPP3nXJ1B5VqYaGq8VIKhJfUes32lNnaVo/g5J5wDdXB9g9exP3acQ41zFzVpr9\n\tG7/wuh5/TJPnITKCinEw==;","From":"Tony Lindgren <tony@atomide.com>","To":"linux-omap@vger.kernel.org","Subject":"[PATCH 08/10] ARM: dts: Add nodes for missing omap4 interconnect\n\ttarget modules","Date":"Wed, 20 Sep 2017 15:46:19 -0700","Message-Id":"<20170920224621.16236-9-tony@atomide.com>","X-Mailer":"git-send-email 2.14.1","In-Reply-To":"<20170920224621.16236-1-tony@atomide.com>","References":"<20170920224621.16236-1-tony@atomide.com>","MIME-Version":"1.0","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170920_154737_352553_517862EA ","X-CRM114-Status":"GOOD (  15.08  )","X-Spam-Score":"-1.9 (-)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"Mark Rutland <mark.rutland@arm.com>, devicetree@vger.kernel.org,\n\tNishanth Menon <nm@ti.com>,\n\tMatthijs van Duin <matthijsvanduin@gmail.com>, Tero Kristo\n\t<t-kristo@ti.com>, Tomi Valkeinen <tomi.valkeinen@ti.com>, Liam Girdwood\n\t<lgirdwood@gmail.com>, Rob Herring <robh+dt@kernel.org>, Mark Brown\n\t<broonie@kernel.org>, Sakari Ailus <sakari.ailus@iki.fi>, Laurent\n\tPinchart <laurent.pinchart@ideasonboard.com>, =?utf-8?b?QmVub8OudCBD?=\n\t=?utf-8?q?ousson?= <bcousson@baylibre.com>,\n\tMauro Carvalho Chehab <mchehab@kernel.org>,\n\tPaul Walmsley <paul@pwsan.com>,  linux-arm-kernel@lists.infradead.org","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"},"content":"On omap4 we are missing dts nodes for several interconnect target\nmodules that we are idling on init. This currently works with the\nlegacy platform data still around.\n\nTo fix this, let's add the interconnect target modules so we can\nidle the unused interconnect target module on init.\n\nAlso note that adding the interconnect target module node does not\nnecessarily mean that there is a driver available for the child IP\nblock, or that the child IP block is even functional.\n\nIn the SGX case, the PowerVR driver is closed source. And McASP on\nomap4 has at least the TX path disabled and is not supported by the\ndavinci-mcasp driver. For AESS there is old Android 3.4 kernel\ndriver available but it's unlikely that anybody is going to update\nit for the mainline kernel.\n\nFor smarflex, we are still probing with platform data and the\ndriver needs more work before we can add the device ip child nodes.\n\nAnd finally, we're not yet using the interconnet ranges. I will\nbe posting separate patches for those later on.\n\nCc: Benoît Cousson <bcousson@baylibre.com>\nCc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nCc: Liam Girdwood <lgirdwood@gmail.com>\nCc: Mark Brown <broonie@kernel.org>\nCc: Mark Rutland <mark.rutland@arm.com>\nCc: Mauro Carvalho Chehab <mchehab@kernel.org>\nCc: Nishanth Menon <nm@ti.com>\nCc: Matthijs van Duin <matthijsvanduin@gmail.com>\nCc: Paul Walmsley <paul@pwsan.com>\nCc: Peter Ujfalusi <peter.ujfalusi@ti.com>\nCc: Rob Herring <robh+dt@kernel.org>\nCc: Sakari Ailus <sakari.ailus@iki.fi>\nCc: Tero Kristo <t-kristo@ti.com>\nCc: Tomi Valkeinen <tomi.valkeinen@ti.com>\nSigned-off-by: Tony Lindgren <tony@atomide.com>\n---\n arch/arm/boot/dts/omap4.dtsi | 179 ++++++++++++++++++++++++++++++++++++++++---\n 1 file changed, 167 insertions(+), 12 deletions(-)","diff":"diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi\n--- a/arch/arm/boot/dts/omap4.dtsi\n+++ b/arch/arm/boot/dts/omap4.dtsi\n@@ -392,6 +392,21 @@\n \t\t\t#interrupt-cells = <2>;\n \t\t};\n \n+\t\ttarget-module@48076000 {\n+\t\t\tcompatible = \"ti,sysc-type2\";\n+\t\t\tti,hwmods = \"slimbus2\";\n+\t\t\treg = <0x48076000 0x4>,\n+\t\t\t      <0x48076010 0x4>;\n+\t\t\treg-names = \"rev\", \"sysc\";\n+\t\t\tclocks = <&l4_per_clkctrl OMAP4_SLIMBUS2_CLKCTRL 0>;\n+\t\t\tclock-names = \"clkctrl\";\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <1>;\n+\t\t\tranges = <0 0x48076000 0x001000>;\n+\n+\t\t\t/* No child device binding or driver in mainline */\n+\t\t};\n+\n \t\telm: elm@48078000 {\n \t\t\tcompatible = \"ti,am3352-elm\";\n \t\t\treg = <0x48078000 0x2000>;\n@@ -452,25 +467,61 @@\n \t\t\tclock-frequency = <48000000>;\n \t\t};\n \n-\t\tsmartreflex_iva: smartreflex@4a0db000 {\n-\t\t\tcompatible = \"ti,omap4-smartreflex-iva\";\n-\t\t\treg = <0x4a0db000 0x80>;\n-\t\t\tinterrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;\n+\t\ttarget-module@4a0db000 {\n+\t\t\tcompatible = \"ti,sysc-sr\";\n \t\t\tti,hwmods = \"smartreflex_iva\";\n+\t\t\treg = <0x4a0db000 0x4>,\n+\t\t\t      <0x4a0db008 0x4>;\n+\t\t\treg-names = \"rev\", \"sysc\";\n+\t\t\tclocks = <&l4_ao_clkctrl OMAP4_SMARTREFLEX_IVA_CLKCTRL 0>;\n+\t\t\tclock-names = \"clkctrl\";\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <1>;\n+\t\t\tranges = <0 0x4a0db000 0x001000>;\n+\n+\t\t\tsmartreflex_iva: smartreflex@0 {\n+\t\t\t\tcompatible = \"ti,omap4-smartreflex-iva\";\n+\t\t\t\treg = <0 0x80>;\n+\t\t\t\tinterrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;\n+\t\t\t};\n \t\t};\n \n-\t\tsmartreflex_core: smartreflex@4a0dd000 {\n-\t\t\tcompatible = \"ti,omap4-smartreflex-core\";\n-\t\t\treg = <0x4a0dd000 0x80>;\n-\t\t\tinterrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;\n+\t\ttarget-module@4a0dd000 {\n+\t\t\tcompatible = \"ti,sysc-sr\";\n \t\t\tti,hwmods = \"smartreflex_core\";\n+\t\t\treg = <0x4a0dd000 0x4>,\n+\t\t\t      <0x4a0dd008 0x4>;\n+\t\t\treg-names = \"rev\", \"sysc\";\n+\t\t\tclocks = <&l4_ao_clkctrl OMAP4_SMARTREFLEX_CORE_CLKCTRL 0>;\n+\t\t\tclock-names = \"clkctrl\";\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <1>;\n+\t\t\tranges = <0 0x4a0dd000 0x001000>;\n+\n+\t\t\tsmartreflex_core: smartreflex@0 {\n+\t\t\t\tcompatible = \"ti,omap4-smartreflex-core\";\n+\t\t\t\treg = <0 0x80>;\n+\t\t\t\tinterrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;\n+\t\t\t};\n \t\t};\n \n-\t\tsmartreflex_mpu: smartreflex@4a0d9000 {\n-\t\t\tcompatible = \"ti,omap4-smartreflex-mpu\";\n-\t\t\treg = <0x4a0d9000 0x80>;\n-\t\t\tinterrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;\n+\t\ttarget-module@4a0d9000 {\n+\t\t\tcompatible = \"ti,sysc-sr\";\n \t\t\tti,hwmods = \"smartreflex_mpu\";\n+\t\t\treg = <0x4a0d9000 0x4>,\n+\t\t\t      <0x4a0d9008 0x4>;\n+\t\t\treg-names = \"rev\", \"sysc\";\n+\t\t\tclocks = <&l4_ao_clkctrl OMAP4_SMARTREFLEX_MPU_CLKCTRL 0>;\n+\t\t\tclock-names = \"clkctrl\";\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <1>;\n+\t\t\tranges = <0 0x4a0d9000 0x001000>;\n+\n+\t\t\tsmartreflex_mpu: smartreflex@0 {\n+\t\t\t\tcompatible = \"ti,omap4-smartreflex-mpu\";\n+\t\t\t\treg = <0 0x80>;\n+\t\t\t\tinterrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;\n+\t\t\t};\n \t\t};\n \n \t\thwspinlock: spinlock@4a0f6000 {\n@@ -676,6 +727,21 @@\n \t\t\t#iommu-cells = <0>;\n \t\t};\n \n+\t\ttarget-module@52000000 {\n+\t\t\tcompatible = \"ti,sysc-type2\";\n+\t\t\tti,hwmods = \"iss\";\n+\t\t\treg = <0x52000000 0x4>,\n+\t\t\t      <0x52000010 0x4>;\n+\t\t\treg-names = \"rev\", \"sysc\";\n+\t\t\tclocks = <&iss_clkctrl OMAP4_ISS_CLKCTRL 0>;\n+\t\t\tclock-names = \"clkctrl\";\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <1>;\n+\t\t\tranges = <0 0x52000000 0x1000000>;\n+\n+\t\t\t/* No child device binding, driver in staging */\n+\t\t};\n+\n \t\tmmu_ipu: mmu@55082000 {\n \t\t\tcompatible = \"ti,omap4-iommu\";\n \t\t\treg = <0x55082000 0x100>;\n@@ -770,6 +836,62 @@\n \t\t\tstatus = \"disabled\";\n \t\t};\n \n+\t\ttarget-module@40128000 {\n+\t\t\tcompatible = \"ti,sysc-mcasp\";\n+\t\t\tti,hwmods = \"mcasp\";\n+\t\t\treg = <0x40128004 0x4>;\n+\t\t\treg-names = \"sysc\";\n+\t\t\tclocks = <&abe_clkctrl OMAP4_MCASP_CLKCTRL 0>;\n+\t\t\tclock-names = \"clkctrl\";\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <1>;\n+\t\t\tranges = <0x00000000 0x40128000 0x1000>, /* MPU */\n+\t\t\t\t <0x49028000 0x49028000 0x1000>; /* L3 */\n+\n+\t\t\t/*\n+\t\t\t * Child device unsupported by davinci-mcasp. At least\n+\t\t\t * TX path is disabled for omap4, and only DIT mode\n+\t\t\t * works with no I2S. See also old Android kernel\n+\t\t\t * omap-mcasp driver for more information.\n+\t\t\t */\n+\t\t};\n+\n+\t\ttarget-module@4012c000 {\n+\t\t\tcompatible = \"ti,sysc-type2\";\n+\t\t\tti,hwmods = \"slimbus1\";\n+\t\t\treg = <0x4012c000 0x4>,\n+\t\t\t      <0x4012c010 0x4>;\n+\t\t\treg-names = \"rev\", \"sysc\";\n+\t\t\tclocks = <&abe_clkctrl OMAP4_SLIMBUS1_CLKCTRL 0>;\n+\t\t\tclock-names = \"clkctrl\";\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <1>;\n+\t\t\tranges = <0x00000000 0x4012c000 0x1000>, /* MPU */\n+\t\t\t\t <0x4902c000 0x4902c000 0x1000>; /* L3 */\n+\n+\t\t\t/* No child device binding or driver in mainline */\n+\t\t};\n+\n+\t\ttarget-module@401f1000 {\n+\t\t\tcompatible = \"ti,sysc-type2\";\n+\t\t\tti,hwmods = \"aess\";\n+\t\t\treg = <0x401f1000 0x4>,\n+\t\t\t      <0x401f1010 0x4>;\n+\t\t\treg-names = \"rev\", \"sysc\";\n+\t\t\tclocks = <&abe_clkctrl OMAP4_AESS_CLKCTRL 0>;\n+\t\t\tclock-names = \"clkctrl\";\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <1>;\n+\t\t\tranges = <0x00000000 0x401f1000 0x1000>, /* MPU */\n+\t\t\t\t <0x490f1000 0x490f1000 0x1000>; /* L3 */\n+\n+\t\t\t/*\n+\t\t\t * No child device binding or driver in mainline.\n+\t\t\t * See Android tree and related upstreaming efforts\n+\t\t\t * for the old driver.\n+\t\t\t */\n+\t\t};\n+\n \t\tmcbsp4: mcbsp@48096000 {\n \t\t\tcompatible = \"ti,omap4-mcbsp\";\n \t\t\treg = <0x48096000 0xff>; /* L4 Interconnect */\n@@ -858,6 +980,21 @@\n \t\t\t};\n \t\t};\n \n+\t\ttarget-module@4a10a000 {\n+\t\t\tcompatible = \"ti,sysc-type2\";\n+\t\t\tti,hwmods = \"fdif\";\n+\t\t\treg = <0x4a10a000 0x4>,\n+\t\t\t      <0x4a10a010 0x4>;\n+\t\t\treg-names = \"rev\", \"sysc\";\n+\t\t\tclocks = <&iss_clkctrl OMAP4_FDIF_CLKCTRL 0>;\n+\t\t\tclock-names = \"clkctrl\";\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <1>;\n+\t\t\tranges = <0 0x4a10a000 0x1000>;\n+\n+\t\t\t/* No child device binding or driver in mainline */\n+\t\t};\n+\n \t\ttimer1: timer@4a318000 {\n \t\t\tcompatible = \"ti,omap3430-timer\";\n \t\t\treg = <0x4a318000 0x80>;\n@@ -1075,6 +1212,24 @@\n \t\t\tstatus = \"disabled\";\n \t\t};\n \n+\t\ttarget-module@56000000 {\n+\t\t\tcompatible = \"ti,sysc-type2\";\n+\t\t\tti,hwmods = \"gpu\";\n+\t\t\treg = <0x5601fc00 0x4>,\n+\t\t\t      <0x5601fc10 0x4>;\n+\t\t\treg-names = \"rev\", \"sysc\";\n+\t\t\tclocks = <&l3_gfx_clkctrl OMAP4_GPU_CLKCTRL 0>;\n+\t\t\tclock-names = \"clkctrl\";\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <1>;\n+\t\t\tranges = <0 0x56000000 0x2000000>;\n+\n+\t\t\t/*\n+\t\t\t * Closed source PowerVR driver, no child device\n+\t\t\t * binding or driver in mainline\n+\t\t\t */\n+\t\t};\n+\n \t\tdss: dss@58000000 {\n \t\t\tcompatible = \"ti,omap4-dss\";\n \t\t\treg = <0x58000000 0x80>;\n","prefixes":["08/10"]}