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: 11886903 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.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,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 5D8F0C55178 for ; Fri, 6 Nov 2020 11:17:13 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 CAA37206C1 for ; Fri, 6 Nov 2020 11:17:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="v1S6igTt"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bf8eze0R" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CAA37206C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=JNxv+GdljJ3FHtqCfYSdaUTviAeipUE+tFVyzU14ad0=; b=v1S6igTtayQ1h5Lh2tJumKh1bf AWALLz0U91d2V7sL0UFpox50e1hUB20rWtQ+Ab/I/UJT/Q1PC+aq7WL6b/VYCTBXzDcu8xo+hwlUf RfXQfRe8Ssz4mtlynnDNoVQYqNcrb1vywBUaG7jU9EhJxcvAh7kFmmS9hOqfyD9lM8ZEl0bL10Taj FPIHrt3WLYwb0pz7vq7Iw3nvTs2yysU7ZG3U31i7+NafqwHysiwVbDjMkWqNZ5zmr4WUetsI58Mkm E0Qbr5TvibQq2bjXFHK3RRO43BYsw5H46gIVXvsXeYUkafJbsEuiA994JClRI8rp8McneEG6EgVQm 9fN8PEvA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaziu-000147-Hm; Fri, 06 Nov 2020 11:16:04 +0000 Received: from mail-io1-xd2a.google.com ([2607:f8b0:4864:20::d2a]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kazim-000114-Nl for linux-arm-kernel@lists.infradead.org; Fri, 06 Nov 2020 11:15:58 +0000 Received: by mail-io1-xd2a.google.com with SMTP id o11so1050797ioo.11 for ; Fri, 06 Nov 2020 03:15:54 -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=suML9bX4SrmpPdpIst103PS2hMrykoixb8I54eaHJtGtBxbeCAzUGqdUgvz8sRMNqs TFOA3UmECbpDbXzDo7zblzY89a043IPqLf0T5PAMtf85SXmzpy3EDBgdfTwVhFRqY4kO xiGG6jUhuRStwhNGqj8YsvrDyzGKPyItqXJEbGBHcIgIHeQi/HPiBiJv4c+OnusRCLGo NcUu2dcWrYu4smiR+rHCLvEG/jT7AQ/s7Erp+vjG08WZhJ0UHWHKjs9bM2KkPfhXT5Tu iddZY9QRJLXV1hN/OnwHOtRVfbywcEdpMPaLt6IFJqsJNIFrhCPoyBiiiZ1aHMqLOxr/ SefA== X-Gm-Message-State: AOAM531iphOh6u+b3XkLj3dHmdVznWvne9IGO4TcTHPfc/5j37ecTd8W cZgG+exOyHRF6y0T7TtTALATLtu64bX1zg== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201106_061556_847091_AABBD619 X-CRM114-Status: GOOD ( 13.67 ) 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: devicetree@vger.kernel.org, Fabio Estevam , Adam Ford , Sascha Hauer , aford@beaconembedded.com, linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo 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 --- 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; + };