From: Carlo Caione Date: Thu, 24 Jan 2019 20:01:02 +0000 Subject: [U-Boot] [PATCH v4 3/3] cmd: mdio: Add new parameter to access MMD PHY registers In-Reply-To: References: <20190124085600.18886-1-ccaione@baylibre.com> <20190124085600.18886-4-ccaione@baylibre.com> Message-ID: <424d9c49-721c-9046-e46f-a86858adcdce@baylibre.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 24/01/2019 19:56, Vladimir Oltean wrote: > On 1/24/19 10:56 AM, Carlo Caione wrote: > It works for me, but I do have a question. > Is there any limitation preventing you to add this functionality via the > standard "mdio read x.y" instead of "mdio rmmd x.y" if the PHY is known > to be C22? You can used the standard "mdio read" but it's more verbose and hard to recall: mdio write 0 0.d 0x3 mdio write 0 0.e 0x1 mdio write 0 0.d 0x4003 mdio read 0 0.e vs mdio rmmd 3.1 -- Carlo Caione