From nobody Tue Nov 26 04:35:13 2024 Received: from mail-oa1-f51.google.com (mail-oa1-f51.google.com [209.85.160.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D3AA1C2440 for ; Tue, 22 Oct 2024 17:47:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729619231; cv=none; b=s8YfNlAezAT+SlxmR2hXcnninuSVXIV9u34W0lE5GZ+F7z18PIMpmNGRQfzlILshUyzxwZYyQ1frywsAcasbCPvnc6j65PW8cd4Uw2xprMAszbMJFuzxCq5KssXk7+aeCd4kYD5IfeEeyINe5DmquQcyF8DNnvPurdSyvbVBp00= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729619231; c=relaxed/simple; bh=z3Q1lZ93bNfCGzvIrdovcH2nYuWY7+uWZanQ4ngU4I8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Z8Cbhx+3J0O1NwEEH97LzzKTAHjBMAl7aTSChn4CDdxbrGR65SNjWO3tuSTeFtu13R+K3IIT8JKrEqBlAmXvm7rqTUiLfLsQgIF8dNbbNLpQovakmcSxiAr+/5G5bC8BW55joKXsF6Bl2OVMiDGJhCWX6lc4w/vlVGghh5arL2o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=kqnXt4Qj; arc=none smtp.client-ip=209.85.160.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="kqnXt4Qj" Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-288d4da7221so2918466fac.1 for ; Tue, 22 Oct 2024 10:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1729619229; x=1730224029; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=WZ6BO7JQGKnf9YHuY5qzRmWkXlEdrFxY0wBGYJpddts=; b=kqnXt4QjS5AGxW1UFGvzaTVmvL4PkSYzpGRt9rlLoXqBwCOyRv1T8hbJeCizP0iI3U f8EkLQSjIxV0O4emRVBlAiQJYg7vvJw/VPpmgO9X9dNl/YlfEoEn3eZpwe4cz70wWHqK ouNFu32Spq3dojVgyh/A36orjh82RDrzfEvcj8MUUcBHtqu7vj+9gmiasVDIsNr6MdOa Q/sq5JsvkvXXG6WntHd+u+yttvxowGQzJlXR+RDNWVfO+1WWifxP8K6aITxMWiU73hu1 hfL+NDDhIXFRrgpmuOtznYIWsXDkkrwJdP4ADEvifolMVlk2KIzIfro42dFejaDFGNoJ v3gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729619229; x=1730224029; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WZ6BO7JQGKnf9YHuY5qzRmWkXlEdrFxY0wBGYJpddts=; b=Pf6iIW0KUyhUem19HmkZMPJcCbs7HcXu6k+WIGtVsPZK0KzsrWOA2IkCQ8f5FDwU29 AQ4Nqmbc5EvK1l1oTUQS/J6d+f6wh3y2g6Op5lUU5tNBhQcVFE5y1hBkV/gx/yp67MxF vpIe7E19X7Vuao5iXKBa7FvxB4LELTNWcJsYDW5OWvNic8V7WguPji9WpskuiAdnzAwm zjgVLpMhCOqQ/bRw3Ayht3mJBAy+wVAY3QEdul8TdgodAN9UkD9vgvZuJFoBBAVBjT8b jiVUEOmbYDePlxs+rlMZdgS8LH7Nv90WiV6UDiayXxSEybapNr25+Z2AI1pv9urEApKa HR1g== X-Forwarded-Encrypted: i=1; AJvYcCV/dSJII7YjvDtFwFr4Ug476wwRIloPYVj2XnZ4SglB814LSIgUv2NJNw59g+NOnjP7YtEm/7kA/lLVGvo=@vger.kernel.org X-Gm-Message-State: AOJu0Yy9iQAsHE8+zy+ytuSD8mxjvDp9Aw/asZYVhAC1CnzitdE5bYBN g5cS9H4abNHZrBYEgLz49mPKjas+EItgR6t/8LhR6et8pZF4ZQhk8Jq89JjMMgc= X-Google-Smtp-Source: AGHT+IHdp9OlsGzeS6gDxUdePR2Vr1pSb8/P2TOXAQaAjnRnLrCAIfBudjI8ESRogO+kzmPoIXeKdw== X-Received: by 2002:a05:6871:714:b0:278:1c68:9c03 with SMTP id 586e51a60fabf-28ccb3a3e59mr76726fac.8.1729619228948; Tue, 22 Oct 2024 10:47:08 -0700 (PDT) Received: from [127.0.1.1] (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7182eb22312sm1353300a34.13.2024.10.22.10.47.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 10:47:08 -0700 (PDT) From: David Lechner Date: Tue, 22 Oct 2024 12:46:41 -0500 Subject: [PATCH 2/2] dt-bindings: dma: adi,axi-dmac: deprecate adi,channels node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241022-axi-dma-dt-yaml-v1-2-68f2a2498d53@baylibre.com> References: <20241022-axi-dma-dt-yaml-v1-0-68f2a2498d53@baylibre.com> In-Reply-To: <20241022-axi-dma-dt-yaml-v1-0-68f2a2498d53@baylibre.com> To: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nuno Sa Cc: Lars-Peter Clausen , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, David Lechner X-Mailer: b4 0.14.1 Deprecate the adi,channels node in the adi,axi-dmac binding. Prior to IP version 4.3.a, this information was required. Since then, there are memory-mapped registers that can be read to get the same information. Signed-off-by: David Lechner --- For context, the adi,channels node has not been required in the Linux kernel since [1]. [1]: https://lore.kernel.org/all/20200825151950.57605-7-alexandru.ardelean@= analog.com/ --- .../devicetree/bindings/dma/adi,axi-dmac.yaml | 20 +++++-----------= ---- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml b/Docu= mentation/devicetree/bindings/dma/adi,axi-dmac.yaml index e457630ec7c0..d5e87fceb3bb 100644 --- a/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml +++ b/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml @@ -28,8 +28,12 @@ properties: const: 1 =20 adi,channels: + deprecated: true type: object - description: This sub-node must contain a sub-node for each DMA channe= l. + description: + This sub-node must contain a sub-node for each DMA channel. This nod= e is + only required for IP versions older than 4.3.a and should otherwise = be + omitted. =20 properties: "#size-cells": @@ -109,7 +113,6 @@ required: - interrupts - clocks - "#dma-cells" - - adi,channels =20 additionalProperties: false =20 @@ -121,17 +124,4 @@ examples: interrupts =3D <0 57 0>; clocks =3D <&clkc 16>; #dma-cells =3D <1>; - - adi,channels { - #size-cells =3D <0>; - #address-cells =3D <1>; - - dma-channel@0 { - reg =3D <0>; - adi,source-bus-width =3D <32>; - adi,source-bus-type =3D <0>; /* AXI_DMAC_TYPE_AXI_MM */ - adi,destination-bus-width =3D <64>; - adi,destination-bus-type =3D <2>; /* AXI_DMAC_TYPE_AXI_FIF= O */ - }; - }; }; --=20 2.43.0