Re: [PATCH net-next v5 03/14] net: ethernet: oa_tc6: implement register read operation
From: Andrew Lunn <andrew@lunn.ch>
Date: 2024-08-11 15:37:56
Also in:
linux-devicetree, linux-doc, lkml
From: Andrew Lunn <andrew@lunn.ch>
Date: 2024-08-11 15:37:56
Also in:
linux-devicetree, linux-doc, lkml
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@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew