From nobody Tue Apr 7 07:55:57 2026 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 9FB4537BE96 for ; Sun, 15 Mar 2026 20:45:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773607513; cv=none; b=sxSR61oG4iBPZWeewUPjJ5oldMi+e/n9zq7ZG9/t8vRz/2Bg2gUBXzpECiTZ7tvYmtU05gzYlbD1/P3q+3QWBVdbCnt58IpZoFCiqFDNz3mO+1yJJV7fzkdUiKRTKuudQmHT4cnsU+p8iU036S9R9vS2xvNlde3V6s0pU2EHVhQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773607513; c=relaxed/simple; bh=i6Ts41fXLRb5swardCZUkTCJ3f2AD6uWbw7o0btGsW8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TcqKDDJZ5FhwIkOawIhMEk3SzlLYur7pkCyLd/p+zjtOMYna9IFUMXuU8NO1YQj0cD2yIrtAP9auG786BgFq6VD6VEg6tkNhBKXWwpHCrersPjYW30K8V6xVDfpoh7gL9drtDP3AaJR5w2HZueeoFXskBljUzlgwfDbdhxOM6Jc= 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=Vy8WKNlL; arc=none smtp.client-ip=209.85.128.52 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="Vy8WKNlL" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-48557c8ad47so20379735e9.0 for ; Sun, 15 Mar 2026 13:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773607510; x=1774212310; 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; bh=98rPC4PTu7tCmBtkzzBMDz6PWd5qa76zGSirl2GTGes=; b=Vy8WKNlLTLqR/g/wB4o6G9mzeTCLHrEhf2/eM0BgizBIQZakxr6t5fTjyvtcidTIJf RuLbfvubzx4MjHZZ7bNviW+VIVR8PCasXMC+5uAOpyqMlrzWHR3qGvQD/gfn8FzzPZeY IQrGIRlksX3I9J0om5YWTWnQpPRdmbRxk/ZmZ1znK4juMIniTqvyHEtiu6XtFaRIRSKy GYsbAF+6dwWvCFStMU25lO2XA/D2MAH5SxIZArqFrTwyWU9w1zUK/P/nnbaNlIwvKzk8 lQZnZcT0AesXZL57WRFDBG/1X/3kfjiBduONRrI86JdLNWX/kPMQpsQj0fJ2+aI/95uD uUAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773607510; x=1774212310; 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; bh=98rPC4PTu7tCmBtkzzBMDz6PWd5qa76zGSirl2GTGes=; b=nXRroQY6cDgg5Y/W5zyql7loveHOockznCkwIyx/rEFbsvvsImA017WvZ+lhtlsD5W tLgzoZ1jezDVlaXpuG/zIDkmH5Z1T5REraxHg7ENU2h6h2VhFoLbcQuEtKY5YkC3QqFD M2q3Dqeb3/iVMuU5sAn+ZhXU0AWe9SX39bKgR64DGPx3V6F/dnTYDvys7VC6Feq8HO7/ k6QkhwOhSaDli48I1RpvABRKLUYp9O5w1GZNX3NR6pGguPP5vnPsAvI6XOqWRZ2FRqnv R+X5lHMFH2Q2WGTFPzTSRlc004vXVC2VLpfO4mAZx3frHfiIO+itcIFA1ZTEQtKz7YX2 n5hw== X-Forwarded-Encrypted: i=1; AJvYcCXHCvvc6Tr0UOSYLcHKC8iqnAfy6ZrfQnmDorEwqBt/0u2Hre7Bstxi4wkDNSnT5ezlmHK/7PplMHigHEQ=@vger.kernel.org X-Gm-Message-State: AOJu0YzHBM6+ubAwS7zQuCj/fMfzfZF79CEYCZ2A3EfHRBflbOKb1UcB 7wp+/tdRlQyHQcEZWa645reTXnsrAFs4Rk0lTtqowhyTVWBB94P8ITHS X-Gm-Gg: ATEYQzzAccNBzi+Prqt35X19JLHfPoF36Vi0eqUbquWxYxqpw77qUNnK/M2rWkd20mg yie/VZk02nfhRcM/M3waDP+Tl15XdWtUKV66Sh/RiMYQOxHE4zvYcs2Q16y1g/h6eimCgBm9c59 4XnryA9jU7LQ2UBBUUjNMwVBQtpiNZBEDGWkMJBDVpWkz3++OGf09/ZiFVhgq3dHdulOGT24yuw hebQMkR1xTAvJCHWjVxwPg7oNs61pjYpfcg6zFrDkMeDRH3e/J4v48KqXABsnqwg9M6U3EGKA3s lDxlhu/qlj6zLVJRf8fER77YZhpCR/hvg82gb/iYBVc1r4l/AF2LKiTzbgPyuIJ5OQK5xDnMdf3 4aYc0RtTlZtOpNvCI2LpRjkr8RiEX94UiMCsx0TqLDle1VsYSA1b0IDx4rH1Nc12kjKPdYoUIYC VG+P5oQ8Xj/hYBja9eNeJCB+g= X-Received: by 2002:a05:600c:8b2c:b0:485:4bd1:4c7e with SMTP id 5b1f17b1804b1-485567148e8mr179710125e9.33.1773607509651; Sun, 15 Mar 2026 13:45:09 -0700 (PDT) Received: from nas.local ([2001:912:1ac0:1e00:c662:37ff:fe09:93df]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-485563f8c23sm132043885e9.1.2026.03.15.13.45.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2026 13:45:08 -0700 (PDT) From: Damien Dejean To: andrew@lunn.ch, krzk+dt@kernel.org, robh@kernel.org, kuba@kernel.org, maxime.chevallier@bootlin.com, pabeni@redhat.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, edumazet@google.com, davem@davemloft.net, hkallweit1@gmail.com, Damien Dejean Subject: [PATCH net-next v8 1/4] dt-bindings: net: ethernet-phy: add property enet-phy-pair-order Date: Sun, 15 Mar 2026 21:44:51 +0100 Message-ID: <20260315204454.124544-2-dam.dejean@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260315204454.124544-1-dam.dejean@gmail.com> References: <20260315204454.124544-1-dam.dejean@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: quoted-printable Content-Type: text/plain; charset="utf-8" Add property enet-phy-pair-order to the device tree bindings to define the pair order of the PHY. To simplify PCB design some manufacturers allow to wire the pairs in a reverse order, and change the order in software. The property can be set to 0 to force the normal pair order (ABCD), or 1 to force the reverse pair order (DCBA). Signed-off-by: Damien Dejean Reviewed-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/net/ethernet-phy.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Docu= mentation/devicetree/bindings/net/ethernet-phy.yaml index 58634fee9fc4..4a27547f7d7a 100644 --- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml @@ -126,6 +126,12 @@ properties: e.g. wrong bootstrap configuration caused by issues in PCB layout design. =20 + enet-phy-pair-order: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1] + description: + For normal (0) or reverse (1) order of the pairs (ABCD -> DCBA). + eee-broken-100tx: $ref: /schemas/types.yaml#/definitions/flag description: --=20 2.47.3