From: Andrew Lunn <andrew@lunn.ch>
To: Michel Alex <Alex.Michel@wiedemann-group.com>
Cc: Maxime Chevallier <maxime.chevallier@bootlin.com>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Dan Murphy <dmurphy@ti.com>,
Waibel Georg <Georg.Waibel@wiedemann-group.com>,
Appelt Andreas <Andreas.Appelt@wiedemann-group.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net v2] net: phy: dp83822: Fix reset pin definitions
Date: Fri, 18 Oct 2024 04:45:35 +0200 [thread overview]
Message-ID: <1ec3bf2e-e908-444a-ac5e-c3fd62e50b62@lunn.ch> (raw)
In-Reply-To: <AS1P250MB0608A798661549BF83C4B43EA9462@AS1P250MB0608.EURP250.PROD.OUTLOOK.COM>
On Wed, Oct 16, 2024 at 12:11:15PM +0000, Michel Alex wrote:
> This change fixes a rare issue where the PHY fails to detect a link
> due to incorrect reset behavior.
>
> The SW_RESET definition was incorrectly assigned to bit 14, which is the
> Digital Restart bit according to the datasheet. This commit corrects
> SW_RESET to bit 15 and assigns DIG_RESTART to bit 14 as per the
> datasheet specifications.
>
> The SW_RESET define is only used in the phy_reset function, which fully
> re-initializes the PHY after the reset is performed. The change in the
> bit definitions should not have any negative impact on the functionality
> of the PHY.
>
> v2:
> - added Fixes tag
> - improved commit message
>
> Cc: stable@vger.kernel.org
> Fixes: 5dc39fd5ef35 ("net: phy: DP83822: Add ability to advertise Fiber connection")
> Signed-off-by: Alex Michel <alex.michel@wiedemann-group.com>
Please create a new thread for each new patch submission. The
machinary testing patches does not understand it when you just add a
new version to an existing thread.
Andrew
---
pw-bot: cr
next prev parent reply other threads:[~2024-10-18 2:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-16 9:56 net: phy: dp83822: Fix reset pin definitions Michel Alex
2024-10-16 11:29 ` Maxime Chevallier
2024-10-16 12:11 ` [PATCH net v2] " Michel Alex
2024-10-16 21:31 ` Andrew Lunn
2024-10-18 2:45 ` Andrew Lunn [this message]
2024-10-20 14:50 ` 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=1ec3bf2e-e908-444a-ac5e-c3fd62e50b62@lunn.ch \
--to=andrew@lunn.ch \
--cc=Alex.Michel@wiedemann-group.com \
--cc=Andreas.Appelt@wiedemann-group.com \
--cc=Georg.Waibel@wiedemann-group.com \
--cc=davem@davemloft.net \
--cc=dmurphy@ti.com \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=maxime.chevallier@bootlin.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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