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=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 46E20C43603 for ; Fri, 13 Dec 2019 22:30:53 +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 1F26220706 for ; Fri, 13 Dec 2019 22:30:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Rsk3Ylie"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="jfu4oP1a"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="mW8j3UAf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1F26220706 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech 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-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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=w9iTLZVhnCN5WLLsVBmEPTEzkWToLIJ79gbCLY31faM=; b=Rsk3YlieMQ7qPuhad1II8Qw6H 95fbEPOEkIJx18srlCpQIxlkctEhmRWsb/OSNKJXvnciQ8QTRARkM/T+PdnETuI/PNuZ6QJDKsYNC HszOX+D1Eer9AMDgqi3m+GUt2MEogmGhlw7nsyis8z9ChyPXDHAzZYgMDpFdrv3WAQF3Vweqg2+SG bQU2VUXD6FQtyEhcFgR4IaexFK5OHDIB8M1aXmd8aFICYGk1GJISOt0l4AUWgT4lPw7R3UBxDe8b5 HjB3SlWsIcDiGz578TgfOmZi6U+ByLIYIyAARGo1vifuSKUyk+BhEguyA+lJmccKTYc41q+bRTZlU PIn4OWpiw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ifnfD-00039B-Ss; Fri, 13 Dec 2019 16:19:35 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ifnf9-00038e-TT for linux-arm-kernel@lists.infradead.org; Fri, 13 Dec 2019 16:19:34 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 3998822622; Fri, 13 Dec 2019 11:19:29 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 13 Dec 2019 11:19:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=i/sJlT3h4PqYR1UBpYvuE7hMhIl 2DqqsDFyV/lXybms=; b=jfu4oP1aKuqCdMEwgYngaJDa9U7roo1n+eeU4/aoi0k TRKOHuW0/CsvGXA2Bs9ZvgsHL6nVYwW5XPkzheiJ3Pq7LKUdMIUC/vv1ec3w+Tcu SsxyrrpGGwlAHOHf0aFi1sPH9caZnCsUen9SRRI7Z6uq3gurGgJiztjVka3a06/v Ji0xNujwQuzaLIJ80Qn10oRBkvHE9ssHVaY+zQQodp4FfBKNuqr62LQ8j6ojuPa2 eNxUbLzcqb35nz+ZmNZJOEutZT1CpKlDyxwubYJPjMJ3WZ6okVu6ZnLf6L7qcq+V njHLCC4+Udvhve4x6XBfTA3L+lWm66ygmNA/0qNIwuA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=i/sJlT 3h4PqYR1UBpYvuE7hMhIl2DqqsDFyV/lXybms=; b=mW8j3UAf+WwTiSoteltXS1 JRXjgzusHb6YnqnXhQmzR+JhUCepYza6Vgl6jeQ6yWhWeF7tWMmUvKhgN4gSgAno tBpG6XCjmjuwmEfazOUDJStfbe1ZpcWRDuOKnHSB+vkRUnuZV80RNqytyhRYg/4Z txwntd4x4uKlPirQSlj6vesmymRt8DRfMa/Ub2adBnzsWCXsUTAbUAQOgPfCZjDL Ep+YziByHWGF53ILnTqXmFZJZBHwKNn/Qu4YNcgbiy+WFLYS2yTtrzhFGPiHDg2J AqrXoZsm9xibZiAP5oYgiQAILtKgwxuk9fIp34Ygu9V2hz484Z/3zE+J4vfYQ/4Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudelledgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuffhomhgrih hnpeguvghvihgtvghtrhgvvgdrohhrghenucfkphepledtrdekledrieekrdejieenucfr rghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthhenucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 246178005B; Fri, 13 Dec 2019 11:19:28 -0500 (EST) Date: Fri, 13 Dec 2019 17:19:25 +0100 From: Maxime Ripard To: Frank Lee Subject: Re: [PATCH] dt-bindings: interconnect: Convert Allwinner MBUS controller to a schema Message-ID: <20191213161925.33zaksfs5qnfmsdg@gilmour.lan> References: <20191213074533.27048-1-maxime@cerno.tech> MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191213_081932_388486_2B6C502A X-CRM114-Status: GOOD ( 17.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree , Linux PM , Chen-Yu Tsai , Rob Herring , Frank Rowand , georgi.djakov@linaro.org, Linux ARM Content-Type: multipart/mixed; boundary="===============7030706863396579290==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7030706863396579290== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dm365wf27dl23ps2" Content-Disposition: inline --dm365wf27dl23ps2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Dec 13, 2019 at 11:41:46PM +0800, Frank Lee wrote: > On Fri, Dec 13, 2019 at 3:45 PM Maxime Ripard wrote: > > > > The older Allwinner SoCs have an MBUS controller that is used by Linux, > > with a matching Device Tree binding. > > > > Now that we have the DT validation in place, let's convert the device tree > > bindings for that controller over to a YAML schemas. > > > > Signed-off-by: Maxime Ripard > > --- > > .../arm/sunxi/allwinner,sun4i-a10-mbus.yaml | 65 +++++++++++++++++++ > > .../bindings/arm/sunxi/sunxi-mbus.txt | 37 ----------- > > 2 files changed, 65 insertions(+), 37 deletions(-) > > create mode 100644 Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml > > delete mode 100644 Documentation/devicetree/bindings/arm/sunxi/sunxi-mbus.txt > > > > diff --git a/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml b/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml > > new file mode 100644 > > index 000000000000..9370e64992dd > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml > > @@ -0,0 +1,65 @@ > > +# SPDX-License-Identifier: GPL-2.0 > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/arm/sunxi/allwinner,sun4i-a10-mbus.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Allwinner Memory Bus (MBUS) controller > > + > > +maintainers: > > + - Chen-Yu Tsai > > + - Maxime Ripard > > + > > +description: | > > + The MBUS controller drives the MBUS that other devices in the SoC > > + will use to perform DMA. It also has a register interface that > > + allows to monitor and control the bandwidth and priorities for > > + masters on that bus. > > + > > + Each device having to perform their DMA through the MBUS must have > > + the interconnects and interconnect-names properties set to the MBUS > > + controller and with "dma-mem" as the interconnect name. > > + > > +properties: > > + "#interconnect-cells": > > + const: 1 > > + description: > > + The content of the cell is the MBUS ID. > > + > > + compatible: > > + enum: > > + - allwinner,sun5i-a13-mbus > > + - allwinner,sun8i-h3-mbus > > Is there a driver in mainline for it? Not at teh moment no, it's sole use is to have the proper DMA address translation. Maxime --dm365wf27dl23ps2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXfO6DQAKCRDj7w1vZxhR xYrQAQDfnp9gbWFABgHdloSvQY2r8OTEvv+XUvBW+BsjRIHM2AEAppHqNrLxKgzQ 02TE4LlOiiQS4mM3Zb76f5b6uaHfug4= =nNdB -----END PGP SIGNATURE----- --dm365wf27dl23ps2-- --===============7030706863396579290== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============7030706863396579290==--