From: Andrew Lunn <andrew@lunn.ch>
To: Parthiban Veerasooran <parthiban.veerasooran@microchip.com>
Cc: piergiorgio.beruto@gmail.com, hkallweit1@gmail.com,
linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v4 1/2] net: phy: phy-c45: add SQI and SQI+ support for OATC14 10Base-T1S PHYs
Date: Mon, 1 Dec 2025 14:24:50 +0100 [thread overview]
Message-ID: <1fe8ced1-e626-467b-9120-2aeba6b4e089@lunn.ch> (raw)
In-Reply-To: <20251201032346.6699-2-parthiban.veerasooran@microchip.com>
On Mon, Dec 01, 2025 at 08:53:45AM +0530, Parthiban Veerasooran wrote:
> Add support for reading Signal Quality Indicator (SQI) and enhanced SQI+
> from OATC14 10Base-T1S PHYs.
>
> - Introduce MDIO register definitions for DCQ_SQI and DCQ_SQIPLUS.
> - Add `genphy_c45_oatc14_get_sqi_max()` to return the maximum supported
> SQI/SQI+ level.
> - Add `genphy_c45_oatc14_get_sqi()` to return the current SQI or SQI+
> value.
> - Update `include/linux/phy.h` to expose the new APIs.
>
> SQI+ capability is read from the Advanced Diagnostic Features Capability
> register (ADFCAP). If SQI+ is supported, the driver calculates the value
> from the MSBs of the DCQ_SQIPLUS register; otherwise, it falls back to
> basic SQI (0-7 levels). This enables ethtool to report the SQI value for
> OATC14 10Base-T1S PHYs.
>
> Open Alliance TC14 10BASE-T1S Advanced Diagnostic PHY Features
> Specification ref:
> https://opensig.org/wp-content/uploads/2025/06/OPEN_Alliance_10BASE-T1S_Advanced_PHY_features_for-automotive_Ethernet_V2.1b.pdf
>
> Signed-off-by: Parthiban Veerasooran <parthiban.veerasooran@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
next prev parent reply other threads:[~2025-12-01 13:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-01 3:23 [PATCH net-next v4 0/2] Add SQI and SQI+ support for OATC14 10Base-T1S PHYs and Microchip T1S driver Parthiban Veerasooran
2025-12-01 3:23 ` [PATCH net-next v4 1/2] net: phy: phy-c45: add SQI and SQI+ support for OATC14 10Base-T1S PHYs Parthiban Veerasooran
2025-12-01 13:24 ` Andrew Lunn [this message]
2025-12-02 16:21 ` Simon Horman
2025-12-03 8:22 ` Parthiban.Veerasooran
2025-12-01 3:23 ` [PATCH net-next v4 2/2] net: phy: microchip_t1s: add SQI support for LAN867x Rev.D0 PHYs Parthiban Veerasooran
2025-12-01 13:25 ` Andrew Lunn
2025-12-01 23:10 ` [PATCH net-next v4 0/2] Add SQI and SQI+ support for OATC14 10Base-T1S PHYs and Microchip T1S driver patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1fe8ced1-e626-467b-9120-2aeba6b4e089@lunn.ch \
--to=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=parthiban.veerasooran@microchip.com \
--cc=piergiorgio.beruto@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox