From patchwork Fri Nov 6 11:15:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 319464 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=-12.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 F1B71C2D0A3 for ; Fri, 6 Nov 2020 11:15:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7998B21707 for ; Fri, 6 Nov 2020 11:15:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bf8eze0R" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726694AbgKFLPy (ORCPT ); Fri, 6 Nov 2020 06:15:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726565AbgKFLPx (ORCPT ); Fri, 6 Nov 2020 06:15:53 -0500 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9958DC0613CF; Fri, 6 Nov 2020 03:15:53 -0800 (PST) Received: by mail-io1-xd30.google.com with SMTP id r12so1067407iot.4; Fri, 06 Nov 2020 03:15:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=AiWE+QWWlazimLi0TrkBpKXq5Z0IleCm9UdBmqp2vvs=; b=bf8eze0RbGRLUlVN4d2YRJ1wRNnN72T61UbXrzhdwAK5TklUYKbjX8mIoNQYPbZa3O vpHt3V3w050vcAomNruqwg7787crYSS3n9r5OzovD+ow2jm7a/y3Vn2wOYQg2cAZq5hX IYjZLZmg0IqYVavZi9je8F0qqUZ8WZovIT+Keg3ltlVjhEW9STVD+enPz8pMuNx4pF5D b4pT89MLptxr2ZU/32V/TcS4Qv6NkUKzvuCJSuZIkfqXpxFUeHgbyD540iBHIABlfPS1 fIBWbtFgPRxeEY6xXWPjVX4j3raIuFZj5jLcvR7Q9zUrs318eWZsc4B6c5tfKIt5U4dJ 5m8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=AiWE+QWWlazimLi0TrkBpKXq5Z0IleCm9UdBmqp2vvs=; b=lTzPqdB103NqE14vARQ7DGZmQ4/qEbDg+SfzRN0+HiVh497lFScyAHPk9v15ol/jdi 14mhImfItLcJJbwXVedy5vNFpJf3HpVaAQ2E8t3q0s5seGulgMRrA5J6xsmXd0UDzXFA Zy7CyvJ1C7y4k2c6hRHtFnYqqqWvob0/mPOfsLnycpRPiMps6B0bRB0dxuulPyF6UKHX AwT19z/79I4XDd+wOLrbiHBKr705MKLc8zUxYlQ7glZ5oWuWhEmHv/aZcOd/ZdibXOgz LoASfwAhH6O7cQZBegCJd/5fpcaEhwdN3OLV9mzquaIMHz3e/y5gCxWddLf+bx5L5eI0 enYw== X-Gm-Message-State: AOAM533UPOpWMLqem8JeUZ/wisAzv8DZ37axwFTx30kUNpZsPPIpxJ3G dvZGHcUphQv3xohqTnb0e4M= X-Google-Smtp-Source: ABdhPJwJszyNIhmZ2EzMaYQpVFdey2wlDA1k9QOUIRXS+UhWEB+I/7123KokQykevQ1iP9DygoTdGg== X-Received: by 2002:a6b:5f1d:: with SMTP id t29mr1027946iob.86.1604661352879; Fri, 06 Nov 2020 03:15:52 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:8492:7d60:7e29:2784]) by smtp.gmail.com with ESMTPSA id x5sm854597ilc.15.2020.11.06.03.15.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 03:15:51 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V3 1/5] dt-bindings: soc: imx: Add binding doc for spba bus Date: Fri, 6 Nov 2020 05:15:39 -0600 Message-Id: <20201106111543.1806809-1-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add binding doc for fsl,spba-bus. Signed-off-by: Adam Ford --- V3: New to series diff --git a/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml b/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml new file mode 100644 index 000000000000..0a2add841145 --- /dev/null +++ b/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bus/simple-pm-bus.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Shared Peripherals Bus Interface + +maintainers: + - Shawn Guo + +description: | + A simple bus enabling access to shared peripherals. + + The "spba-bus" follows the "simple-bus" set of properties, as + specified in the Devicetree Specification. It is an extension of + "simple-bus" because the SDMA controller uses this compatible flag to + determine which peripherals are available to it and the range over which + the SDMA can access. There are no special clocks for the bus, because + the SDMA controller itself has its interrupt, and clock assignments. + +properties: + $nodename: + pattern: "^bus(@[0-9a-f]+)?$" + + compatible: + contains: + const: fsl,spba-bus + description: + Shall contain "fsl,spba-bus" in addition to "simple-bus" + compatible strings. + + '#address-cells': + enum: [ 1, 2 ] + + '#size-cells': + enum: [ 1, 2 ] + + ranges: true + +required: + - compatible + - '#address-cells' + - '#size-cells' + - ranges + +additionalProperties: true + +examples: + - | + bus { + compatible = "fsl,spba-bus", "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + };