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 C22CCECAAD3 for ; Tue, 30 Aug 2022 02:09:57 +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=23oyEkEDVrvTzNhh84LPptVK97Fuye4fYiwfbHS2Jr8=; b=V4Es75a/tl/u9+ fqEEkUTLB1P2XhiL6gkiP4wOfCT/O1KfgTFox34sr5Oh7BA6Kxa42LEVI8FZbAY9iT27PgYcfeicc w73urXUFOnfaaBlRUchlqKzQEDEDx2gtsURSGI1604DmGsdZVuJ769Q4ojGRWXUX2TGTZbGAB+gcR 1vu010CX4iy9OuI4naUVBJHsAc08H0jCFTOSlrzz7St4vG0PI/xtJjSLZmRNdRKECVDx0Txo3RitU Kx9jkA4jwJMoXqdFB/HVcgxLdQVR+wMdbckR6qS97ZmiXhj4BcFEfB0EhK5qIHEUH8rQTTPgkvVGr Gq1NCF0qWP5yKoabg5cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSqgA-00DYRo-Uc; Tue, 30 Aug 2022 02:08:39 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSqg5-00DYPV-Al for linux-arm-kernel@lists.infradead.org; Tue, 30 Aug 2022 02:08:35 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id CD23E5C00AC; Mon, 29 Aug 2022 22:08:27 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 29 Aug 2022 22:08:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1661825307; x=1661911707; bh=hr iNRaqge8di6Ww36SKeJsUSNLWsxQP2UWUeu3Y6Tt8=; b=f4BT1sPJL4o7WzjcBR 1jqIBj5zF9YuD90LCO+y1KLCajAdeYlWJ2FdrnqYeLae8kERPLpMLaZ+FlmgMt12 rgsuWW+534sr0D+C63FS+HHvsbnqPSZzeoKxFP4Oc0bmmdyYGvkjr7e67Xtd7RAo q1Rhfj8qxSqqhmig/LoQ5HLRP/TMkhbM9JBCkFB35CxQtqfFmrQ+P+jHUe1r0INe XQn7MN1j4AZx8IZJnFu6HYR4FLFbUzggtqSAGdDSO9y6Whx0YcgJr7DjB3PyLtVa 0x29H0Fk+CHV3/4Ht0tZsBs1wPOAQVcznlfYKUplLmi77O4KrBQ0cOvuVxCd1f2K 2ylQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1661825307; x=1661911707; bh=hriNRaqge8di6 Ww36SKeJsUSNLWsxQP2UWUeu3Y6Tt8=; b=PgSbXtigZzpay4QdeHzHdaRjSntAa aIjlTnlB+8Nofy9QzgE2BRQ3ZUr4UxFPeUxI9iy9xpv8mQ4a0+CnMukc4QwvYPX4 t88g8hFvcRRCF33kNChivE489sIRk6YL5Lp4bdhcp0rtNsfxM33Iu9uBgqKdRh2/ rF48o7RxQxMEqbcR1+khfkdI6BA3DorifLH/OoOBTs2F8ZJfkiUkhT+eeKij2EEN rP5yiqn3P55aK5X61P2vM0IPbiGX9920jEXhH3Y19VnHxvfPIQssIaywSF64tR+u Fvges9yZUoN/HAZgCIc8SVg6fbLA9c4393ZUxkyBBH4AatA1mKvZkKoFQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdekvddgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepudekteeuudehtdelteevgfduvddvjefhfedulefgudevgeeghefg udefiedtveetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 29 Aug 2022 22:08:27 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec Cc: Samuel Holland , Gregory CLEMENT , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: [PATCH 1/3] dt-bindings: i2c: mv64xxx: Document DMA properties Date: Mon, 29 Aug 2022 21:08:22 -0500 Message-Id: <20220830020824.62288-2-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220830020824.62288-1-samuel@sholland.org> References: <20220830020824.62288-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220829_190833_866026_95AC202D X-CRM114-Status: UNSURE ( 9.70 ) 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: , 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 Allwinner's I2C offload engine includes bidirectional DMA support. Add the properties for describing this in the devicetree. "dmas" is optional because not all instances of the controller have their DRQs hooked up. For example, R_I2C0 and R_I2C1 on V536 have no DRQ number assigned. Signed-off-by: Samuel Holland --- .../bindings/i2c/marvell,mv64xxx-i2c.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml index 0ec033e48830..63d665a4f9bb 100644 --- a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml @@ -66,6 +66,19 @@ properties: resets: maxItems: 1 + dmas: + items: + - description: RX DMA Channel + - description: TX DMA Channel + + dma-names: + items: + - const: rx + - const: tx + +dependencies: + dmas: [ dma-names ] + required: - compatible - reg -- 2.35.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel