{"id":806781,"url":"http://patchwork.ozlabs.org/api/1.0/patches/806781/?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-9-tony@atomide.com>","date":"2017-08-28T21:19:09","name":"[08/17] ARM: dts: Add missing hsi node for omap4","commit_ref":null,"pull_url":null,"state":"superseded","archived":true,"hash":"ed002e51dab297d8d8760f47a4440202f3d7c524","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-9-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/806781/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 3xh4yN53f0z9sP3\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 07:43:12 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751319AbdH1VUF (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tMon, 28 Aug 2017 17:20:05 -0400","from muru.com ([72.249.23.125]:38212 \"EHLO muru.com\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751249AbdH1VUD (ORCPT <rfc822;devicetree@vger.kernel.org>);\n\tMon, 28 Aug 2017 17:20:03 -0400","from sampyla.muru.com (localhost [127.0.0.1])\n\tby muru.com (Postfix) with ESMTP id 8A51A8619;\n\tMon, 28 Aug 2017 21:20:23 +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, Sebastian Reichel <sre@kernel.org>","Subject":"[PATCH 08/17] ARM: dts: Add missing hsi node for omap4","Date":"Mon, 28 Aug 2017 14:19:09 -0700","Message-Id":"<20170828211918.11573-9-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 omap4 we're missing the hsi node with it's related \"ti,hwmods\"\nproperty 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 binding accrodingly while at it.\n\nCc: Sebastian Reichel <sre@kernel.org>\nSigned-off-by: Tony Lindgren <tony@atomide.com>\n---\n Documentation/devicetree/bindings/hsi/omap-ssi.txt | 6 +++++-\n arch/arm/boot/dts/omap4.dtsi                       | 9 +++++++++\n 2 files changed, 14 insertions(+), 1 deletion(-)","diff":"diff --git a/Documentation/devicetree/bindings/hsi/omap-ssi.txt b/Documentation/devicetree/bindings/hsi/omap-ssi.txt\n--- a/Documentation/devicetree/bindings/hsi/omap-ssi.txt\n+++ b/Documentation/devicetree/bindings/hsi/omap-ssi.txt\n@@ -4,7 +4,7 @@ OMAP Synchronous Serial Interface (SSI) controller implements a legacy\n variant of MIPI's High Speed Synchronous Serial Interface (HSI).\n \n Required properties:\n-- compatible:\t\tShould include \"ti,omap3-ssi\".\n+- compatible:\t\tShould include \"ti,omap3-ssi\" or \"ti,omap4-hsi\"\n - reg-names:\t\tContains the values \"sys\" and \"gdd\" (in this order).\n - reg:\t\t\tContains a matching register specifier for each entry\n \t\t\tin reg-names.\n@@ -38,6 +38,10 @@ Required Port sub-node properties:\n \t\t\tproperty. If it's missing the port will not be\n \t\t\tenabled.\n \n+Optional properties:\n+- ti,hwmods:\t\tShall contain TI interconnect module name if needed\n+\t\t\tby the SoC\n+\n Example for Nokia N900:\n \n ssi-controller@48058000 {\ndiff --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@@ -632,6 +632,15 @@\n \t\t\tdma-names = \"tx\", \"rx\";\n \t\t};\n \n+\t\thsi: hsi@4a058000 {\n+\t\t\tcompatible = \"ti,omap4-hsi\";\n+\t\t\treg = <0x4a058000 0x4000>;\n+\t\t\tinterrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,\n+\t\t\t\t     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,\n+\t\t\t\t     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;\n+\t\t\tti,hwmods = \"hsi\";\n+\t\t};\n+\n \t\tmmu_dsp: mmu@4a066000 {\n \t\t\tcompatible = \"ti,omap4-iommu\";\n \t\t\treg = <0x4a066000 0x100>;\n","prefixes":["08/17"]}