From patchwork Tue Feb 18 19:52:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 13980749 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0915B1EB5C9 for ; Tue, 18 Feb 2025 19:52:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.36.163.20 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739908349; cv=none; b=dTEoa1cWctGzyFLm2CFF3GXiEr0dwWH2r1Ia+SgcANxgtUPG4c1N1YLZY6oCdxnmsWhn/eVE6xvBENWalZe7J1l5JrCUuj8nL+mwCIQtonajjXgFnIyiwnflW4TQVvl/Yozwbi8s04KlZFOYnVDRNicfFkwd7sKxqqyk0H6LP6U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739908349; c=relaxed/simple; bh=ODv3GGqKUR1bqT73hWp63rcmoOA+B/mTIKwThvKgDEU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RJZhqbVk6hrZyUK/o79Q09lLsXQM1OmE0FstP+fmoHYIznGPBC485cNFlDwPYL9wklIvSRlvjYaeYy4u6F1/ZXIkf6p4m5yt5k6ZRGZcy4fbMJw6pRr+9W3i2Rmi3dWoY78kSO5Qww6XA4fVfMDQ1AY/jcS4hB9K9qLhoIK+qPE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz; spf=pass smtp.mailfrom=alliedtelesis.co.nz; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b=LtcGqAxA; arc=none smtp.client-ip=202.36.163.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alliedtelesis.co.nz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="LtcGqAxA" Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 509FD2C00BE; Wed, 19 Feb 2025 08:52:20 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1739908340; bh=9BTR+ZuvH19w1jZujSlCK9rC3nkRI5vZ5l365E/HXFI=; h=From:To:Cc:Subject:Date:From; b=LtcGqAxALBCKBrHCaz9paTJxXDmd5wuqRW/6rNN0VQQcU58QksFlkUEgfkF+b2soB 9JGIXeAFU9FSVZ8ul+kwyXDTMH87lLWI9oCqkrAnaw9kvANslKWWGH6ppj2TMILTOJ JXkTZl6soQ/Vjn3M4Lv/K2eVtPgYWKTpdwI/1EpzKWrnxIu5Ohs8EZBgwz7Vg+bc+S ciyuSH9uwGUx+5H7Zfw1Umek8vR5+DVmf5PQz+Pv6yC9BcPH1LuniJXaaqvG2eRJTs IKWlt0nz+8b2pp4FFG6VP7qofMS0aT2EeiOkaFHYZwXtBmlB8c3TNW7LYp9T+IHcJg xRHXijQ+ggeEw== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Wed, 19 Feb 2025 08:52:19 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id EB67A13EE36; Wed, 19 Feb 2025 08:52:19 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id E6E8F2804FB; Wed, 19 Feb 2025 08:52:19 +1300 (NZDT) From: Chris Packham To: lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, tsbogend@alpha.franken.de Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-mips@vger.kernel.org, Chris Packham Subject: [RESEND PATCH net-next 0/5] dt-bindings: net: realtek,rtl9301-switch Date: Wed, 19 Feb 2025 08:52:11 +1300 Message-ID: <20250218195216.1034220-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.4 cv=ccpxrWDM c=1 sm=1 tr=0 ts=67b4e4f3 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=T2h4t0Lz3GQA:10 a=VwQbUJbxAAAA:8 a=lchjjVjLDbdZh1ZHapMA:9 a=3ZKOabzyN94A:10 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat X-Patchwork-Delegate: kuba@kernel.org This is my attempt at trying to sort out the mess I've created with the RTL9300 switch dt-bindings. Some context is available on [1] and [2]. The first patch just moves the binding from mfd/ to net/ (with an adjustment of the internal path name). The next two patches are successors to patches already sent as part of the series [3]. Finally the last two patches are needed to update the in-tree dts to pass `make dtbs_check`, I couldn't figure out a clean way of decoupling these `make dtbs_check` will either complain that the dts has unexpected properties or that it is missing required properties. [1] - https://lore.kernel.org/lkml/20250204-eccentric-deer-of-felicity-02b7ee@krzk-bin/ [2] - https://lore.kernel.org/lkml/4e3c5d83-d215-4eff-bf02-6d420592df8f@alliedtelesis.co.nz/ [3] - https://lore.kernel.org/lkml/20250204030249.1965444-1-chris.packham@alliedtelesis.co.nz/ Chris Packham (5): dt-bindings: net: Move realtek,rtl9301-switch to net dt-bindings: net: Add switch ports and interrupts to RTL9300 dt-bindings: net: Add Realtek MDIO controller mips: dts: realtek: Add switch interrupts mips: dts: cameo-rtl9302c: Add switch block .../bindings/net/realtek,rtl9301-mdio.yaml | 86 +++++++++++++++++++ .../{mfd => net}/realtek,rtl9301-switch.yaml | 63 +++++++++++++- .../cameo-rtl9302c-2x-rtl8224-2xge.dts | 48 +++++++++++ arch/mips/boot/dts/realtek/rtl930x.dtsi | 3 + 4 files changed, 199 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml rename Documentation/devicetree/bindings/{mfd => net}/realtek,rtl9301-switch.yaml (66%)