From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f50.google.com (mail-oa1-f50.google.com [209.85.160.50]) (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 D60DC409123 for ; Wed, 3 Jun 2026 20:44:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780519450; cv=none; b=YZ19Z7u3fOFn9fROZdOYk09AWUaG0SrfTb6LNe5+N8GezDtnLR3gUQ0v0sNlmsN3vNbaEh6miQdt797/v+ctDXojmxa7updEviV3eOQy4uyLYIdyTBWuUbueg5Ry4IdYCt16xp5Al/Y11iMGNdH2LRqY0gucAtTnwbazty6xiiM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780519450; c=relaxed/simple; bh=cVp6ayeUgmE8WBe34rL32LQuso/i4iAijoExnQqrcQc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YQKSNml5eGIVWV1y41efLzlX/ZghVex928HQlGsoa9mXzgWRjkU8L5HOWpb4qNn6CQfVbn0z6qZID4pqd9xrraTcliMNgpsLpeeRbvDPPug8IzUDVhm8uHL6dzjYrXpKXZQa2S2qVppU6deKVzdzTxsg0jOVVPIHii3F3xK0/5w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Qz9X5i2n; arc=none smtp.client-ip=209.85.160.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Qz9X5i2n" Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-43ccdc20e67so11301fac.1 for ; Wed, 03 Jun 2026 13:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780519447; x=1781124247; 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=mLhbmjyf/Pct2anMIF8eJOQ51u9gqHgtr+412iMIgpE=; b=Qz9X5i2nTcIhNIe1a5IIN9d4uP34651mWbQht0SEm9kRuzWw6MibroZ3hRElOojd2x IcdFwlp1m4I2LQy2sfa5gvz9ZbjwC71Njc8tyfqes3DBiUvCFZPU6RO9kDEUE/hqhMef UGKjA3eJmgjTNlUrlFHxP+RiFjW8XcirN6EOswyUX7bp1BbdEM+Jf7KAgBKSVFeRFDge J/w7Pd/V83MYDXurrjsX6NXVF/mhxXfeY+IX41HUmQdft7PPjZwuTp01pi/NNXx4gGj0 iO9C5mywFFGGAZZN7UaVmqG4YdRwj1OzoVfkxJ6v6KzFw0eRKsw/lvT57ic6e2BX0uhY +r/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780519447; x=1781124247; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=mLhbmjyf/Pct2anMIF8eJOQ51u9gqHgtr+412iMIgpE=; b=GBl/eRgLjLkmMhzZGdQxV4n/GXjHhjctAFI7liwj4Nf5rxLaepEhaekDRamldK/Qvh PRJbwHdyenAHjmg6CkYrDASe8knPO/H6yU4+GuYK0YW+WIs3CMlYeKRsTbNIC8HDKEVo EBHjjhgBpKKqeErCmBv1LXghDnzaWJr9Yy3JxWAn4nFqhtSY7vTX+Bgd+/cfnfKoegHI VwtwFkVZ0/C+9hW7CK3StaXXueE4nAwXDxIdbuXqEQS0HrNzSKfP5IBn/VuhywBh7GV3 JJuqETv/qywxphs/8VxhrJ59JCsOec7Bk59uuwx9g50b2ixjDu2bEJPxHvwJNzZruMZH bDqw== X-Forwarded-Encrypted: i=1; AFNElJ8ZE4+eMKIm2qzTPV+DPdBNDncA4jrgSrRR7aTmPFs1DRvmcHzXXvJBKSuXZDx3BF/F2QDL/dOr2WwdLKc=@vger.kernel.org X-Gm-Message-State: AOJu0YznCz9/GpuSq4agKxleft+U7bWL/fh+inY8lShFQRcgHI9+GXCl fK6paWgoOEkP4hdhphZ2Q/gdNbj1PhWqkxPT6qEWb7zAUuOlNpG1F79g X-Gm-Gg: Acq92OE1DzleKE4hhrEO9QJYsQ4GjdbhHEsX30/rDxq7I9c5mnOIoosqCtnPCE71sTC ygnbkDRmCXI/yH44P5j87liRq2LRKP2DfZdahc5be24gV5QKEd0FI9Sg0bH1uvT/1A+Np29BH7m TCPLy3tnAMZcxykl7Y3Q0j59Bdy3ZQhDW26ECvzHOBWhphGFrKI36ZKiYS1XwwIfcZ13JBN+qAX QmHGdvmhoLx5tH38cXtgAqpMsTeF5gHLmVfRbtsj0qXmZIglK+iV/9AWPt5Y+jypqAZ/uKE2UMb mzTVUqqsR48YALhY6JulIolJRLcHYW2BsuaaOQZBKeYiDHgktj2NqTJ2gHaY2Cx/FFb/b8RvM5h QWJ1zfeYwhFvhFmTSigVznyTPbc7H/BtunwIFVeoouMqtUhUARinthz13Vx5kp8tXzFBrLnIaUH 85mR74i2BBGNLAhIOZlUcIKsFQo2vu3ru1dN7ie30RGEs7wdYKyztdVKKnxc4n X-Received: by 2002:a05:6808:50a2:b0:47c:be93:9214 with SMTP id 5614622812f47-4865a97f66cmr2948106b6e.20.1780519446735; Wed, 03 Jun 2026 13:44:06 -0700 (PDT) Received: from [192.168.1.71] ([2600:1702:56e9:4b40:e3a9:78c5:641e:a58c]) by smtp.gmail.com with ESMTPSA id 5614622812f47-4865b5a5a64sm2667962b6e.4.2026.06.03.13.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2026 13:44:06 -0700 (PDT) From: Akash Sukhavasi Date: Wed, 03 Jun 2026 15:42:20 -0500 Subject: [PATCH v2 3/4] dt-bindings: net: dsa: remove obsolete dsa.txt 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: 7bit Message-Id: <20260603-b4-remove-redirect-stubs-v2-3-c8c19876ab64@gmail.com> References: <20260603-b4-remove-redirect-stubs-v2-0-c8c19876ab64@gmail.com> In-Reply-To: <20260603-b4-remove-redirect-stubs-v2-0-c8c19876ab64@gmail.com> To: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mauro Carvalho Chehab , Vladimir Oltean , Simon Horman , Jonathan Corbet , Shuah Khan , Dmitry Torokhov , Thierry Reding , Jonathan Hunter , Lee Jones Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-doc@vger.kernel.org, linux-input@vger.kernel.org, linux-tegra@vger.kernel.org, Akash Sukhavasi X-Mailer: b4 0.14.3 dsa.txt has been a redirect to dsa.yaml since commit bce58590d1bd ("dt-bindings: net: dsa: Add DSA yaml binding") introduced the .yaml schema. The .yaml has the same filename in the same directory, making this redirect unnecessary for discoverability. Two files still reference dsa.txt, forcing readers through an extra hop to reach the .yaml. The stub has not been touched since August 2020. Update references in lan9303.txt and Documentation/networking/dsa/dsa.rst to point directly to dsa.yaml and remove the stub. Signed-off-by: Akash Sukhavasi --- Documentation/devicetree/bindings/net/dsa/dsa.txt | 4 ---- Documentation/devicetree/bindings/net/dsa/lan9303.txt | 2 +- Documentation/networking/dsa/dsa.rst | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt deleted file mode 100644 index dab208b5c7c7..000000000000 --- a/Documentation/devicetree/bindings/net/dsa/dsa.txt +++ /dev/null @@ -1,4 +0,0 @@ -Distributed Switch Architecture Device Tree Bindings ----------------------------------------------------- - -See Documentation/devicetree/bindings/net/dsa/dsa.yaml for the documentation. diff --git a/Documentation/devicetree/bindings/net/dsa/lan9303.txt b/Documentation/devicetree/bindings/net/dsa/lan9303.txt index 46a732087f5c..0337c2ccfa9a 100644 --- a/Documentation/devicetree/bindings/net/dsa/lan9303.txt +++ b/Documentation/devicetree/bindings/net/dsa/lan9303.txt @@ -16,7 +16,7 @@ Optional properties: Subnodes: The integrated switch subnode should be specified according to the binding -described in dsa/dsa.txt. The CPU port of this switch is always port 0. +described in dsa/dsa.yaml. The CPU port of this switch is always port 0. Note: always use 'reg = <0/1/2>;' for the three DSA ports, even if the device is configured to use 1/2/3 instead. This hardware configuration will be diff --git a/Documentation/networking/dsa/dsa.rst b/Documentation/networking/dsa/dsa.rst index fd3c254ced1d..42a99f5dfa2e 100644 --- a/Documentation/networking/dsa/dsa.rst +++ b/Documentation/networking/dsa/dsa.rst @@ -509,7 +509,7 @@ Device Tree ----------- DSA features a standardized binding which is documented in -``Documentation/devicetree/bindings/net/dsa/dsa.txt``. PHY/MDIO library helper +``Documentation/devicetree/bindings/net/dsa/dsa.yaml``. PHY/MDIO library helper functions such as ``of_get_phy_mode()``, ``of_phy_connect()`` are also used to query per-port PHY specific details: interface connection, MDIO bus location, etc. -- 2.54.0