Thread (62 messages) 62 messages, 10 authors, 2021-11-29

Re: [PATCH v2 2/2] net: ethernet: Add driver for Sunplus SP7021

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-11-26 19:34:50
Also in: linux-devicetree, lkml

On Fri, Nov 26, 2021 at 07:13:23PM +0000, Wells Lu 呂芳騰 wrote:
Hi Andrew,

I read specification of ICPlus IP101G (10M/100M PHY).
Bits of register 0 (control) and register 1 (status) 
are R/W or RO type. They will not be cleared after 
read. No matter how many times they are read, the 
read-back value is the same.
Please read 802.3,

Section 22.2.4.2: Status register (Register 1)

Table 22-8 Status register bit definitions

Bit 1.2 Link Status is marked as RO/LL, meaning read only Latching
low.
Can we go with this approach?
You need to not make any read on the PHY which Linux is driving.
Configure the hardware to read on an address where there is no PHY.

	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help