{"id":806779,"url":"http://patchwork.ozlabs.org/api/1.0/patches/806779/?format=json","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/1.0/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20170828211918.11573-17-tony@atomide.com>","date":"2017-08-28T21:19:17","name":"[16/17] ARM: dts: Add missing hwmod related nodes for am33xx","commit_ref":null,"pull_url":null,"state":"superseded","archived":true,"hash":"6a75adce735430979ab4c738be0d17594375020f","submitter":{"id":365,"url":"http://patchwork.ozlabs.org/api/1.0/people/365/?format=json","name":"Tony Lindgren","email":"tony@atomide.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170828211918.11573-17-tony@atomide.com/mbox/","series":[{"id":261,"url":"http://patchwork.ozlabs.org/api/1.0/series/261/?format=json","date":"2017-08-28T21:19:01","name":"Fix missing device tree hwmods and IO ranges omap variants","version":1,"mbox":"http://patchwork.ozlabs.org/series/261/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/806779/checks/","tags":{},"headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xh4tw5nzKz9t5q\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 07:40:24 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751346AbdH1VUN (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tMon, 28 Aug 2017 17:20:13 -0400","from muru.com ([72.249.23.125]:38274 \"EHLO muru.com\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751336AbdH1VUM (ORCPT <rfc822;devicetree@vger.kernel.org>);\n\tMon, 28 Aug 2017 17:20:12 -0400","from sampyla.muru.com (localhost [127.0.0.1])\n\tby muru.com (Postfix) with ESMTP id 784388487;\n\tMon, 28 Aug 2017 21:20:32 +0000 (UTC)"],"From":"Tony Lindgren <tony@atomide.com>","To":"linux-omap@vger.kernel.org","Cc":"=?utf-8?q?Beno=C3=AEt_Cousson?= <bcousson@baylibre.com>,\n\tdevicetree@vger.kernel.org","Subject":"[PATCH 16/17] ARM: dts: Add missing hwmod related nodes for am33xx","Date":"Mon, 28 Aug 2017 14:19:17 -0700","Message-Id":"<20170828211918.11573-17-tony@atomide.com>","X-Mailer":"git-send-email 2.14.1","In-Reply-To":"<20170828211918.11573-1-tony@atomide.com>","References":"<20170828211918.11573-1-tony@atomide.com>","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"On am33xx we're missing the pmu and emif nodes with their related\n\"ti,hwmods\" properties that the SoC interconnect code needs.\n\nNote that this will only show up as a bug with \"doesn't have\nmpu register target base\" boot errors when the legacy platform\ndata is removed.\n\nLet's also update the related binding documentation while at it.\n\nSigned-off-by: Tony Lindgren <tony@atomide.com>\n---\n .../devicetree/bindings/memory-controllers/ti/emif.txt         |  6 ++++--\n arch/arm/boot/dts/am33xx.dtsi                                  | 10 +++++++++-\n 2 files changed, 13 insertions(+), 3 deletions(-)","diff":"diff --git a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt\n--- a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt\n+++ b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt\n@@ -7,8 +7,10 @@ of the EMIF IP and memory parts attached to it.\n \n Required properties:\n - compatible\t: Should be of the form \"ti,emif-<ip-rev>\" where <ip-rev>\n-  is the IP revision of the specific EMIF instance.\n-\t\t  For am437x should be ti,emif-am4372.\n+  is the IP revision of the specific EMIF instance. For newer controllers,\n+  compatible should be one of the following:\n+  \t     \"ti,emif-am3352\"\n+\t     \"ti,emif-am4372\"\n \n - phy-type\t: <u32> indicating the DDR phy type. Following are the\n   allowed values\ndiff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi\n--- a/arch/arm/boot/dts/am33xx.dtsi\n+++ b/arch/arm/boot/dts/am33xx.dtsi\n@@ -128,9 +128,11 @@\n \t\t};\n \t};\n \n-\tpmu {\n+\tpmu@4b000000 {\n \t\tcompatible = \"arm,cortex-a8-pmu\";\n \t\tinterrupts = <3>;\n+\t\treg = <0x4b000000 0x1000000>;\n+\t\tti,hwmods = \"debugss\";\n \t};\n \n \t/*\n@@ -927,6 +929,12 @@\n \t\t\t};\n \t\t};\n \n+\t\temif: emif@4c000000 {\n+\t\t\tcompatible = \"ti,emif-am3352\";\n+\t\t\treg = <0x4c000000 0x1000000>;\n+\t\t\tti,hwmods = \"emif\";\n+\t\t};\n+\n \t\tgpmc: gpmc@50000000 {\n \t\t\tcompatible = \"ti,am3352-gpmc\";\n \t\t\tti,hwmods = \"gpmc\";\n","prefixes":["16/17"]}