From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj2-f2.google.com (mail-pj2-f2.google.com [74.125.227.130]) (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 DC3523F6C55 for ; Sun, 13 Sep 2026 19:00:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.227.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789326064; cv=none; b=EDw9TDIPg6jpwGTL3bCXqp8dWbMfX10K3uemyyplnfTvBhPkjQYXANjxCyBSBtJTOgCsV74Yj/tHn4H+eRUFfE7mQ9vRJY3HBfjBKfuqqNjJuvySt3LksHA/UFhIQtRyONj0Mdo3G3X0zbUXG6gUu2eG+wAdcnljm8AfadgYzI8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789326064; c=relaxed/simple; bh=/XopV8KTgRYgJTjrUXTlaOTR0QRZ8vtOfg0QiwkYOPs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=StGzt1N4J2B7D3TEvKkceZK0EyNQqL4xiHsrdKyZZ99Zn0hGMg+jllp53AjASjPTI9J/wQACBgMCuZDQLHsD4glcejMtwLoXoYBfEznsJ33OyxhTcIUbekYlWlZ1tldwFb9kH0XnLHdeOLvEEzMoN1mlWToHFj2U6OqAA3Epd0M= 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=XcPwio70; arc=none smtp.client-ip=74.125.227.130 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="XcPwio70" Received: by mail-pj2-f2.google.com with SMTP id d9443c01a7336-2db39df9c51so9594435ad.1 for ; Sun, 13 Sep 2026 12:00:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789326053; x=1789930853; 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=TJZ0PecvDJzl0BEu7eLa+JMyHq2Op9t0/swrRCuqxn8=; b=XcPwio70FbxEMR/69nLz2Jkdo3He75E5qKdEijddj/doqM/WCjsfJ75WPIIU3neOes v0e3chnisWmuSUN33YqYsjx262nme5HOL0nQJUX6yRFHCzH0SW5eWzbbDk2YNY7LH5IF Hx9B5dK8zdZ8EbrqIIKyhAkLjnfx1tc29PWsT9KnTFtdBSy2A2T0rd+SCmlx6PXZqPmq S7O6GiBYTcIDzTxygnbXY5+6l4EQYVIp2IGZc6/X2LuZ/7cqyI1OHblvAgRSd+jK2Kb+ qfHEvNBkK6vJbjYKKFArtiJp4MnzJ9iV1EmQfX0XrQWnI3ddlB/PmJaoeZ3VMuVzEb+n l+Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789326053; x=1789930853; 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=TJZ0PecvDJzl0BEu7eLa+JMyHq2Op9t0/swrRCuqxn8=; b=p6Cj6dfT3bpMNQkT4CNZht3VClCAIIU6QyJKzFNc/XswOyt4qhhbOilaHTdivahO9T pmdUfwO5YRBFj6eSYoi2OaTN9QkYvo1EWFoT+opfg4Lc37i896BgtAIdrfRJkbLLO+lT dC2dDESsCBc4Z45E5U3JFopM4EthCuPrNHpo9lbD4jPEglOtxEaKzVtR9bbKOcmKGnXU s/xAS/4fmtuZikydnk+2PoNvyl8/yvArleX+tqv8Y05XAyoB/TANepYujVvuRwUTC31L 1CoNNQ0Sd06uFLtog864V9JoY8oglD6O6D/PXXAfXvSMKiURdZEnP529EPLXG1VEI/zn psJg== X-Forwarded-Encrypted: i=1; AKwUvBz9H4lgj6DrmFat0cjjSAmgyypzgEkCOsYdFtIlVjljbah7Z9D7IenYPdFm4SfqOdK6rThHq/dl/UTKQDw=@vger.kernel.org X-Gm-Message-State: AFuF++nFBkej0Sd0tBJavqxSAzJz6gGc6JR7a8qq+QuwZT0iiN4tGpdg DG9sWQNggMjC1+sDMo5VJzCRoc34H5mTrBpaZjKTSk/x+ASsIawUwldg X-Gm-Gg: AYBFou0zaG/2VaIsyteQqs/qhX/6z1oUaax8SyfDrcBoZf1OIP8IZ4/olxpoCP7Qwxg O6YJ813/g12IUHuz2glosh7wGdHKxFAMdOHXkVqOcrPpUu/1dO8tIzaP42+K0/JgVLri9CgFVO2 Svh2klmcSmYymIalHkIwywUigCu1fYLUmUxXmuoH919CoFOeRpCgvQWfDkyobD41Yinz7hyjIm0 o56ZTFj4goH+buAoA7vdVVmLxrcujab/4SSr8jkoZ6d3NgXOzd6+FIB0BvYgQOUVFb70wGlgpVO ZgWxgkQaXHvNLBDUYYrfYFt+dJjkEJo9KIoOHhJfvGURJ0y7E5QUeHQYr6E0waVUziiNqdlSWOz mixA9NANthQB0aH/zUcrD7VmPYSdvlMHNsYArrQi0g8nn3c/v/O5MlMqtyN99dvXwzqLW8bHj+t D92ETJjerbI5yyrFOVRBIBu70Ht1ZbbNwfPpvWoMLEaFj20ES89Bhv2CthPvBk15LeZVPKHQ== X-Received: by 2002:a17:902:ea0f:b0:2dd:319:c9ef with SMTP id d9443c01a7336-2dd2a1c41camr232853065ad.3.1789326052648; Sun, 13 Sep 2026 12:00:52 -0700 (PDT) Received: from server.lan ([168.138.199.194]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2dd2cca6b7bsm36808655ad.3.2026.09.13.12.00.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Sep 2026 12:00:52 -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-stm32@st-md-mailman.stormreply.com, linux-renesas-soc@vger.kernel.org Subject: [PATCH net-next v5 08/11] dt-bindings: net: rockchip-dwmac: document pcs-handle Date: Mon, 14 Sep 2026 02:58:43 +0800 Message-ID: <20260913185849.907479-9-coiaprant@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260913185849.907479-1-coiaprant@gmail.com> References: <20260913185849.907479-1-coiaprant@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Rockchip dwmac glue driver now supports SGMII on RK3568 and requires a PCS, referenced through the "pcs-handle" property. The property is parsed by rk_pcs_init() and a missing phandle fails the probe, so describe it in the binding and require it when phy-mode is "sgmii". Signed-off-by: Coia Prant --- .../devicetree/bindings/net/rockchip-dwmac.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml index 80c252845349c..67b21ea77ec96 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,15 @@ allOf: clocks: minItems: 5 + - if: + properties: + phy-mode: + contains: + const: sgmii + then: + required: + - pcs-handle + unevaluatedProperties: false examples: -- 2.47.3