{"id":807679,"url":"http://patchwork.ozlabs.org/api/1.0/patches/807679/?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":"<20170830151953.30856-9-tony@atomide.com>","date":"2017-08-30T15:19:44","name":"[08/17] ARM: dts: Add missing hsi node for omap4","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":true,"hash":"7cd5e12fa0dfe223ba7299e7490cd2d1e3a126d8","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/20170830151953.30856-9-tony@atomide.com/mbox/","series":[{"id":635,"url":"http://patchwork.ozlabs.org/api/1.0/series/635/?format=json","date":"2017-08-30T15:19:36","name":"Fix missing device tree hwmods and IO ranges omap variants","version":1,"mbox":"http://patchwork.ozlabs.org/series/635/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/807679/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 3xj8MG5nhJz9sN7\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 01:20:10 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751456AbdH3PUH (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tWed, 30 Aug 2017 11:20:07 -0400","from muru.com ([72.249.23.125]:38802 \"EHLO muru.com\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751557AbdH3PUE (ORCPT <rfc822;devicetree@vger.kernel.org>);\n\tWed, 30 Aug 2017 11:20:04 -0400","from sampyla.muru.com (localhost [127.0.0.1])\n\tby muru.com (Postfix) with ESMTP id 3EEA483D4;\n\tWed, 30 Aug 2017 15:20:26 +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, Mark Rutland <mark.rutland@arm.com>, \n\tRob Herring <robh+dt@kernel.org>, Sebastian Reichel <sre@kernel.org>","Subject":"[PATCH 08/17] ARM: dts: Add missing hsi node for omap4","Date":"Wed, 30 Aug 2017 08:19:44 -0700","Message-Id":"<20170830151953.30856-9-tony@atomide.com>","X-Mailer":"git-send-email 2.14.1","In-Reply-To":"<20170830151953.30856-1-tony@atomide.com>","References":"<20170830151953.30856-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: Mark Rutland <mark.rutland@arm.com>\nCc: Rob Herring <robh+dt@kernel.org>\nCc: Sebastian Reichel <sre@kernel.org>\nSigned-off-by: Tony Lindgren <tony@atomide.com>\n---\n Documentation/devicetree/bindings/hsi/omap-ssi.txt |  7 ++++-\n arch/arm/boot/dts/omap4.dtsi                       | 34 ++++++++++++++++++++++\n 2 files changed, 40 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@@ -27,6 +27,7 @@ Each port is represented as a sub-node of the ti,omap3-ssi device.\n Required Port sub-node properties:\n - compatible:\t\tShould be set to the following value\n \t\t\tti,omap3-ssi-port (applicable to OMAP34xx devices)\n+\t\t\tti,omap4-ssi-port (applicable to OMAP44xx devices)\n - reg-names:\t\tContains the values \"tx\" and \"rx\" (in this order).\n - reg:\t\t\tContains a matching register specifier for each entry\n \t\t\tin reg-names.\n@@ -38,6 +39,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,40 @@\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\t      <0x4a05c000 0x1000>;\n+\t\t\treg-names = \"sys\", \"gdd\";\n+\t\t\tti,hwmods = \"hsi\";\n+\n+\t\t\tclocks = <&hsi_fck>;\n+\t\t\tclock-names = \"hsi_fck\";\n+\n+\t\t\tinterrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;\n+\t\t\tinterrupt-names = \"gdd_mpu\";\n+\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <1>;\n+\t\t\tranges = <0 0x4a058000 0x4000>;\n+\n+\t\t\thsi_port1: hsi-port@2000 {\n+\t\t\t\tcompatible = \"ti,omap4-hsi-port\";\n+\t\t\t\treg = <0x2000 0x800>,\n+\t\t\t\t      <0x2800 0x800>;\n+\t\t\t\treg-names = \"tx\", \"rx\";\n+\t\t\t\tinterrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;\n+\t\t\t};\n+\n+\t\t\thsi_port2: hsi-port@3000 {\n+\t\t\t\tcompatible = \"ti,omap4-hsi-port\";\n+\t\t\t\treg = <0x3000 0x800>,\n+\t\t\t\t      <0x3800 0x800>;\n+\t\t\t\treg-names = \"tx\", \"rx\";\n+\t\t\t\tinterrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;\n+\t\t\t};\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"]}