Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3766276rwe; Mon, 29 Aug 2022 20:16:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR7H6EBduvU1tbzCxyttQaKBDFHlOFtTSWo9jK5ByeUgpWuK3ZvbjlNPqBKV7DCYST3jOsNf X-Received: by 2002:a17:903:32d2:b0:172:66e4:ba68 with SMTP id i18-20020a17090332d200b0017266e4ba68mr19807793plr.116.1661829376649; Mon, 29 Aug 2022 20:16:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661829376; cv=none; d=google.com; s=arc-20160816; b=S6ZzZmjd9vJR3h0th4sV41fIWnKWRviOelB4RAOswp2oF8iEqOKc+jM+cfOnhoEaZP s1PI3ejg2QiUJP+k/w37OdzEnZHcRd/ngWNHIQ3ubisJmoUYoGdEmzuY60Rv491JtT5i Fxc3uotLy1Ymq2ZYl0CDWH9ch0lM74tmhhYmrwNk8R1gzCvzIYWu72TgUF/fgOHPFRhq 5Vux5qIuX9mXve2GlAfcUU2Wcpq32sAJ3GZp11Yge6ora2Bq1kURrVt9vfhPGa4V6z0h S3/6HcEQEEDlyXLuZxK/drvGapqZdA9cSNMe05SyycGiGpL6QeVaMveYS4HD5RAzab09 krxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=hriNRaqge8di6Ww36SKeJsUSNLWsxQP2UWUeu3Y6Tt8=; b=Zjrg7lSMk9ZtpJdNc21zVbR0iMyydD21VZs6GctMT1YXxCEkWto/CJS39MlCYJkSHa 83zSmbw6bxq6ZwR9j70vBSUE1ALC3yepykQkcl5//ubJSPDDNVk1SSF3B3pnu3ng37+F XFS73FL1fInFO4Or3Nh/ZY+mv1uDWrPpuZEFpbGYfZ7cb2ASh9OIe1ZfKNmnzvj79I1D EKB+jOiNsSQDfRPrg60zLZ3bxSNE4To+yS4tsQQwqx08c9A/hUM3M1vx287k8Az7Knjl qrERSSD9Oo7ZrLw5bOV4HeuV0MXrQ4z7L0cbruNwiEbiBJvh1yw4oD/8MYJRi9wjYZS5 4Q8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=f4BT1sPJ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=PgSbXtig; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j10-20020a63e74a000000b00429f73ea759si957566pgk.751.2022.08.29.20.16.05; Mon, 29 Aug 2022 20:16:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=f4BT1sPJ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=PgSbXtig; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229823AbiH3CIf (ORCPT + 99 others); Mon, 29 Aug 2022 22:08:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbiH3CIa (ORCPT ); Mon, 29 Aug 2022 22:08:30 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46DD285FCC; Mon, 29 Aug 2022 19:08:29 -0700 (PDT) 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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