From: Sascha Hauer <s.hauer@pengutronix.de>
To: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v2 08/10] net: phy: add Analog Devices ADIN1300
Date: Wed, 19 Feb 2025 13:20:12 +0100 [thread overview]
Message-ID: <Z7XMfIV1bnTVFpuZ@pengutronix.de> (raw)
In-Reply-To: <20250218-v2024-10-0-topic-socfpga-agilex5-v2-8-30b6f507810b@pengutronix.de>
On Tue, Feb 18, 2025 at 10:21:33AM +0100, Steffen Trumtrar wrote:
> The Analog Devices ADIN1300 is a low power 10Mbps,100Mbps, and 1Gbps
> ethernet phy.
> (https://www.analog.com/media/en/technical-documentation/data-sheets/adin1300.pdf)
Where is this driver from? Can you add a reference to the commit
message?
>
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> ---
> drivers/net/phy/Kconfig | 7 +
> drivers/net/phy/Makefile | 1 +
> drivers/net/phy/adin.c | 360 +++++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 368 insertions(+)
>
...
> +static u16 adin_ext_read(struct phy_device *phydev, const u32 regnum)
> +{
> + u16 val;
> +
> + phy_write(phydev, ADIN1300_MII_EXT_REG_PTR, regnum);
> + val = phy_read(phydev, ADIN1300_MII_EXT_REG_DATA);
> +
> + debug("%s: adin@0x%x 0x%x=0x%x\n", __func__, phydev->addr, regnum, val);
phydev_dbg() please.
> +
> + return val;
> +}
> +
> +static int adin_ext_write(struct phy_device *phydev, const u32 regnum, const u16 val)
> +{
> + debug("%s: adin@0x%x 0x%x=0x%x\n", __func__, phydev->addr, regnum, val);
ditto
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2025-02-19 12:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-18 9:21 [PATCH v2 00/10] ARM: SoCFPGA: Add initial support for Agilex5 Steffen Trumtrar
2025-02-18 9:21 ` [PATCH v2 01/10] ARM: socfpga: kconfig: sort entries Steffen Trumtrar
2025-02-18 9:21 ` [PATCH v2 02/10] mach: socfpga: debug_ll: rework putc_ll Steffen Trumtrar
2025-02-18 9:21 ` [PATCH v2 03/10] reset: reset-socfpga: build only for 32-bit socfpga Steffen Trumtrar
2025-02-18 9:21 ` [PATCH v2 04/10] arm: socfgpa: add support for SoCFPGA Agilex5 Steffen Trumtrar
2025-02-18 9:21 ` [PATCH v2 05/10] linux: clk: add clk_parent_data Steffen Trumtrar
2025-02-18 9:21 ` [PATCH v2 06/10] clk: support init->parent_data Steffen Trumtrar
2025-02-18 9:21 ` [PATCH v2 07/10] clk: socfpga: add agilex5 clock support Steffen Trumtrar
2025-02-19 12:21 ` Sascha Hauer
2025-02-18 9:21 ` [PATCH v2 08/10] net: phy: add Analog Devices ADIN1300 Steffen Trumtrar
2025-02-19 12:20 ` Sascha Hauer [this message]
2025-02-18 9:21 ` [PATCH v2 09/10] net: add support for Designware XGMAC (10gb) ethernet Steffen Trumtrar
2025-02-19 13:47 ` Sascha Hauer
2025-02-18 9:21 ` [PATCH v2 10/10] ARM: socfpga: add Arrow AXE5 Agilex5 board Steffen Trumtrar
2025-02-19 13:54 ` Sascha Hauer
2025-08-05 10:11 ` [PATCH v2 00/10] ARM: SoCFPGA: Add initial support for Agilex5 Sascha Hauer
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=Z7XMfIV1bnTVFpuZ@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=s.trumtrar@pengutronix.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.