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 0DDC84DA9A5 for ; Tue, 22 Sep 2026 20:04:51 +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=1790107508; cv=none; b=X2HcM2OLTBM4ZND/fLb/WSFvOZNQvsSx7RE0+1aRueKDzo2NItPqM00bpXjjjDiweNb1uGWeySltkaFZ24J5ZuFWYrn6zAZrrafevBk+EnqdETdr01zzhbIVOFs9Orr1Z/f9dJ/GP/Wq2za+tBhC15bqLpjeBVqRKuIiuwhfkbM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790107508; c=relaxed/simple; bh=Vpg12s5aCfYhqiZT0MliutjEHvX20bbyVe8NFEbpumw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WPpOwCD6+TAjZ+7dEiDPQlGUW/JxG8q3wT8Y95dsQbe88uJ12hF6hIU/tdn6RZ4AR1Flbni33g1Bw3G4ghN+RiB0Bso69WLu3rRVcjA8XWF7EtedONzEERVCxkY8gLOdFodwPwX9Raj6PzpV6P0rdYZ2zq+keAfLxVEalpCUw0c= 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-2dae660f31bso1050525ad.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=neQx6s2aQR21syBE9vPECaH6x7vvgCCuFlOm0M58j7JTbMWcX5DZqAky/F6K1lYi4E WN5BS/+TRwl7jY8zgdB5PCxx28IHWQz5TX7Xyp5RT+vcsBNecQLAQ2QSBajxT3Clr3iG KVvT7lgNIqefmZALPhWcvcFlyt9SsSxGx7IiWFl0nFd142MHf9zwx0iKfWGKp5r3iSuU v9cf1hKwHUM9ZBMoEaauNGNMSclIiuLHn/QY1EVTIWGT5NjsGdgtEInHyIlvD9d0B3lQ 9pCWneNujGxdHaSW5AHhQ+MTyg7BcNhXNSVCkhyKM8HcKq4CGUX8U1tYKJx9Cw8d5UsT 33PA== X-Forwarded-Encrypted: i=1; AKwUvByOCvwQDozLoKTdjAV+0W+YPkdufXzdVA2Da2QANbLCmV6deLMN37O7Vl7PdN7QP/IToslxh6N2bTtx2MTCotzbow==@vger.kernel.org X-Gm-Message-State: AFuF++neifrNIVqws8yqYYtR70c3plL5pUXvfURvZ5gu8FnyYi33ndDQ hqt+s92VWyy0UEfMxO7OLu5MEsRgWjRZRC5XnTB6Fj8hQSHMFT7nYvGT X-Gm-Gg: AYBFou0IT4kr0oggqRjUQlgfPAOw/8JOjc/nmz+CDkbwPeY/gh8wzsAIP95gaBaTEc4 BFe5sntMh+CLpMZknERpFi6on0ZNIjI/jX1ulvJtWxa0gez35xCP8oqMBj84PC1cwOK+BqKO42z f1eCSYr2diVjynhLV2lxsUiPgNG+aQDn34T6UVOjCo2KoFMuYVIZmHbELhlkRjA3p0P+NyzlIVj flxPFJiKePsnup1Ly7CkKIm6UMUO8BlrjMqqTYcYp7rXnc+MSd3gTfT0QVpF3nFyiVXyzJa2t/o NKIHUvN4s+WiXjn1qGWjLPjCPH2AiXwf1f0LiOtlJ/QSgRK//Hcnac6PE0mGDFVSrsQFS/DvSpo vG6JbwQ3mzt/6gd8GorcbsQNzzkIOPFqbA4KptJCkz6sDGvAy8Y8GoCcSej2TFCVwF+xUzl8QEZ HNGbZLd0aB0LqwdOrga8goYBBMMGichC1eaVFRNYS5Xt01lCjCVhxOerb9rt4e3tyqQIQc 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: linux-renesas-soc@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