aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/arch/s390/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorFrank Wunderlich <frank-w@public-files.de>2026-05-26 17:32:38 +0200
committerJakub Kicinski <kuba@kernel.org>2026-05-28 18:09:03 -0700
commit422b5233b607476ac7176bfa2a101b9a103d7653 (patch)
tree770a91964972cfd04ad25d6ea27ea0cb84cb5687 /tools/perf/arch/s390/git:/ssh:/git@git.zx2c4.com
parentMerge tag 'for-net-2026-05-28' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth (diff)
net: pcs: pcs-mtk-lynxi: fix bpi-r3 serdes configuration
Commit 8871389da151 introduces common pcs dts properties which writes rx=normal,tx=normal polarity to register SGMSYS_QPHY_WRAP_CTRL of switch. This is initialized with tx-bit set and so change inverts polarity compared to before. It looks like mt7531 has tx polarity inverted in hardware and set tx-bit by default to restore the normal polarity. The MT7531 datasheet quite clearly states: Register 000050EC QPHY_WRAP_CTRL -- QPHY wrapper control Reset value: 0x00000501 BIT 1 RX_BIT_POLARITY -- RX bit polarity control 1'b0: normal 1'b1: inverted BIT 0 TX_BIT_POLARITY -- TX bit polarity control (TX default inversed in MT7531) 1'b0: normal 1'b1: inverted Till this patch the register write was only called when mediatek,pnswap property was set which cannot be done for switch because the fw-node param was always NULL from switch driver in the mtk_pcs_lynxi_create call. Do not configure switch side like it's done before. Fixes: 8871389da151 ("net: pcs: pcs-mtk-lynxi: deprecate "mediatek,pnswap"") Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Link: https://patch.msgid.link/20260526153239.30194-1-linux@fw-web.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/arch/s390/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions