From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj2-f1.google.com (mail-pj2-f1.google.com [74.125.227.129]) (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 56FC64AC17E for ; Tue, 22 Sep 2026 20:04:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.227.129 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790107496; cv=none; b=SU/KlPFeqQZaZkgugYoo9lUZZPR1HWKjvZsiusUUasv5dOq2Af63S33bGyUBTDUpHuuVDh7CQ2AFUJsoK5itwa/BtkBQCL19WTwfdYy8pHlLLWGDR7vlPEk9WB1LMfcMmnZxq6oxYqmXy5K+4knwxeD0C+nlg7MgQCpDaXFmJ5g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790107496; c=relaxed/simple; bh=Vpg12s5aCfYhqiZT0MliutjEHvX20bbyVe8NFEbpumw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=k/K48z8l5p+ORI8/fHvSbz2yvweXDuksUy33UCdXhIifqRd8cxFbe1nR/wtsWjjw2kpmFj06eGYXJ28zI/YnnktneT2HYNImdF+A9qqp+thfXIw/fZsL8ThJA2t1ujZZPMde01O9c7WKkKVgJmSphH+1Ih9TErI95LPd1D5AWI4= 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=W1xiJ9KJ; arc=none smtp.client-ip=74.125.227.129 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="W1xiJ9KJ" Received: by mail-pj2-f1.google.com with SMTP id d9443c01a7336-2dae660f31bso1050505ad.1 for ; Tue, 22 Sep 2026 13:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790107489; x=1790712289; 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=W1xiJ9KJ4RWZ1iletsqCG6k9ZncFdwx37U+P0w1fFrMrWnw/4I9t/bQPpxy9gcQkWU G85wNCVv2ly5C5vc+utUv9IXzmdKs0XhDlbNPQ2U4MgclAkxsAq2cyBVTjIxg4B9cOpL mLtY8MNfe9iSl5Z5hL5lyW6cuK4o3Wwu6t/3cFmBS30UxQE/c//RIfwl9dNqlND60Yec eu+sj8j1tnWalosiHA5kjcaYNOGmYmYnkm2D2M0ebelE7z9uYuu/59jwCQjnt+sGUONH nQ9ZOT7mAprdAq/O9uRfwjUTyTzvXcYqxLoX0tjeUHHV4gE6X2/qgT71NGichSH6SbkH Bd2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790107489; x=1790712289; 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=uICpaL8m64k5JZApDBud0YflSWAeI0VYpzVC09ml7DzpK24jdkvMiDH/gHhHWScTMk QJPVuqARJsy2B3uPJ25v8qpLZfbQAx3GekGPwRT6uQd1x4cVbRd5ewxnE4p6XWqLkVcH JHjtrO446ltwPT0rorwInHiFm0ms6mco7gnwLndPvPhiJeXtk5cim3maChIjPxOChNSK HyZXIUlU6MbDxitb5og0uc4g1Rq42t1OfkvE1lu0zAEo6pNonAVN8gJ8KuewQPZxoK99 7IdzWOYtvrKeCyfPJKveLcXCmy52aXo6xpHdavHjSvZ4/IMVJz8XqkBo+tqG9dnx2ge8 Z1yA== X-Forwarded-Encrypted: i=1; AKwUvBwp2cXJdrfg+rSDbij80aXoTZ3vp33VQKJ4rBbiz2Bubg6nnUMz/OE1FZWNNQuRvx/8ruOjZlI=@vger.kernel.org X-Gm-Message-State: AFuF++kcmMDq8TLwIC63KD+98fZsaqkLVLuRCy+nPQYWh0U3pms60Y8P qVEKL3ATgajSur8mb1MVeNYcuaJuGNCHN6T0UqUcDahz237ehnzm5Sae X-Gm-Gg: AYBFou1WnxIJ+Xvev4MwWxcEbyTylStyQCQhVp9dNgwXvfgBIKEIkIkjLmVgCk8z8iy f0pLRuk+Yq8tBKOKoT2Wd4QWawnotKk7GH7u0zvw6kZ77mb81E8a2GHvYzmkHYxb1PGXqoBgxru kei9WsfEppRZgmxWQE3opr89brFOuX2fot2N+n2vUxtPA7soliDeqoPfiS9bGcRnWSR9R+psVOW aUHl75wUpjIO5ZBGLAvVUgMN/KiKQJCnkb1WRkfkkAl+VnBiu1YUKEwyTjl6EPABc7t91yewk9Z E/ajDFQqt76tAriiFGeW1Dmo1877fs3+bxun5yEojK59ATW/ogqWuaXuuq3IfC45oiZjZVJ7IHR knmN7g9AuS1DFSKqKb2UvPEEdfhoiErIfKwqPyAWUDGsXWYvSu21njsU3goAMlvrhL+3Rq84+Uu zN44okUKwwQ7P7xlM6pLNYfWYd1VaGRzwUQyhxUHl+XnZYOox0wT+XQbOp4hcqqYI8HBfP X-Received: by 2002:a17:903:1a86:b0:2d9:520c:38e7 with SMTP id d9443c01a7336-2df69d1b106mr4415425ad.1.1790107488984; Tue, 22 Sep 2026 13:04:48 -0700 (PDT) Received: from server.lan ([168.138.199.194]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2df6a5eea15sm654515ad.64.2026.09.22.13.04.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Sep 2026 13:04:48 -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 v10 08/11] dt-bindings: net: rockchip-dwmac: document pcs-handle Date: Wed, 23 Sep 2026 04:03:32 +0800 Message-ID: <20260922200336.2201212-9-coiaprant@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260922200336.2201212-1-coiaprant@gmail.com> References: <20260922200336.2201212-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