Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4230552yba; Mon, 29 Apr 2019 16:14:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjE4OQfAZb0puASWZdiqGFh48S2QzcXlb0pxr/GNwV9soII7Dwpil5LKgahJBaestuKtfU X-Received: by 2002:a65:5086:: with SMTP id r6mr35034317pgp.301.1556579675232; Mon, 29 Apr 2019 16:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556579675; cv=none; d=google.com; s=arc-20160816; b=kuJIDDJ50nUMA3pmgaMKY9cdauAEc3ksYej+Y3XK/jSPgilJgQ1t3ivMaC/akBw23f 64zZuH7J9p5t9V9vl7lcN270fZL+Du0PyvUqQ901Ngs0/53moEGAd7uIBwEySX3SQFx1 K/r68DlH5KTrAVzNOBZE6QNucXbxXcnfEzUX30aa4YovMpRmKkXGozxMwFpC+kjXjzpT ohZUb5qVn3l4nOl8vkuKRTFAG5umPlQEIHEntvyKOTs0LkwFCoQoACdmSIZsSfV8nO6e 1MrBeqJnzRNuTQU+ak8aQtNhY17fy1vptSluKB7ZgjLTDFsX4NE8Lh4j404lLSKBHLue OsLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1O8sBEArMyrhqwTcVLODqVK500uIwj8t/3xZEzr2rlE=; b=gffJR+hF3jHuL/RBPtASosGji6+hZ82t55PeEnRKYi5ZgGmaxUV3VhQHRQlfskX0mm 8zA8yIs1BTEAdGhabvgKj/T26APDwIrERtkIm1oDPxvuIxB1u1n1hAwfQ8OxijIbBzoc tah23uUCKAO7mqG3Y0Voa3LZtRJaOgi7S3VkK6ISPhBmwxfONBg2OpXERRLTm/0Yn8RR 5OMJUN+j9+r2WKihBkJaY3lStyY4kfk3hc7XoYtOhGhSvtVa8JpWKflrcJ8rgBBJYJOB N0BUp5W3bRX8PV9U+6nNesSXzU+egW8Hy1m9PZZRQyGJgKCcrunF0px2KKbk2F0vZvm/ XYng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5si10005671pgj.491.2019.04.29.16.14.16; Mon, 29 Apr 2019 16:14:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729687AbfD2XNT (ORCPT + 99 others); Mon, 29 Apr 2019 19:13:19 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:41484 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729620AbfD2XNS (ORCPT ); Mon, 29 Apr 2019 19:13:18 -0400 Received: by mail-ot1-f67.google.com with SMTP id g8so9255139otl.8; Mon, 29 Apr 2019 16:13:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=1O8sBEArMyrhqwTcVLODqVK500uIwj8t/3xZEzr2rlE=; b=oqaq6xuegt4KOwgAtlREALpM64s28IhrijvHmG1YDXL3L2Vxt0Vk7TIvt1bQfBR35J b3mA0zEaaEfDr8qC5+9+cJEpObmnbjby8rblONIif2LHQyh3AtT7XjSXWzgdywI5+oQ7 ZHVfh+VVuyfYq9OeNpv8uxjdZR709aLnHYxxgN6gsVlP5FZXTrMx5tE7YN31nmJePJhF sXYChZWEPXaxdodmLBCZMcrRWlUfoV+Ln+GLEJGO/JaTfhQpesb4/EyEjSC08LjkqZ8b F/Y3k+yfUSQ6lLSLRqjnEsyQ3aeWonwWod6wIDCY0RF2lBOAJhOloeuoWNP6KvK6PRUq 4lgg== X-Gm-Message-State: APjAAAUcmaOoej4BAptjQyMM5dwq9BypqGgk9vvkMwMQzt9aXQJqZ6oL 5snLjj4G/dhuhfjqI09JvQ== X-Received: by 2002:a05:6830:20c4:: with SMTP id z4mr1561007otq.27.1556579597678; Mon, 29 Apr 2019 16:13:17 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id f18sm13702399otl.51.2019.04.29.16.13.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Apr 2019 16:13:16 -0700 (PDT) Date: Mon, 29 Apr 2019 18:13:16 -0500 From: Rob Herring To: Fabien Dessenne Cc: Mark Rutland , Maxime Coquelin , Alexandre Torgue , Ohad Ben-Cohen , Bjorn Andersson , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, Loic Pallardy , Arnaud Pouliquen , Ludovic Barre , Benjamin Gaignard Subject: Re: [PATCH v2 1/8] dt-bindings: stm32: add bindings for ML-AHB interconnect Message-ID: <20190429231316.GA13995@bogus> References: <1555426699-5340-1-git-send-email-fabien.dessenne@st.com> <1555426699-5340-2-git-send-email-fabien.dessenne@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1555426699-5340-2-git-send-email-fabien.dessenne@st.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 16, 2019 at 04:58:12PM +0200, Fabien Dessenne wrote: > Document the ML-AHB interconnect for stm32 SoCs. > > Signed-off-by: Fabien Dessenne > --- > .../devicetree/bindings/arm/stm32/mlahb.txt | 37 ++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/stm32/mlahb.txt > > diff --git a/Documentation/devicetree/bindings/arm/stm32/mlahb.txt b/Documentation/devicetree/bindings/arm/stm32/mlahb.txt > new file mode 100644 > index 0000000..a36458a > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/stm32/mlahb.txt > @@ -0,0 +1,37 @@ > +ML-AHB interconnect bindings > + > +These bindings describe the STM32 SoCs ML-AHB interconnect bus which connects > +a Cortex-M subsystem with dedicated memories. > +The MCU SRAM and RETRAM memory parts can be accessed through different addresses > +(see "RAM aliases" in [1]) using different buses (see [2]) : balancing the > +Cortex-M firmware accesses among those ports allows to tune the system > +performance. > + > +[1]: https://www.st.com/resource/en/reference_manual/dm00327659.pdf > +[2]: https://wiki.st.com/stm32mpu/wiki/STM32MP15_RAM_mapping > + > +Required properties: > +- compatible: should be "simple-bus" > +- dma-ranges: describes memory addresses translation between the local CPU and > + the remote Cortex-M processor. Each memory region, is declared with > + 3 parameters: > + - param 1: device base address (Cortex-M processor address) > + - param 2: physical base address (local CPU address) > + - param 3: size of the memory region. > + > +The Cortex-M remote processor accessed via the mlahb interconnect is described > +by a child node. > + > +Example: > +mlahb { > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + dma-ranges = <0x00000000 0x38000000 0x10000>, > + <0x10000000 0x10000000 0x60000>, > + <0x30000000 0x30000000 0x60000>; > + > + m4_rproc: m4@0 { '0' is a cpu address given there's no 'ranges' now for translating cpu addresses. I think you want it to be 0x38000000 instead. > + ... > + }; > +}; > -- > 2.7.4 >