[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <817aa1a7-9f19-48a1-9402-1c95225bed3e@lunn.ch>
Date: Sun, 11 Aug 2024 17:37:40 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Parthiban Veerasooran <Parthiban.Veerasooran@...rochip.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, horms@...nel.org, saeedm@...dia.com,
anthony.l.nguyen@...el.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, corbet@....net,
linux-doc@...r.kernel.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
devicetree@...r.kernel.org, horatiu.vultur@...rochip.com,
ruanjinjie@...wei.com, steen.hegelund@...rochip.com,
vladimir.oltean@....com, masahiroy@...nel.org,
alexanderduyck@...com, krzk+dt@...nel.org, robh@...nel.org,
rdunlap@...radead.org, hkallweit1@...il.com, linux@...linux.org.uk,
UNGLinuxDriver@...rochip.com, Thorsten.Kummermehr@...rochip.com,
Pier.Beruto@...emi.com, Selvamani.Rajagopal@...emi.com,
Nicolas.Ferre@...rochip.com, benjamin.bigler@...nformulastudent.ch,
linux@...ler.io
Subject: Re: [PATCH net-next v5 03/14] net: ethernet: oa_tc6: implement
register read operation
On Tue, Jul 30, 2024 at 09:38:55AM +0530, Parthiban Veerasooran wrote:
> Implement register read operation according to the control communication
> specified in the OPEN Alliance 10BASE-T1x MACPHY Serial Interface
> document. Control read commands are used by the SPI host to read
> registers within the MAC-PHY. Each control read commands are composed of
> a 32 bits control command header.
>
> The MAC-PHY ignores all data from the SPI host following the control
> header for the remainder of the control read command. Control read
> commands can read either a single register or multiple consecutive
> registers. When multiple consecutive registers are read, the address is
> automatically post-incremented by the MAC-PHY. Reading any unimplemented
> or undefined registers shall return zero.
>
> Signed-off-by: Parthiban Veerasooran <Parthiban.Veerasooran@...rochip.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists