public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Christian Marangi <ansuelsmth@gmail.com>
To: Joe Hershberger <joe.hershberger@ni.com>,
	Ramon Fried <rfried.dev@gmail.com>,
	Jerome Forissier <jerome.forissier@arm.com>,
	Tom Rini <trini@konsulko.com>,
	u-boot@lists.denx.de
Cc: Christian Marangi <ansuelsmth@gmail.com>
Subject: [PATCH 0/2] net: mdio-mt7531-mmio: consolidate and improve probe
Date: Mon,  9 Feb 2026 12:45:04 +0100	[thread overview]
Message-ID: <20260209114515.1916-1-ansuelsmth@gmail.com> (raw)

This small series consolidate header usage of mdio-mt7531-mmio driver
and improve usage in preparation for support of OF PHY autoprobe.

This driver is still not used (as it will be used by AN7581/AN7583)
in the OF mode (it's used by MT7988 for the MDIO functions)

For OF PHY to be correctly autoprobed, the MDIO driver needs to attached
to the MDIO node (the parent of the PHY nodes)

With such change the MDIO driver can be binded with the MDIO node instead
of the switch node as previously required.

Christian Marangi (2):
  net: mdio-mt7531-mmio: use common header priv struct
  net: mdio-mt7531-mmio: improve parsing of switch register on probe

 drivers/net/mdio-mt7531-mmio.c | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

-- 
2.51.0


             reply	other threads:[~2026-02-09 11:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-09 11:45 Christian Marangi [this message]
2026-02-09 11:45 ` [PATCH 1/2] net: mdio-mt7531-mmio: use common header priv struct Christian Marangi
2026-02-09 11:45 ` [PATCH 2/2] net: mdio-mt7531-mmio: improve parsing of switch register on probe Christian Marangi
2026-02-23 22:48 ` [PATCH 0/2] net: mdio-mt7531-mmio: consolidate and improve probe Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260209114515.1916-1-ansuelsmth@gmail.com \
    --to=ansuelsmth@gmail.com \
    --cc=jerome.forissier@arm.com \
    --cc=joe.hershberger@ni.com \
    --cc=rfried.dev@gmail.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox