From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D438C43381 for ; Wed, 27 Mar 2019 23:07:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 39F3520657 for ; Wed, 27 Mar 2019 23:07:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="M99LcGRc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 39F3520657 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ihyk/8umpiORpfOBnzZZIhzpUGfjzyM6Rwmr/Ki9sV8=; b=M99LcGRchgB4dq J+jrH1WeLIBChredW2j9yO8QlnLhLmbsCjlx7IDmUmAyPxVlD452tSiJwV8w2v+LMpQppJAVnV37v Sv+Kx91ki4LUAJAcuztmBjEy9aA64aBR2DSTIl/OOE7nkn/KVhstQqnTv2Wbbwj+yQCb6kUNG4YY7 ECbdhg1GiLNMDPsAuyVjsTIog259JWrqOpe7YrHy5mR2r0N/JzhzBoflNbu+QxMkoNYrTk+MUjZwM HJfBttrMCK4SKjj1Puhj7bV6Xlql1NspFo58ieIG9gy6gGuX0kQa3P5kUZTZUoTgL1ahCD6/MaT7C 47nSEv7Dsugj3l1LzuKQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9Hds-0006SM-Dg; Wed, 27 Mar 2019 23:07:32 +0000 Received: from mail-ot1-f65.google.com ([209.85.210.65]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9Hdm-0006RU-P4 for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 23:07:30 +0000 Received: by mail-ot1-f65.google.com with SMTP id e5so16529007otk.12 for ; Wed, 27 Mar 2019 16:07:24 -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=WOIvTZkyBewSM9hPCcfz1BOCmh+9VTusdQO/GI6NhU4=; b=OUdId8GyMDNpon00p+e0yDGScoT+gmhyD+0EtQ7Y8hS09gh/DJYHsbV8fa3f5AjTVo KBA+HxRLyA1Ruga98PkCsLyVK3VZ4KwAsGk9oBbmcNS07KfT6ljq3FRqp7ZGu4LPAcZw rUtUUHEZursUMvNG6aAmxgOib5Yc8haTRQK9ddRlFGmJTb445CAz//oGGjZcAT86OSNl AsqL5K/R482d9/IeF7Bi8ljE5IH/6WFqjgi4XsDr66zXEOOCfLxkUUjBYQ7S96V3wDtM V08tYSrmIKViU844VJMoQaqW8foUryaop1Td4KXvbDkwnqA9kYXh9hMwShz16FkYocuc //ug== X-Gm-Message-State: APjAAAXMgHdAz/7rpDXMECZZAL0A15rSbe3D6J5+6mqjTMXAiYH/f83c w8i+8KtTBcfWQ2ZA4OZMaA== X-Google-Smtp-Source: APXvYqyQncEU/wCGpKSUtn9FWrZTYXA9xm9Vpcs5bKyD8I4AFqjbedpUNACUeoqraP1sXUlECcUJBg== X-Received: by 2002:a9d:6408:: with SMTP id h8mr26065756otl.68.1553728043646; Wed, 27 Mar 2019 16:07:23 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id y1sm4430728ota.38.2019.03.27.16.07.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Mar 2019 16:07:22 -0700 (PDT) Date: Wed, 27 Mar 2019 18:07:22 -0500 From: Rob Herring To: Fabien Dessenne Subject: Re: [PATCH 1/8] dt-bindings: stm32: add bindings for ML-AHB interconnect Message-ID: <20190327230722.GA13708@bogus> References: <1551795849-13672-1-git-send-email-fabien.dessenne@st.com> <1551795849-13672-2-git-send-email-fabien.dessenne@st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1551795849-13672-2-git-send-email-fabien.dessenne@st.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190327_160726_811796_96807CE0 X-CRM114-Status: GOOD ( 18.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Ohad Ben-Cohen , Alexandre Torgue , Loic Pallardy , devicetree@vger.kernel.org, Arnaud Pouliquen , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Ludovic Barre , Maxime Coquelin , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Benjamin Gaignard Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Mar 05, 2019 at 03:24:02PM +0100, Fabien Dessenne wrote: > Document the ML-AHB interconnect for stm32 SoCs. > > Signed-off-by: Fabien Dessenne > --- > .../devicetree/bindings/arm/stm32/mlahb.txt | 30 ++++++++++++++++++++++ > 1 file changed, 30 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..880cb38 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/stm32/mlahb.txt > @@ -0,0 +1,30 @@ > +ML-AHB interconnect bindings > + > +These bindings describe the STM32 SoCs ML-AHB interconnect bus which connects > +a Cortex-M subsystem with dedicated memories. > + > +Required properties: > +- compatible: should be "simple-bus" A binding for simple-bus was the first thing that looked odd. > +- 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. Given that the driver is parsing ranges itself, this looks like abuse of ranges. What exactly is address 0 supposed to be here? If it is the M4's view of memory, then dma-ranges is what you want to use here. > + > +The Cortex-M remote processor accessed via the mlahb interconnect is described > +by a child node. > + > +Example: > +mlahb: mlahb@0 { Note that the unit-address is wrong here as it should be 38000000. > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0x00000000 0x38000000 0x10000>, > + <0x10000000 0x10000000 0x60000>, > + <0x30000000 0x30000000 0x60000>; > + > + m4_rproc: m4@0 { > + ... > + }; > +}; > -- > 2.7.4 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel