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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 3DA22C433EF for ; Sat, 20 Nov 2021 12:22:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=t9KbvCjhJgf4vU/rFpoUvtXfYQnEVg4Dr+VyNt42D+I=; b=c2cwkxi9F0Cqch uSqipUI81IA4sM+uA3q0rpv2d33rI4lsqnjMKPqTz0g/OOAQQtp+me7mtmhJuJv8kWIaKjPxTrOVG BEZjsL0bs47fUXXnzM+Z+fv+b2y0AcE9pG/zCaPCIKMOZ24UsVVL58KMkDwyEEf/HqUbo8b9dUY5h p9J4/7me01jpNYkonetVp4oM4Az2DyYjfdgsOXmFLCu6jCjIh2ejzlmHFkTKI2as5WrVEXT9DMWZv tDsjI/Xh9eUEi/7hHhIE7Qv+nqdeMA39z0j1ckqGoYRu1LRDNRPtS0bf+Si9bFZhbe7hM/Sm5yEHP CW8y/K81H61l7rzWvFlw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1moPMC-00CVBe-JY; Sat, 20 Nov 2021 12:20:36 +0000 Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1moPM8-00CVBD-Ae for linux-arm-kernel@lists.infradead.org; Sat, 20 Nov 2021 12:20:33 +0000 Received: by mail-io1-xd32.google.com with SMTP id k21so16397664ioh.4 for ; Sat, 20 Nov 2021 04:20:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7v/1LM3YhmWD/58/4APk/JcjWa5gVRYO7ANhdBBhJfg=; b=PDCnAlWpIt9M30Q0uyMNd88iWm9OhFqoMU9EWjaj7ZzaTmwevgAcXlG1iO967cTHdY spbBR8jSg2fNhAsKfCc4M3SS/pco1JGp6u6b856JU5vZyZVqrMFv+YGTKwKydWfFvGK2 fBlgp2oXEwkrJ1ooXutrugu32VQ4haykxwfuf8W+P+7gp+W995iXV3sYvNCLFv4Blel6 xrjXnwEU/UDApVQTxOANPApSA4mbc5h9ItqEeFpg6KO8ib6CJd7KEzqYTHPMXysdCFsG c2xQl8Z0bcKnW4xYkJw+e283JnT6qWBNnDWPWmGF/xAfFIIsHqUrvHz0fDWKS5XBXy0C aiSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7v/1LM3YhmWD/58/4APk/JcjWa5gVRYO7ANhdBBhJfg=; b=5RsWjjgujxWuzXjFBKu69VMEy+JdK9l+3iTSTY/4XTPaVzzZAxxKsyiOnjE34tVjoy rfbg17OVDuhXnd9kDutLg/FKGRWS5RkkkRtXGF80ccyaRcdD0B+UOkUMe7uEu1HCa1z7 4s3xUccmrpR3ox480Urf3exA+gCUb6+aor5nJ61jQcSPihTLFcTYcFQ+H4yMKL/rTiFN 0V4+aR3+wfddChyDdAIMn6MzbXrznQV4Cd3SUShdhhuBABU0epSkdot1xE9av7dCGmai sX8Ab2aZHMG2uPgxudPLN+M+6vHZhs7ET+0Za0r/GoRQlDjfWwKsEFDwgLteKb53MAhD gx2g== X-Gm-Message-State: AOAM5317ruRGYDSk6ZGuMclfEqT9Z6/pDcVb+4j6f28As2G/4Z+NsaB2 fR6/U4ZT1KMJHLYp2IZHbGI= X-Google-Smtp-Source: ABdhPJydtOs5bKEne0N8GnBoZk4fVBejd/LHjHgM8gk9qXKfda1TOLYm7na4JnA3vOpq5okd3wUxig== X-Received: by 2002:a02:ba8b:: with SMTP id g11mr34245775jao.128.1637410830037; Sat, 20 Nov 2021 04:20:30 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:48a3:a74f:1d99:b7f]) by smtp.gmail.com with ESMTPSA id n12sm1984259ilk.80.2021.11.20.04.20.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Nov 2021 04:20:29 -0800 (PST) From: Adam Ford To: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, shawnguo@kernel.org, linux-kernel@vger.kernel.org, aford@beaconembedded.com, Adam Ford Subject: [RESEND PATCH V5] dt-bindings: soc: imx: Add binding doc for spba bus Date: Sat, 20 Nov 2021 06:20:22 -0600 Message-Id: <20211120122022.1052768-1-aford173@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211120_042032_397192_9F0609D9 X-CRM114-Status: GOOD ( 11.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add binding doc for fsl,spba-bus. Signed-off-by: Adam Ford 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..e9f77ecae3d3 --- /dev/null +++ b/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml @@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bus/fsl,spba-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. + +select: + properties: + compatible: + contains: + const: fsl,spba-bus + required: + - compatible + +properties: + $nodename: + pattern: "^bus(@[0-9a-f]+)?$" + + compatible: + items: + - const: fsl,spba-bus + - const: simple-bus + + '#address-cells': + enum: [ 1, 2 ] + + '#size-cells': + enum: [ 1, 2 ] + + reg: + maxItems: 1 + + ranges: true + +required: + - compatible + - '#address-cells' + - '#size-cells' + - reg + - ranges + +additionalProperties: + type: object + +examples: + - | + bus@30000000 { + compatible = "fsl,spba-bus", "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x30000000 0x100000>; + ranges; + }; -- 2.32.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel