From mboxrd@z Thu Jan 1 00:00:00 1970 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 4F2142EC560; Fri, 30 Jan 2026 00:49:37 +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=1769734179; cv=none; b=tym9KWZ2hhv53GZh+AnHjR/hdbfEy8xQke9Jj+fKEbvoQIpt40bJGK8+x4dO8djp3N4djUh4U+RMTw/F8m1jDFH8bwS2RvSUxFlNVDCkPdbHJ1/SlwBYDTY6YNw7Gwx+Xp3csQYRVhI9FWq54Fr3ZJfIrSin/+xB7NTpYZp6Jj0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769734179; c=relaxed/simple; bh=H6PT+g3TT064fh8FfFxdqhL8YRAq+WgEjx41rfmX4CY=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uTqtE9RHoHTlVJOZL5VbWYAUkF7fAjPqlMORd3d0rBo1EXgmHNe/5w9R7PIie/u+5jTE1fXkuGZuhZSThN9VuzxAKWdTjQzi0saUsZBSmXejU1VxgqggcJofMuBQGdBgHUhxvBZ71yJWwaN6LmMKlJiVdZDPVnXP7X3Tn6JJkbI= 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.99) (envelope-from ) id 1vlcha-000000007qc-02o4; Fri, 30 Jan 2026 00:49:34 +0000 Date: Fri, 30 Jan 2026 00:49:31 +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 , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v2 1/3] dt-bindings: net: dsa: lantiq,gswip: reference common PHY properties Message-ID: <8c0a6b08588baf33793c3be423a845620ef671ec.1769733972.git.daniel@makrotopia.org> References: <875329426cffe416ebe6a3064ed632604f29f100.1769733972.git.daniel@makrotopia.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <875329426cffe416ebe6a3064ed632604f29f100.1769733972.git.daniel@makrotopia.org> Reference the common PHY properties so RX and TX SerDes lane polarity of the SGMII/1000Base-X/2500Base-X PCS can be configured. Signed-off-by: Daniel Golle --- v2: use allOf to include PHY common properties, add example use Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml b/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml index f601e5f9fa6a..b4a31cde4322 100644 --- a/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml +++ b/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml @@ -105,6 +105,8 @@ patternProperties: patternProperties: "^(ethernet-)?port@[0-6]$": $ref: dsa-port.yaml# + allOf: + - $ref: /schemas/phy/phy-common-props.yaml# unevaluatedProperties: false properties: @@ -288,6 +290,7 @@ examples: - | #include + #include mdio { #address-cells = <1>; @@ -320,6 +323,7 @@ examples: label = "wan"; phy-mode = "1000base-x"; managed = "in-band-status"; + rx-polarity = ; }; port@5 { -- 2.52.0