Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3750949rwe; Mon, 29 Aug 2022 19:48:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR4vcT3lRKIaTyCr8VMcm5mn6mv2MAavE6fSkriU/saGtUXgEL7L4IuxwY9nQb31RserkWLm X-Received: by 2002:a17:90a:8b82:b0:1fa:973c:1d34 with SMTP id z2-20020a17090a8b8200b001fa973c1d34mr21639745pjn.31.1661827694411; Mon, 29 Aug 2022 19:48:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661827694; cv=none; d=google.com; s=arc-20160816; b=BeHCkFIYfHnrHJcHRgT5xUYrzMXI0YW9nWnZygB+knl6J6UVyEJAZuVS9YMdeAYGah +Y0vhPpSBVXmGsKdnQN0LbskzP6G8EQm+HC6hdWEc8lK0wyCSiOei9E09n1z6FeFKnl3 MFY5cixkJtyYMmt1u6HfYDywqlV1cqHUJKA9/ZDfFsrQYzT/Sr33KiZnyGCxTi2dTthl yvcSpINMCtyU2Ac/yOoLv8mO6GNkTk7GjD53jAWs4wySlHYxira3NtORFAFycOGmQZS8 Bk8WLg/tGPi4Ag4ZRngRV3eFI1p8iB57xU0YTwzBQeqaxoNgPOfv7YkG4VhT3d/F7DQC RJTw== 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=FkX4dRzih+XcP2CW0zREdq7aeZbkdtKNx9OgLkoxSes=; b=lzQuuJ2S5yCNl64a2I8s3uOU2Va0b9p5d5WPe0M2I2xCvAvJvheNkX2iPObDlb8nZZ kgiRQEHJgBRHJA/6PyVfqqO9sXrmV7/8YpXZu8PSRwuLKTEnonklndBF+GF0f9w8veQp EkXFScE5SQjwg8U2DJqaGJmACE5tdsN+Xhjn9L27ZhqwaES5P4tz+KuIAjUXSbPCFiEg 7i2z94wvyT8CdBGTI+3WGSXmYprwE7YnGhGBTaJfIjKSraCsUfyxbPV5JfDjMIHlbadf nQPtXI/yXbCrcqA1o7SJCqfAehBZMnEqgbgPSFdLtoQ9iDwoGmRFlOAtwy2IAZAwpss3 2Ung== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=rDBaoXhc; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=o9QEkRMF; 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 jh18-20020a170903329200b0016f168b4368si9588901plb.547.2022.08.29.19.48.03; Mon, 29 Aug 2022 19:48:14 -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=rDBaoXhc; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=o9QEkRMF; 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 S229650AbiH3CIl (ORCPT + 99 others); Mon, 29 Aug 2022 22:08:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229729AbiH3CIb (ORCPT ); Mon, 29 Aug 2022 22:08:31 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B405E85FE8; Mon, 29 Aug 2022 19:08:30 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2035A5C01A0; Mon, 29 Aug 2022 22:08:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 29 Aug 2022 22:08:30 -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=1661825310; x=1661911710; bh=Fk X4dRzih+XcP2CW0zREdq7aeZbkdtKNx9OgLkoxSes=; b=rDBaoXhcqQEA0OpLaU QEw9B3LnbTvWO9/ZUvZYc8W9lDDhg/ih/e/ivxppFCVF6z3HzzqtIB7Ae5jCKQyW +gBwT0dPYWg2QMIsIBNlZ3azbmNuUjyCu99CzbbuYp2BwckmaVNTOdZizGte+QP6 sVzYBXUoMwG3YoZ8CBjiXULQcC2hguDYFqfVAdmKDX52Z5+aB8VGa3ju7kT7NcvY 5yRcpuxVVfd2kfoxewhhcc8REvcb/+ReYSETJbuN+Ny43hdX/7dBABKODykD47ya CsUSxbd2w6hB/uTSyJR7puLCINeRHKgJ6t24dYZeE0ADh0Yb0JB9C3faS3QdCeUX NE2Q== 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=1661825310; x=1661911710; bh=FkX4dRzih+XcP 2CW0zREdq7aeZbkdtKNx9OgLkoxSes=; b=o9QEkRMFE6bjjUAAq21RkekJNXQgX z79Rw1D+s2kVQvPOf2rIlhOEMCLfC10+BVjO+FnAp8KfrR/r0Od1cd+pl4CMbwLk jTF/W1m19LX17escy+pfmzJwenSXncdLQDNMletfBbvUXTsWbZtzGzCc6olPZBNJ GKzQgVN+RfPSMhBzOZwBMnfTM3AX705KOTo6i8+88zmuyeQAcTmRlm6Omq9Yb3gj ieNx6t/Q8Br8frwrOuzfTMsIAOFd7T3MOxMy4ywyiwheru8YkR6ZQfnyJgSNhZkE XxmF443zQjijim72zfpfJteAr/3rWh7OOhhPh9QGRIK/V12eoB8KAPQ5Q== 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:29 -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 3/3] arm64: dts: allwinner: a100: Add I2C DMA requests Date: Mon, 29 Aug 2022 21:08:24 -0500 Message-Id: <20220830020824.62288-4-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 The I2C controllers in the A100 SoC are all connected to the DMA engine. Signed-off-by: Samuel Holland --- arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi index 5453a3bb7d81..97e3e6907acd 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi @@ -221,6 +221,8 @@ i2c0: i2c@5002000 { interrupts = ; clocks = <&ccu CLK_BUS_I2C0>; resets = <&ccu RST_BUS_I2C0>; + dmas = <&dma 43>, <&dma 43>; + dma-names = "rx", "tx"; status = "disabled"; #address-cells = <1>; #size-cells = <0>; @@ -234,6 +236,8 @@ i2c1: i2c@5002400 { interrupts = ; clocks = <&ccu CLK_BUS_I2C1>; resets = <&ccu RST_BUS_I2C1>; + dmas = <&dma 44>, <&dma 44>; + dma-names = "rx", "tx"; status = "disabled"; #address-cells = <1>; #size-cells = <0>; @@ -247,6 +251,8 @@ i2c2: i2c@5002800 { interrupts = ; clocks = <&ccu CLK_BUS_I2C2>; resets = <&ccu RST_BUS_I2C2>; + dmas = <&dma 45>, <&dma 45>; + dma-names = "rx", "tx"; status = "disabled"; #address-cells = <1>; #size-cells = <0>; @@ -260,6 +266,8 @@ i2c3: i2c@5002c00 { interrupts = ; clocks = <&ccu CLK_BUS_I2C3>; resets = <&ccu RST_BUS_I2C3>; + dmas = <&dma 46>, <&dma 46>; + dma-names = "rx", "tx"; status = "disabled"; #address-cells = <1>; #size-cells = <0>; @@ -337,6 +345,8 @@ r_i2c0: i2c@7081400 { interrupts = ; clocks = <&r_ccu CLK_R_APB2_I2C0>; resets = <&r_ccu RST_R_APB2_I2C0>; + dmas = <&dma 50>, <&dma 50>; + dma-names = "rx", "tx"; pinctrl-names = "default"; pinctrl-0 = <&r_i2c0_pins>; status = "disabled"; @@ -352,6 +362,8 @@ r_i2c1: i2c@7081800 { interrupts = ; clocks = <&r_ccu CLK_R_APB2_I2C1>; resets = <&r_ccu RST_R_APB2_I2C1>; + dmas = <&dma 51>, <&dma 51>; + dma-names = "rx", "tx"; pinctrl-names = "default"; pinctrl-0 = <&r_i2c1_pins>; status = "disabled"; -- 2.35.1