From nobody Mon Nov 25 03:33:44 2024 Received: from mail-oi1-f180.google.com (mail-oi1-f180.google.com [209.85.167.180]) (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 BBBD921B431 for ; Wed, 30 Oct 2024 21:34:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730324048; cv=none; b=d4cuRMKuiCflJf/Iwj9kx0NXT4+o0EnbIWR/PkZoWzQ/gsrxn417ZSaPJntLY9opsDiQcBB1tREvpCByKgFtwtbe8oQvNkyG63PvC7l+LRdfat0rMLsdmvfAHYd2QuQGP/kbwCZodbjMHfE+zNB6YiuSlAGb5fKEdV4lX1ZfxTc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730324048; c=relaxed/simple; bh=CI2Lnp2ZFIQ9X+t6DOzwzXbSD1CdFhZkAhG2G3EEy/g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WnvjWwnmVNPWNRi5EvsQt3qRGm3rvBP5DwbmHbrjd+DWLNEaRueOZTL2j/lyUCkZxGxTwyHbHVnTtrc0kZ+hsE4Dj9S4ErFg4MFGHZKiZClHRzPGgxN0AjDhAB01JkCWsR1tuAs4FBu+CuyZQk9Hho5wTg/5DKf81aN4ngP7dzk= 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=q3BsFvwy; arc=none smtp.client-ip=209.85.167.180 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="q3BsFvwy" Received: by mail-oi1-f180.google.com with SMTP id 5614622812f47-3e5ffbc6acbso223543b6e.3 for ; Wed, 30 Oct 2024 14:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1730324046; x=1730928846; 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=/DgxmuugdaQ3XDKgZ0SuFc+VJJKKz2RxlCHCWZM4DSU=; b=q3BsFvwyFmlQx6ku2ey1oFMnO+sf8nXRyk0UyCCK9vdv66qAsOfBpxI8+AxZW95KL0 CAyc2Ze8CP6MgaQBwT23NUI41hdXLvNUYXM+amUAba8mrg7PEkrC3ZeaXo/wKlHl4ppO pm3ywssPTZHtQuc1/m8kVJvbXb3BmmPiegzKonKz8TQkWYImAAyQoDIS+rA60HX9ot/T OhWGCgyZNw6gQhgUpjgPbXRdFb4ZncgkCpDcLrzvCxJWHddBfjipyaOt7YPQiwxvAoze uVgft07TZu0VK1+u7DIevJQAk4cNZhqBxbTdU20DS/QCScwTLorJ4JmLM8hTyZQTfxB0 AEFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730324046; x=1730928846; 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=/DgxmuugdaQ3XDKgZ0SuFc+VJJKKz2RxlCHCWZM4DSU=; b=KPmD6elyQtzEeG4zaYhtigrMZUzupuQGMPoIcBz0J9EtM2Dkx45bvibIjT1t0ryVX8 ey6Z43lbk8OFGuRgJghFYn492IW90Ui/HLt6MzkN/cxqlsO8NDPybmO8z01FFm2U/0Uj Qe8jF4TQOdXfGnJ1IDYvLf/n0SlZoplA4JxzFC0pHi0ovOo3B4qmaBSjiDArrSbxIBbO 13nxQmY3EeuHDd7dKHhbu+T0miNOe2KIPrYK/wLauhudEppqg9uqjeTNaRMruuyd2YUQ bGGn+6d66bQ5KFCIScjUZ2bEEFXJUcaRBI9gGxGws6fa+8vE1CKybwq1a1RiPC9LEvTv BvhQ== X-Forwarded-Encrypted: i=1; AJvYcCWXBhTy/4dGi9OFKxoeLmHBjKIXfQ84D97rWtL9BJcQk4XnkxVesOmGH2Gy/9org0fU7MVjNdmJcyAeWnw=@vger.kernel.org X-Gm-Message-State: AOJu0YwPJ5TJS4Xvh/I420zDgO2JOEn+2CkfsXijIhVVnqqumwkJMYEL yARWqnULc1wwnmUrN8wWsYMkp52znq4lKlatGSZGEPFltcIf658RtUoeT+XirF4= X-Google-Smtp-Source: AGHT+IELI/bVcmvdyZTSN9hBWkdwB7oJD6kTnVdjciv8Nv/H1LfXG4kzLNgcKSWs8NfJtZc+8ZjFBg== X-Received: by 2002:a05:6808:6488:b0:3e6:54d0:d467 with SMTP id 5614622812f47-3e654d0d4d3mr6480892b6e.9.1730324045947; Wed, 30 Oct 2024 14:34:05 -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 5614622812f47-3e6611a661dsm52127b6e.14.2024.10.30.14.34.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 14:34:04 -0700 (PDT) From: David Lechner Date: Wed, 30 Oct 2024 16:33:57 -0500 Subject: [PATCH v3 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: <20241030-axi-dma-dt-yaml-v3-2-d3a9b506f96c@baylibre.com> References: <20241030-axi-dma-dt-yaml-v3-0-d3a9b506f96c@baylibre.com> In-Reply-To: <20241030-axi-dma-dt-yaml-v3-0-d3a9b506f96c@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. Acked-by: Nuno Sa Reviewed-by: Rob Herring (Arm) 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 b1f4bdcab4fd..63b6fb0423c2 100644 --- a/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml +++ b/Documentation/devicetree/bindings/dma/adi,axi-dmac.yaml @@ -33,8 +33,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. additionalProperties: false =20 properties: @@ -113,7 +117,6 @@ required: - interrupts - clocks - "#dma-cells" - - adi,channels =20 examples: - | @@ -123,17 +126,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>; /* Memory mapped */ - adi,destination-bus-width =3D <64>; - adi,destination-bus-type =3D <2>; /* FIFO */ - }; - }; }; --=20 2.43.0