From patchwork Sat Nov 7 11:58:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11888883 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 82614C388F9 for ; Sat, 7 Nov 2020 11:59:40 +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 1FC92206F4 for ; Sat, 7 Nov 2020 11:59:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tdwhyG00"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BHau8K4M" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1FC92206F4 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=Np68ZxAe7oHABYDJzWj+MfbCYd/nKbh0mvqHjQ7lucA=; b=tdwhyG00WzYrDHeGu6Dhgi/E+J 5uCBmCiSfVTHB6iqqvPlkZYYsdQL8tPrbsaonc889PuXDwrNnlxTwbkIkBTLnjLD0cHjsCnVrEwev 1NsIc5/LiLRwJLPfR2dkfWBemTOP9jFQnIG070dSFAhAc2KbAxfOzFTJwX10qHsOdf4Hprg2p8JLy 5duvBi7PsxwIkLxvsZz2HrxfFwcRot8mVGR5QIJMdJ6EzcuxxPbdgoltm3FnbeZZDKQlPMX3Nimjm nxJ4sDQxpGrR96fRCTuY3CXsaVau6Ijh3VcC1oM5U4PYAnBhXZnh1VoyXT/SPdO8Oo1ZOB4D3avLS 9abPFj1A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbMrX-0004UU-DU; Sat, 07 Nov 2020 11:58:31 +0000 Received: from mail-io1-xd44.google.com ([2607:f8b0:4864:20::d44]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbMrT-0004T5-OU for linux-arm-kernel@lists.infradead.org; Sat, 07 Nov 2020 11:58:28 +0000 Received: by mail-io1-xd44.google.com with SMTP id r12so4526498iot.4 for ; Sat, 07 Nov 2020 03:58:25 -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=ehsrxR24+X4JoUL+5hOYvsNW1kB3ZSkbOufEBKUIwWI=; b=BHau8K4MVxYAcQx+Y3gp3RB9Rk5XAkXDCsNLK83oi81nJMoqpfbF8IYukTa6hqmxlG YWwTQOG6I9eEbLWO9VcklKA3ZjTTXoyOuUPHIY9P8M2fWG8cNc8v65zop37Tzrl6ku5n lDIYJVoCcoWVvRWjtnZTPRzUpjUOODY1ATdf4CkfvtGmoh0iphDnLKq76ObZvkjzVkNz 1fCJWL6GLp/r0HVrgDg+9JCG2uPqAvtAngY+OBJn6W3PppoagtrHtR/vJ2koMFoS96Q+ MxP/eck9nE3sllJEmAnxvzVXtSMj/QwfLU3nibkWYwHh+4S6EzffOwmWTXw/3qN58hcv ks9A== 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=ehsrxR24+X4JoUL+5hOYvsNW1kB3ZSkbOufEBKUIwWI=; b=nixAyT/5lN3P1a4nFMB5ojZLT49/KugCYomNtI9PD7Bac4ERIAvMn3SNBTyNMkD4ey Wx1Ycyk1UXNF9WGeVR+EL+EnNl8HhF5MVDewlJaotr0ul+hyR/Vurs7pwH9/BaqD6cQT JRgpCd43sbyPs7QiFh0XC/TkOglJyVLxCDkYig8w48VwEBwNQD3DCvlP7vMOGc5QJr7v Nx9rf1Zj9VvgmE/2U+WYEa1rPqw6MK5QWNuDdaL1/10ARibiFo9uPrV+nJWEhh01GUUx MGYFCUNX0DoZF5D+7r0yl8COqy9Ol9J7Wz48EdiyIIHmWHMVLkyct1Jg74Y3h11mY3wZ GjZw== X-Gm-Message-State: AOAM530Cts/yqaSWK7CbuVK5vV2wiUIBAE9QiXoDbt/x2b2UlFjVbnya /iVbwLK/RkSHKxZ6UzY23A4se8qPCx1rLA== X-Google-Smtp-Source: ABdhPJySzuzJOFRFKMjqyXbR+UMBlxlHyoLrWZ60ji+vw9p8Wniju1cm7vLGtN6zZ8EEOD4uEUV5WQ== X-Received: by 2002:a05:6602:5da:: with SMTP id w26mr4549025iox.207.1604750303852; Sat, 07 Nov 2020 03:58:23 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:5d9e:32b:1062:f8cd]) by smtp.gmail.com with ESMTPSA id n1sm2920671ile.86.2020.11.07.03.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Nov 2020 03:58:23 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH V4 1/5] dt-bindings: soc: imx: Add binding doc for spba bus Date: Sat, 7 Nov 2020 05:58:04 -0600 Message-Id: <20201107115809.1866131-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-20201107_065827_817362_40ABF24F X-CRM114-Status: GOOD ( 13.95 ) 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 --- V4: Correct errors in YAML V3: New to series .../devicetree/bindings/bus/fsl,spba-bus.yaml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) 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..d1037acd2734 --- /dev/null +++ b/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml @@ -0,0 +1,66 @@ +# 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. + +select: + properties: + compatible: + contains: + const: fsl,spba-bus + required: + - compatible + +properties: + $nodename: + pattern: "^bus(@[0-9a-f]+)?$" + + compatible: + contains: + const: fsl,spba-bus + items: + - const: fsl,spba-bus + - const: simple-bus + + '#address-cells': + enum: [ 1, 2 ] + + '#size-cells': + enum: [ 1, 2 ] + + ranges: true + +required: + - compatible + - '#address-cells' + - '#size-cells' + - ranges + +additionalProperties: true + +type: object + +examples: + - | + bus { + compatible = "fsl,spba-bus", "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + };