From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 286863D47C2 for ; Tue, 10 Mar 2026 17:38:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773164335; cv=none; b=EC7mc8vOwD8Ny3vArIAdrS0lr2wlUVkaSnOPWgBGnJMdoA2d43mz9AjTVMjVpnVdph9lIUBPoh89L4l3xcC+PL2vIotQEmmHysFcvJzjQwyIayQBWjJ7tO5+sW9mwy3MJLc84e66gtQLMUlMniATvJ8+AXIrMyi7g7PALUkhS9k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773164335; c=relaxed/simple; bh=gMpNvbA/trS3NU+BTse6Rix5R6BzD4pVqoDkvYr4Ioc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=e5F5B8/rSf8VrQ2t5v0qLlD351+wxgktJtgiezWEYUiOxyxx9IPxqD4Gxp/wOjO3iRezhHd1mFm5uS7vWGs6wuIxwwnCq5Unc1A78488RJY6icjTGoJ1Rq5zBhbxOHPvbY9PW020WM2BUwi+9A21rck4CFHfEbJRcSsZWTnlm7w= 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=VQ6s53ZL; arc=none smtp.client-ip=209.85.128.50 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="VQ6s53ZL" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4853fd7b59aso14003415e9.2 for ; Tue, 10 Mar 2026 10:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773164331; x=1773769131; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ieE8e1+SXTVLenv18290igX/i+pY0PQ8nKAIjWBC1pc=; b=VQ6s53ZLCuxOyiGHglt/4gRg1rgUoK9chyLUsTBERb0SgsEU+71hHRaMoVKJcdNV0u /w+6DgWdEewHHui+M5LhfvT3hC9W3/TTYMaR+ZbUS+BSpnOGGup8C53anVPuEmKv6sjt rBYHCfVAKSqz3LrjLbPpOgkYVU/cDrxtfY0Nkyb5ygOXyQ6VR/Yp7m2jjGUPXnVtYOi5 9XABZ+mecyToMCecYsuamTd7klC38cjZRAiU1JUb4ANqhdsA9ttTTgQyF4KtRAn9fyIP NJHMNUyhwGSHQtchzX/lfd8IwLPRJzGgfE+kvkDppb02l5U0ED8lTpnj3pVgVPMBghts mNZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773164331; x=1773769131; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ieE8e1+SXTVLenv18290igX/i+pY0PQ8nKAIjWBC1pc=; b=ciFGTaveF75qbdttlLlwoVJ1BGYELU8hnXK6Dlg5SzCBVyASHX2D5kPyN4tG79TkOM iU3yaX0RljjEJAkPkZbCZ6118yhfd+IUx56wA6sQ1HhuEp+H3EpSPTnMvmDey0jT4Jjc ospiqp9LFt9g9DfivC3V8YopjO/FJyBwNTbyhsPEq8zGM+n7qQCOg7XWkvWYncVl5PUx ASlb12FUb9EYuz1aUTThupe6uyhUS/bYzVlPaAVMuXfwmYxaIAdt9YADW9HW+1u+4XjN rTRZmOV11gDa6yH5VoPv30Fv+NgaNJoK6JqQrJbqYJ9eBLRc+hAUI5hRFMKr9JXvmY4K PK8w== X-Forwarded-Encrypted: i=1; AJvYcCUv3b0sBeFrda/RhyO2Hkp+tSytUfLamDTdxiVeO/VOJT8vQDCb7NtwlisZ9cFzpkcUeGXYZJ+MvrCr1fw=@vger.kernel.org X-Gm-Message-State: AOJu0Yz+nUIzD5V+i7eXf2We9/4hzpAQ41nin1w2Fvx0HVlPDj3Kt55d f2gsEDRqSMqZfGGETKHqb8Ql5zQPMhclONxUqTIZCZP4wCt/iSGsiYFE X-Gm-Gg: ATEYQzyqIREzo8XiKmgnDP6U+GjHgUK9AksNIr3v1S9LGqoZyNkIB2bOTS0UatROaee +aW4vVkBB4olHpC8KflYq8y1tePDIWMvP//hYbKRKfVIbPH5InUK8NH8XBRfgBhnDm5uRO2dzAS sylytkH0FgdzVYFjZPhBUamPTwxVHtuyHSxZ108Z1C5SD+FM/R7l8mCjwkqgpTdw0Bcb10fwiqu balfCHTSGsKQjmNZOvGAL1Gb9/SVpaXClAdn6UVTv7r+t4tExg5AyaqxdzOm6noGMW3AqhGKgHl rIPvdIlHPWaJIPqmgyqdwvNsCyk5AVr3rqFiW8EXFwLIxeYxhtKD7wFNmyQ4E5yTpQRv3qcMFFh EzYXVLw9asdJO2FzMMdJNjQBsVUWdBeVOkrAnZewDTfMzpsVHQsLaro3j/hbvskAi5Aqq/vXzt9 fPLWitdRGhM1xL3x91U0byskQ= X-Received: by 2002:a05:600c:4fcc:b0:480:2521:4d92 with SMTP id 5b1f17b1804b1-48526964a1fmr257839325e9.24.1773164331326; Tue, 10 Mar 2026 10:38:51 -0700 (PDT) Received: from nas.local ([2001:912:1ac0:1e00:c662:37ff:fe09:93df]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48541a900easm103239295e9.9.2026.03.10.10.38.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2026 10:38:50 -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 v7 0/4] net: phy: realtek: pair order and polarity Date: Tue, 10 Mar 2026 18:38:42 +0100 Message-ID: <20260310173846.230923-1-dam.dejean@gmail.com> X-Mailer: git-send-email 2.47.3 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 RTL8224 PHY gives the manufacturer some flexbility with the pair order and polarity to ease the wiring on the PCB. Then the correct pair order and pair polarity must be provided to the PHY to function properly. This series adds the support to configure the pair order and the pair polarity to the Realtek PHY driver. Signed-off-by: Damien Dejean --- Changes in v7: - drivers/net/phy/realtek/realtek_main.c: factor out a common helper for package bit modifications. Damien Dejean (4): dt-bindings: net: ethernet-phy: add property enet-phy-pair-order net: phy: realtek: add RTL8224 pair order support dt-bindings: net: ethernet-phy: add property enet-phy-pair-polarity net: phy: realtek: add RTL8224 polarity support .../devicetree/bindings/net/ethernet-phy.yaml | 14 +++ drivers/net/phy/realtek/Kconfig | 1 + drivers/net/phy/realtek/realtek_main.c | 96 +++++++++++++++++++ 3 files changed, 111 insertions(+) -- 2.47.3