From patchwork Wed Aug 30 15:19:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 9930011 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B7D2860383 for ; Wed, 30 Aug 2017 15:20:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 807E328703 for ; Wed, 30 Aug 2017 15:20:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 777CA28791; Wed, 30 Aug 2017 15:20:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7ABB32870E for ; Wed, 30 Aug 2017 15:20:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751519AbdH3PUE (ORCPT ); Wed, 30 Aug 2017 11:20:04 -0400 Received: from muru.com ([72.249.23.125]:38794 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751456AbdH3PUC (ORCPT ); Wed, 30 Aug 2017 11:20:02 -0400 Received: from sampyla.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 1BA308359; Wed, 30 Aug 2017 15:20:24 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , devicetree@vger.kernel.org, Liam Girdwood , Mark Brown , Mark Rutland , Peter Ujfalusi , Rob Herring Subject: [PATCH 06/17] ARM: dts: Add missing slimbus node and binding for omap4 Date: Wed, 30 Aug 2017 08:19:42 -0700 Message-Id: <20170830151953.30856-7-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: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On omap4 we're missing the slimbus node and it's related "ti,hwmods" property that the SoC interconnect code needs. Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed. Let's also add the missing slimbus device tree binding documentation while at it. Cc: Liam Girdwood Cc: Mark Brown Cc: Mark Rutland Cc: Peter Ujfalusi Cc: Rob Herring Signed-off-by: Tony Lindgren --- .../devicetree/bindings/sound/ti-slimbus.txt | 34 ++++++++++++++++++++++ arch/arm/boot/dts/omap4.dtsi | 17 +++++++++++ 2 files changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/ti-slimbus.txt diff --git a/Documentation/devicetree/bindings/sound/ti-slimbus.txt b/Documentation/devicetree/bindings/sound/ti-slimbus.txt new file mode 100644 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/ti-slimbus.txt @@ -0,0 +1,34 @@ +Texas Instruments Serial Low-power Inter-chip Media Bus (SLIMbus) binding + +SLIMbus is used for communication between digital audio components and the SoC. + + +Required properties: + +compatible: Shall be one of the following: + "ti,omap4-slimbus" + +reg: Shall contain the device instance IO range + +interrupts: Shall contain the device instance interrupt + + +Optional properties: + +reg-names: Shall contain the IO range names if multiple IO + ranges are used by the SoC + +ti,hwmods: Shall contain the TI interconnect module name if needed + by the SoC + + +Example: + + slimbus1: slimbus@4012c000 { + compatible = "ti,omap4-slimbus"; + reg = <0x4012c000 0x400>, /* MPU private access */ + <0x4902c000 0x400>; /* L3 Interconnect */ + reg-names = "mpu", "dma"; + interrupts = ; + ti,hwmods = "slimbus1"; + }; diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -382,6 +382,14 @@ #interrupt-cells = <2>; }; + slimbus2: slimbus@48076000 { + compatible = "ti,omap4-slimbus"; + reg = <0x48076000 0x400>; + reg-names = "mpu"; + interrupts = ; + ti,hwmods = "slimbus2"; + }; + elm: elm@48078000 { compatible = "ti,am3352-elm"; reg = <0x48078000 0x2000>; @@ -711,6 +719,15 @@ status = "disabled"; }; + slimbus1: slimbus@4012c000 { + compatible = "ti,omap4-slimbus"; + reg = <0x4012c000 0x400>, /* MPU private access */ + <0x4902c000 0x400>; /* L3 Interconnect */ + reg-names = "mpu", "dma"; + interrupts = ; + ti,hwmods = "slimbus1"; + }; + mcbsp4: mcbsp@48096000 { compatible = "ti,omap4-mcbsp"; reg = <0x48096000 0xff>; /* L4 Interconnect */