[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260203075808.175-1-javen_xu@realsil.com.cn>
Date: Tue, 3 Feb 2026 15:58:08 +0800
From: javen <javen_xu@...lsil.com.cn>
To: <hkallweit1@...il.com>
CC: <andrew+netdev@...n.ch>, <davem@...emloft.net>, <edumazet@...gle.com>,
<horms@...nel.org>, <javen_xu@...lsil.com.cn>, <kuba@...nel.org>,
<linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
<nic_swsd@...ltek.com>, <pabeni@...hat.com>
Subject: Re: [PATCH net-next v3] r8169: add support for RTL8125cp
>On 2/2/2026 11:58 AM, javen wrote:
>> From: Javen Xu <javen_xu@...lsil.com.cn>
>>
>> This patch adds support for chip RTL8125cp. Its XID is 0x708. We apply
>> different and firmware for RTL8125cp.
>>
>> Signed-off-by: Javen Xu <javen_xu@...lsil.com.cn>
>>
>> ---
>> v2: This patch fix one mistake on phy_modify_paged(phydev, 0xa43,
>> 0x10, 0x0000, 0x1001) which is phy_modify_paged(phydev, 0xa43, 0x00, 0x0000, 0x1001) on patch v1.
>>
>> v3: Set phy_modify_paged(phydev, 0xa43, 0x10, 0x0000, 0x0003), bit 0
>> means 'link speed 10m PLL OFF', bit 1 means 'ALDPS PLL OFF', bit 2
>> means 'ENABLE ALDPS', bit 12 means 'ALDPS XTAL OFF'.
>
>ALDPS is disabled two lines later in rtl8125cp_hw_phy_config().
>So why bother with ALDPS settings if ALDPS is disabled anyway?
Bit 2 means 'ENABLE ALDPS', we prefer to treat it as a master switch that controls
some sub-features like bit 1(ALDPS PLL OFF) and bit 12(ALDPS XTAL OFF), instead of
controlling these sub-features individually. And bit 0(link speed 10m PLL OFF)
has noting to do with aldps.
Thanks,
Javen Xu
Powered by blists - more mailing lists