From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Hershberger Date: Tue, 22 Jan 2019 22:21:37 +0000 Subject: [U-Boot] [PATCH u-boot 1/2] net: phy: Add support for accessing MMD PHY registers In-Reply-To: <20190116180436.8757-2-ccaione@baylibre.com> References: <20190116180436.8757-1-ccaione@baylibre.com> <20190116180436.8757-2-ccaione@baylibre.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jan 16, 2019 at 12:06 PM Carlo Caione wrote: > > Two new helper functions (phy_read_mmd() and phy_write_mmd()) are added > to allow access to the MMD PHY registers. > > The MMD PHY registers can be accessed by two means: > > 1. Using two new MMD access function hooks in the PHY driver. These > functions can be implemented when the PHY driver does not support the > standard IEEE Compatible clause 45 access mechanism described in clause > 22 or if the PHY uses its own non-standard access mechanism. > > 2. The standard clause 45 access extensions to the MMD registers through > the indirection registers (clause 22) in all the other cases. > > Signed-off-by: Carlo Caione This seems like a duplicate of https://patchwork.ozlabs.org/patch/1015782/ The command patch should probably be adapted to use that. Thanks, -Joe