From patchwork Fri Sep 16 14:25:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 12978598 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 E8783C54EE9 for ; Fri, 16 Sep 2022 14:27:52 +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:References:In-Reply-To: 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: List-Owner; bh=mT7RMnzOsZxkXupv9IWJ1hnSh8Gok/8pazMreAXjVqQ=; b=zWOK59uChj0gN0 BGwedhPuCOfR6ylPkiQ3JugHhSb36GbPX7ooh1Jthb2CE1y7u+AgQI96tzIhMECvcas/3vLmv8YXY Q1wpJZDnp5WKAJ+TB4CSxfzjjF7WkNdM8hUujpqJgAjGSgh3Dd/xN1V/WEhKyScA+Iu7OSbXcNZtx vhIC6Jy6by0NoR7jPMMhxhRq5O7e1NkfQn8ToPCYGL0B4dI5dHGckfYD8ZdPTfawMynXPKOBnTSq/ FF7rWicNeEDte1VGC7Sh2o+iqxKORiIlYmQnTCTysbYXyG2czMztba31YEy3+uaPltMaPIBLX287W bMSfpwQGz3bwzFVF9v8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oZCIy-00E8mq-C4; Fri, 16 Sep 2022 14:26:56 +0000 Received: from soltyk.jannau.net ([144.76.91.90]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oZCHz-00E8HF-O3 for linux-arm-kernel@lists.infradead.org; Fri, 16 Sep 2022 14:26:00 +0000 Received: from robin.home.jannau.net (unknown [91.200.110.112]) by soltyk.jannau.net (Postfix) with ESMTPSA id DC99726F079; Fri, 16 Sep 2022 16:25:51 +0200 (CEST) From: Janne Grunau To: asahi@lists.linux.dev Cc: Mark Kettenis , =?utf-8?q?Martin_Povi=C5=A1er?= , Krzysztof Kozlowski , Alyssa Rosenzweig , Hector Martin , Krzysztof Kozlowski , Rob Herring , Sven Peter , Vinod Koul , devicetree@vger.kernel.org, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 01/10] dt-bindings: dma: apple,admac: Add iommus and power-domains properties Date: Fri, 16 Sep 2022 16:25:41 +0200 Message-Id: <20220916142550.269905-2-j@jannau.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220916142550.269905-1-j@jannau.net> References: <20220916142550.269905-1-j@jannau.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220916_072556_072140_2C13CD74 X-CRM114-Status: UNSURE ( 7.90 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Apple's ADMAC is on all supported Apple silicon SoCs behind an IOMMU and has its own power-domain. Signed-off-by: Janne Grunau Acked-by: Martin PoviĊĦer Acked-by: Krzysztof Kozlowski --- Changes in v1: - added Martin's and Krzysztof's ack Documentation/devicetree/bindings/dma/apple,admac.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/dma/apple,admac.yaml b/Documentation/devicetree/bindings/dma/apple,admac.yaml index bdc8c129c4f5..3b1e667f7ea0 100644 --- a/Documentation/devicetree/bindings/dma/apple,admac.yaml +++ b/Documentation/devicetree/bindings/dma/apple,admac.yaml @@ -49,6 +49,13 @@ properties: in an interrupts-extended list the disconnected positions will contain an empty phandle reference <0>. + iommus: + minItems: 1 + maxItems: 2 + + power-domains: + maxItems: 1 + required: - compatible - reg