From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3A99C982D8 for ; Sun, 20 Sep 2026 17:03:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=X23w5rpAbUjaGp4USF2QORFb2E/PKuv+IGbCT5/Okis=; b=Pl45C257TY/mX4 iYh9pb4CeM5oq9rMq+vlVLfRg78KvkIJgLKn/++kbtnl2jnZmpsXancyJvQYVyO9+l7R3I7h6GuwY 6CIAOXFViNheUAlarK8Wtro8h1qwLYSvgjXmlHAsf2AcMoxCs+9t3zmqGg0QzxWTQ6L+uSyjZta4S IDzsxZT9Sp2CNyFV8AXfMoGdwf430dvlQaovp2v9dEmAGcSJaqxPdxS0uA/AMwWng7YJSnvjuUqV6 NxElevzqzmjsTz8jffRtIfSsClKdFx/PPjmxcIygseVaJdSyS9mK9XoDEjmbuGP2ZgyQGswmR2p1v yeylGvUNw05t9a4NwqIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x8Kwn-000000009b5-0xlg; Sun, 20 Sep 2026 17:03:25 +0000 Received: from mail-pz2-x05.google.com ([2607:f8b0:4864:3b::5]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x8Kwh-000000009SN-1qfB for linux-rockchip@lists.infradead.org; Sun, 20 Sep 2026 17:03:23 +0000 Received: by mail-pz2-x05.google.com with SMTP id 41be03b00d2f7-cc1beca96deso1322059a12.0 for ; Sun, 20 Sep 2026 10:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789923799; x=1790528599; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=HWO0yYxZDPAwCYSgicIL5MDEtp9MsL193ldKBirIieA=; b=sgHEf02jSsY0Ltxt3ApYE7B1lbx0aisyEK9laAupHg4DftIWJEtas7ovIigUjHvcz2 XLSzOx8ud4uNSvOcxy59+x+rhor3TFctREgdSnM8bJk1bPt9Na2ygYNK5wCoDM5ZbFel NlG3kQpWK1DXoWsZzWS9rcuXog20DeTlVXmEJptVKr5i0Kx3Odgnm/+jdoP1/+a42rlr g+tOX8u8pjSUgatfkd/EjzyTqDHkLYoWNBg/QEcvl0QM+B77CTT0MuCU6XwfnUNaBxtW NZnCebRj5t/QZKN59ryyQqr6rz0fdwmL85HkpFUlS0zgQ8o6Sx6gzgichPLMKcKulSVb CfFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789923799; x=1790528599; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=HWO0yYxZDPAwCYSgicIL5MDEtp9MsL193ldKBirIieA=; b=i2Qbq25n4NLC/w+lGJ96Qy6WC9E7OvpFfTzOhsWpnH6Q94ZKgylRk39lZgb3frc0+c 5dWAclju8EHi/O9SX1YHnSkNS6L4X8pWjCzPZbPBVv5SrkB4qNCaaX5d3VRdf6p6f/Fd B32aEaxzMqxY4F/qcHntjKGNe3PBn0kWT8njJ0DThEL3adrBxgh9FpWmMVsTvUuys2i1 ZPg8UzMPSFZVG/jzlNSXM2pqsAzVwTV4aRCpQu2r29i8MqU5gvOSbOQ7ocAMsNhk4Jgg K20LDPHz3+OJ10t21nSM8gd3Uq/82LXRm35SP8oxk9vAQs6yLO6vXO6hk/SCwWbwFix8 +Ryw== X-Forwarded-Encrypted: i=1; AKwUvBwaOWRnFzdAjqy6ELx155E3wwfusW2VTqDJ3xNW2vWp5YmlPGW2kStJ7RD87G07vktJTDQdjEUVn0MRN/C6pw==@lists.infradead.org X-Gm-Message-State: AFuF++k0iQbrHa2Arvjwf75vJLc6jqTPIF6+oK+TRErwRlhjVPzN0j2j /AdEGLybgsbeMx86Y1YaTTHLy/g64nvWPgyhfk9vngbg2Gyfy/KefYsB X-Gm-Gg: AYBFou3mV43TT4TlQrksc4kNw/GGT1J+LDGnbq23RZtzrwHIaSiv7fSzPcqO7vpBmGV +Vnlo+xg1lwy3/fKjVpub0LFmFF9m9xGxkS5YbAMk0o0zcuKH2I12VMtmxANyx/hvHgdlgPc6jI K8LrmuM1+Kl0pI2wfTFBxderC8kwG0063jB3O7Xeb4U+gbqflFFaJ1pi32uizofdwWLrJS5/lm3 3CxUvC5zuHjDP9LpovWoZzp64CAVXaslqBGtajE/Vmwlt02MT9VlKx+Lxwc3avS2+SpZPMEyeA8 /KqvEDKl0yS+sPdAb7MuH/ZxHH08DnhiUEpOSk469bbQFNYcqN8Bnd1IRDtbRiCdBe20x/M1HzT bwhdnzVPYqc7nDgNRJO/M01uW0HeB6HezLW007jg/9H1gHSI5PjMExkPHDvNQJZ9wZSuRH9me5s /qyqmLr/DshDvPMCblc7zjkJjWAvbepqqvKuaNc0YDUZfWZP9FnNcNH732/RYwqHKqU19Tdw== X-Received: by 2002:a05:6a00:4b05:b0:878:34d7:6a33 with SMTP id d2e1a72fcca58-87834d76e0emr5109717b3a.39.1789923798674; Sun, 20 Sep 2026 10:03:18 -0700 (PDT) Received: from server.lan ([168.138.199.194]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-877a9d07425sm2140646b3a.42.2026.09.20.10.03.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Sep 2026 10:03:16 -0700 (PDT) From: Coia Prant To: Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Vinod Koul , Maxime Chevallier , Maxime Coquelin , Alexandre Torgue , Lad Prabhakar , Romain Gantois , Heiner Kallweit , Coia Prant Cc: Neil Armstrong , Russell King , Shawn Lin , David Heidelberg , netdev@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH net-next v9 08/11] dt-bindings: net: rockchip-dwmac: document pcs-handle Date: Mon, 21 Sep 2026 01:01:12 +0800 Message-ID: <20260920170116.3624104-9-coiaprant@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260920170116.3624104-1-coiaprant@gmail.com> References: <20260920170116.3624104-1-coiaprant@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260920_100319_610313_EDEF9CBC X-CRM114-Status: GOOD ( 10.08 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The Rockchip GMAC binding needs to describe the PCS reference used by the SGMII support added later in this series. The property will be parsed by rk_pcs_init(), and a missing phandle fails the probe. Add it and require it when phy-mode is "sgmii" on rockchip,rk3568-gmac, the only SoC in this binding that has SGMII support. Signed-off-by: Coia Prant --- .../bindings/net/rockchip-dwmac.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml index 80c252845349c..bb7540e838033 100644 --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml @@ -120,6 +120,12 @@ properties: maximum: 0x7F default: 0x10 + pcs-handle: + description: + Specifies a reference to a node representing the PCS device + connected to this GMAC. Required when phy-mode is "sgmii". + maxItems: 1 + phy-supply: description: PHY regulator @@ -159,6 +165,18 @@ allOf: clocks: minItems: 5 + - if: + properties: + compatible: + contains: + const: rockchip,rk3568-gmac + phy-mode: + contains: + const: sgmii + then: + required: + - pcs-handle + unevaluatedProperties: false examples: -- 2.47.3 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EEBBFC982D8 for ; Sun, 20 Sep 2026 17:03:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Q2jiZMogwjNQmC4X/dWl3qk0eVKtoth5ApT+xAZK/kg=; b=x+J2topLrNKm+8 KkjRKE3Dn7NSaCCarhy6P3ZVAEhuEFmaxCCCtdU9oIZy3NtUhTRIXhAFXd0zt6MGJJOlvZm7qyiFK 2WXm60AdvmgLx1fGXRgxuEwvhRmEgdfc+CQf1eJHPVUnaTemkWQvuyc35485GUuLFHY8faWWg2I9b TO9WoYXEbJVMuMLdrcvfOO1DmmV5gvAgYaCW+S0pwhf/O0l2FL9HNDqYAcXOLrjcjk+sI015JyssJ EHlZuInv5Cdtgr2AdIeaOPxV8w1RdlSxVGwcCkhQLiqYhWXv08LAGu/CWu0TOUe4t/dCw+IMGRi9w uMj0iFaV7HPLqSFSuYuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x8Kwv-000000009iw-26Tj; Sun, 20 Sep 2026 17:03:33 +0000 Received: from mail-pz2-x04.google.com ([2607:f8b0:4864:3b::4]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x8Kwh-000000009SM-1b1X for linux-phy@lists.infradead.org; Sun, 20 Sep 2026 17:03:25 +0000 Received: by mail-pz2-x04.google.com with SMTP id 41be03b00d2f7-cc4c181b42bso1622859a12.1 for ; Sun, 20 Sep 2026 10:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789923799; x=1790528599; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=HWO0yYxZDPAwCYSgicIL5MDEtp9MsL193ldKBirIieA=; b=sgHEf02jSsY0Ltxt3ApYE7B1lbx0aisyEK9laAupHg4DftIWJEtas7ovIigUjHvcz2 XLSzOx8ud4uNSvOcxy59+x+rhor3TFctREgdSnM8bJk1bPt9Na2ygYNK5wCoDM5ZbFel NlG3kQpWK1DXoWsZzWS9rcuXog20DeTlVXmEJptVKr5i0Kx3Odgnm/+jdoP1/+a42rlr g+tOX8u8pjSUgatfkd/EjzyTqDHkLYoWNBg/QEcvl0QM+B77CTT0MuCU6XwfnUNaBxtW NZnCebRj5t/QZKN59ryyQqr6rz0fdwmL85HkpFUlS0zgQ8o6Sx6gzgichPLMKcKulSVb CfFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789923799; x=1790528599; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=HWO0yYxZDPAwCYSgicIL5MDEtp9MsL193ldKBirIieA=; b=iYBsJkmWq90EynzoQOmHKyif9aId6NEpB2stsBAZUKp7Jb072sc1swcRujpeq4nkMD smTkCLZfXNNmjrjFJbaI3g4x30ZIVx5NzeGqH0euKfUbilNQ+f+582+ZtUVgcdHnAk73 OUOZXBEp55shqd8n/Jy8P/HOWOrhbavRdFs0G+8WY4zDtDQ9bAKBewB9mDnU+TxdF2NX Kde7bUFgS9s/NKvnvphB8pop8YjqUAe2brNkzW6ijajUnH7VqogUyxGnQqM7nHO1MkHO OSlKXiToPYLDChISDwVMfZ8s+p5C1n8zEBF/KSece8OPNgajLgBhLBL+JdoNy5EJWrDE wxQA== X-Forwarded-Encrypted: i=1; AKwUvBxHqMjukpOo7a0vlB2s6kaKNXEE43VmbGiOX41kdmwoZcTpGvhVvxyMEtP1aTGX0Dl+berp6fF0x9A=@lists.infradead.org X-Gm-Message-State: AFuF++mAizYx6eJt0NURUV23MgH/paRgIfHwIAmlyYfWr9E+UpT51NSf XEl4DMCL5+YQpzksUfglNDx2xPpOIfcfRKVYoBEqhoE8O4Ha6vqUAB1C X-Gm-Gg: AYBFou3cNTAe1hZeQZdiWFo2GZjzX0CBTFrP+DYTpuoI1257NeBwCbb+msrNSvMX+0l 9LgkGwt/Fc8yK5l8ayE1y9Kc8slAQced2bS+o7cbSRjasmN73oYjk1atLQq10YXgsBpjgH9VG6d A7hhGD9Baw6xFryURPDS81J6zF4cXvdsK3Jtg40IjEMI2QSr4CWHxeuHL+ijbuMomdS22EEPgp9 JBwz/P7aPYwBHr80xOcmqUxKY7+0D6w0UFwB7LcGNlnvYxZsF9ZcN6tJBzBjxSHiZWLf/yuGZVT mwZW5aE1/yhxJuo+IWg1zmMoQpXOVEF2C09H4xjlLJwRpg0s1utvR96JpxVV1oZHIyWqBK//hV3 78mosKSiKeycs6sl1mABnfyALinx2AxSioeD6lp3eBQxqNZqeep4RihBNG7wKl0FGQm8uYbFdyl /wlAHxqrchVQSULrRUGZYql38aCJBTMMEJdx0WSTIkoULvq9D43wQRiKYwCjODfbrrqdGq6Q== X-Received: by 2002:a05:6a00:4b05:b0:878:34d7:6a33 with SMTP id d2e1a72fcca58-87834d76e0emr5109717b3a.39.1789923798674; Sun, 20 Sep 2026 10:03:18 -0700 (PDT) Received: from server.lan ([168.138.199.194]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-877a9d07425sm2140646b3a.42.2026.09.20.10.03.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Sep 2026 10:03:16 -0700 (PDT) From: Coia Prant To: Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Vinod Koul , Maxime Chevallier , Maxime Coquelin , Alexandre Torgue , Lad Prabhakar , Romain Gantois , Heiner Kallweit , Coia Prant Cc: Neil Armstrong , Russell King , Shawn Lin , David Heidelberg , netdev@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH net-next v9 08/11] dt-bindings: net: rockchip-dwmac: document pcs-handle Date: Mon, 21 Sep 2026 01:01:12 +0800 Message-ID: <20260920170116.3624104-9-coiaprant@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260920170116.3624104-1-coiaprant@gmail.com> References: <20260920170116.3624104-1-coiaprant@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260920_100319_583946_83420198 X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org The Rockchip GMAC binding needs to describe the PCS reference used by the SGMII support added later in this series. The property will be parsed by rk_pcs_init(), and a missing phandle fails the probe. Add it and require it when phy-mode is "sgmii" on rockchip,rk3568-gmac, the only SoC in this binding that has SGMII support. Signed-off-by: Coia Prant --- .../bindings/net/rockchip-dwmac.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml index 80c252845349c..bb7540e838033 100644 --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml @@ -120,6 +120,12 @@ properties: maximum: 0x7F default: 0x10 + pcs-handle: + description: + Specifies a reference to a node representing the PCS device + connected to this GMAC. Required when phy-mode is "sgmii". + maxItems: 1 + phy-supply: description: PHY regulator @@ -159,6 +165,18 @@ allOf: clocks: minItems: 5 + - if: + properties: + compatible: + contains: + const: rockchip,rk3568-gmac + phy-mode: + contains: + const: sgmii + then: + required: + - pcs-handle + unevaluatedProperties: false examples: -- 2.47.3 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pz2-f2.google.com (mail-pz2-f2.google.com [74.125.228.2]) (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 495E946EC9B for ; Sun, 20 Sep 2026 17:03:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.228.2 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789923802; cv=none; b=I0diA5UQg8k/cV1sMbgozvUiI7PGuHlXyf05RuTd5LZ2JqZ6OeMv+KC2Y9H/6w0l3F2xK3Bl5uKW3dcXn2nmlTcbPhZcvcCebtNnew2Jb1ZTPSLbExRTQc89JTzHnRSW9MJUXy7UoWR4oK5aZMre+JagcoQWZRzQljpkxNuyIpE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789923802; c=relaxed/simple; bh=Vpg12s5aCfYhqiZT0MliutjEHvX20bbyVe8NFEbpumw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=I2HtIuba6QOPyBbGAVuYeZfHjdt65FnVuEyxLLsaBIeLxmXirdWki7SLg2AP3+37AIkGGdHz9bqP0toRyENVl0ncYfbTWlPwtrgeVs0MhZNzzkDYqp5HbTcmO4HHOiB8t906W7ak78QMkgfWv1REtG07XXgyiHrJNhyuNXZHpNY= 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=FwZTNyoe; arc=none smtp.client-ip=74.125.228.2 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="FwZTNyoe" Received: by mail-pz2-f2.google.com with SMTP id 41be03b00d2f7-cc4c181b42bso1622861a12.1 for ; Sun, 20 Sep 2026 10:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789923799; x=1790528599; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=HWO0yYxZDPAwCYSgicIL5MDEtp9MsL193ldKBirIieA=; b=FwZTNyoeDaJNgBcS74Wppi5RIdDcvODv6K0TcGuasPWodeMiTjsZKUHMp36N6p2mn4 eiUv7wtTLJYkoveeAr9FRfrcxvJ/jwEV3Wkl1dEWzRPkLZSrTYBm2+aLqEFlahQzlgok K1SmgOSBd6+4WF7xaFviAtEboUhMNhGzFl9OTZQB2EMefmhXICFFus6ETtWeWOrIq6D5 /CjZgqHBZGGdNserLQHrapM2gLElH1TQi/DMofl6SXz8gngTz/z+IrhOJmOv0zjc/LfA AQrOuGrs9JLjzWt3BDYhpHGLgi7GZ64RqVSAfkHmhJgUQUwDB39xwDrCm/ufTr74A6aK 9zKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789923799; x=1790528599; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=HWO0yYxZDPAwCYSgicIL5MDEtp9MsL193ldKBirIieA=; b=bKjmy4TZ4+I+Qvc1iKx0l/9JE5NhduPso53GBqJPxoMbF8gv6IvJpV89nU2UUz1b/T jVGe8a7VSMTTKf8hWiyH89NBvmYenXufyXKxM3Ityr9PokCm/N7R8k49plzAxw4m3lbK chpu/VmUO132iDvgtIVtINCrHnHa9oktjN2NkycxKals/VTtEkAM89us6GpuTpwXWpJb Y2cBpqcqmOUhrOAWNielzj1Hc3l5nfBRI7y7qsYTi4Fq97DeFGVSCJbsYblpXR1clpT/ xN+pK2g0cSaTL5jMKFMlz9mx8QnpOtSmmq+eY0FBxoe/8/CW87u/KwKXqiOENedJ2I2U n2Tg== X-Forwarded-Encrypted: i=1; AKwUvBzXo+l5aEGvU0Wijt/1X2yqlab1clXTbHbYUtZoxkGJZiKxh9NRlXTggrrsZpWgw1oUmwWFhUQ=@vger.kernel.org X-Gm-Message-State: AFuF++klTp3ax0nhWSdQJXu6cZtOc5tHfbc8cdnwQsgbFKfZ3DGFpRb4 Wh+DAE8IlIJF1xU9H6dGjhKwwS6lGY9LcQcnVoLMo/9/8xrCgC99Uhrq X-Gm-Gg: AYBFou03Tv58W7lnRssBoGbqeY9WXOGDLWjn6QX2xYlko+QxYnl4RPnM1p2SkWn6j3S uE3bHlDOo7+er80qGbEH6CV5UsLIhAQfJINFgpTgZ1VjclcNpxr3VNQR7WtDo9DV0tNpM567Z6r QL7pK+n1yGsgnwngFDSbkyzcdRuCA5NL0wHUYeTf142fCOW/vO1aOFInnETZmbMcJcQ1oCxs1LB JkslTE1k9sBu4WoLs6Y8kiQzx1ykoPBEhJG5YNlQ2qykjKRXv3832iNFIINZYAq1g61h1twWXeo UiXBzMv6oxPSpN/+yZaAuKKWQMAfsLe/5Fs1LSVzxhAhi1Ob+1KACSw898t8GZ1m5Tv3YQ7Cms8 2MtKAqOntJ1Z+bKJgCziZg3C17QR4CHeoyEJhe1BDMGUVxsC98UDghibQw2wj3dXzrHpiDCc1tR kUdTYqroaR80MvzZiru5rRryAskNSBQQhhwsweX68B3Hu+bwuk1yxhBkUi6FmuG9xEEtIQIg== X-Received: by 2002:a05:6a00:4b05:b0:878:34d7:6a33 with SMTP id d2e1a72fcca58-87834d76e0emr5109717b3a.39.1789923798674; Sun, 20 Sep 2026 10:03:18 -0700 (PDT) Received: from server.lan ([168.138.199.194]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-877a9d07425sm2140646b3a.42.2026.09.20.10.03.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Sep 2026 10:03:16 -0700 (PDT) From: Coia Prant To: Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Vinod Koul , Maxime Chevallier , Maxime Coquelin , Alexandre Torgue , Lad Prabhakar , Romain Gantois , Heiner Kallweit , Coia Prant Cc: Neil Armstrong , Russell King , Shawn Lin , David Heidelberg , netdev@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH net-next v9 08/11] dt-bindings: net: rockchip-dwmac: document pcs-handle Date: Mon, 21 Sep 2026 01:01:12 +0800 Message-ID: <20260920170116.3624104-9-coiaprant@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260920170116.3624104-1-coiaprant@gmail.com> References: <20260920170116.3624104-1-coiaprant@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Rockchip GMAC binding needs to describe the PCS reference used by the SGMII support added later in this series. The property will be parsed by rk_pcs_init(), and a missing phandle fails the probe. Add it and require it when phy-mode is "sgmii" on rockchip,rk3568-gmac, the only SoC in this binding that has SGMII support. Signed-off-by: Coia Prant --- .../bindings/net/rockchip-dwmac.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml index 80c252845349c..bb7540e838033 100644 --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml @@ -120,6 +120,12 @@ properties: maximum: 0x7F default: 0x10 + pcs-handle: + description: + Specifies a reference to a node representing the PCS device + connected to this GMAC. Required when phy-mode is "sgmii". + maxItems: 1 + phy-supply: description: PHY regulator @@ -159,6 +165,18 @@ allOf: clocks: minItems: 5 + - if: + properties: + compatible: + contains: + const: rockchip,rk3568-gmac + phy-mode: + contains: + const: sgmii + then: + required: + - pcs-handle + unevaluatedProperties: false examples: -- 2.47.3