]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: phy: airoha: air_en8811: use standard rx-polarity/tx-polarity properties
authorLucien.Jheng <lucienzx159@gmail.com>
Sat, 25 Apr 2026 08:06:48 +0000 (16:06 +0800)
committerJerome Forissier <jerome.forissier@arm.com>
Wed, 6 May 2026 09:07:22 +0000 (11:07 +0200)
commitc008ffdf61c01d0be99719adc8795ac00c55f90a
treeaa7ba62421e9bf8635d261bf62da1ee7c2a3a107
parent9eca7fd0d3902e30563f54b0e95d8d4c5f23b70c
net: phy: airoha: air_en8811: use standard rx-polarity/tx-polarity properties

Replace the proprietary airoha,pnswap-rx / airoha,pnswap-tx boolean
device tree properties with the standard rx-polarity and tx-polarity
properties defined in phy-common-props.yaml.

Backward compatibility is maintained by reading the legacy boolean
properties first and passing them as the default_pol argument to
phy_get_rx/tx_polarity(). If the standard properties are absent the
legacy values are used transparently, so existing device trees remain
functional without modification.

Link: https://git.kernel.org/linus/66d8a334b57e64e43810623b3d88f0ce9745270b
Signed-off-by: Lucien.Jheng <lucienzx159@gmail.com>
drivers/net/phy/airoha/Kconfig
drivers/net/phy/airoha/air_en8811.c