From nobody Thu Dec 18 18:51:21 2025 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (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 2DE6E30AD05; Mon, 3 Nov 2025 12:19:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.142.180.65 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762172383; cv=none; b=ugr0lyrhWYoGNAPw1c+EtioLznsQBKQ1pBFkf218CXgFM6kKHAsc7KcUQ49nO+cOGqW3B5fKXvL2waKLDmHape5Td3dEP8EGIFyjpsM+U905mHySQI4BAhgupmVLsSkNGdyrI6THTM6dBoOyVlA/gXpA9OhTF3HNaktisc4f2tE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762172383; c=relaxed/simple; bh=Kg6znQRD5qyU+hyUC/o2Pcdoa0Lc+Hoa651QbQCbKfY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JsvwLcdaBB/WLp1kW/nRy0RbHP/YnFFGWkQhJlNIsB4LNxZUCCyjVlJsmqCRFvu9S/gibT+YJIiJSNHaAwFnrZW7onnYPWTR05kVCBINm5e0y6+3ya8RGGeMWdNC9+O8C0LCf7Knl6NK3V6fp/bco0ixZpRLVg3vuGi767K8YBk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.client-ip=185.142.180.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.98.2) (envelope-from ) id 1vFtX7-000000000pr-2w9C; Mon, 03 Nov 2025 12:19:37 +0000 Date: Mon, 3 Nov 2025 12:19:34 +0000 From: Daniel Golle To: Hauke Mehrtens , Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Simon Horman , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andreas Schirm , Lukas Stockmann , Alexander Sverdlin , Peter Christen , Avinash Jayaraman , Bing tao Xu , Liang Xu , Juraj Povazanec , "Fanni (Fang-Yi) Chan" , "Benny (Ying-Tsan) Weng" , "Livia M. Rosu" , John Crispin Subject: [PATCH net-next v7 06/12] dt-bindings: net: dsa: lantiq,gswip: add MaxLinear RMII refclk output property Message-ID: <9813bb916ecce9bae366e6c50c081014fe5371ea.1762170107.git.daniel@makrotopia.org> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add support for the maxlinear,rmii-refclk-out boolean property on port nodes to configure the RMII reference clock to be an output rather than an input. This property is only applicable for ports in RMII mode and allows the switch to provide the reference clock for RMII-connected PHYs instead of requiring an external clock source. This corresponds to the driver changes that read this Device Tree property to configure the RMII clock direction. Signed-off-by: Daniel Golle Reviewed-by: Alexander Sverdlin Reviewed-by: Krzysztof Kozlowski --- v7: * put patternProperties: after properties: to follow standardized order v6: * switch order of patches, move deviation from dsa.yaml#/$defs/ethernet-ports to this patch which actually needs it v5: no changes v4: no changes v3: no changes v2: no changes since RFC: no changes .../bindings/net/dsa/lantiq,gswip.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml b/= Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml index f3154b19af78..809d0e9d0a15 100644 --- a/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml +++ b/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml @@ -6,8 +6,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# =20 title: Lantiq GSWIP Ethernet switches =20 -allOf: - - $ref: dsa.yaml#/$defs/ethernet-ports +$ref: dsa.yaml# =20 maintainers: - Hauke Mehrtens @@ -91,6 +90,21 @@ properties: =20 additionalProperties: false =20 +patternProperties: + "^(ethernet-)?ports$": + type: object + patternProperties: + "^(ethernet-)?port@[0-6]$": + $ref: dsa-port.yaml# + unevaluatedProperties: false + + properties: + maxlinear,rmii-refclk-out: + type: boolean + description: + Configure the RMII reference clock to be a clock output + rather than an input. Only applicable for RMII mode. + required: - compatible - reg --=20 2.51.2