diff options
| author | Paolo Abeni <pabeni@redhat.com> | 2026-10-01 11:23:01 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-10-01 11:23:01 +0200 |
| commit | 69d9c07dc867ceb507a0f624fa2a56b5eaa385b4 (patch) | |
| tree | 581574e299251ddaa094e342c8352964dc2ab5f5 /scripts/objdump-func | |
| parent | 8286b7b3a97c46b41a84172e9253fff8e428c317 (diff) | |
| parent | 418149559ef3606ea710192e1a12a58d8ff8de4c (diff) | |
Merge branch 'net-axienet-allow-instantiation-without-a-device-tree'
Sagi Maimon says:
====================
net: axienet: allow instantiation without a device tree
The ADVA TimeCard X2 is a PCIe timing card driven by ptp_ocp. Its FPGA
contains an AXI Ethernet MAC with an AXI DMA engine. The plan discussed
on netdev [1] is for ptp_ocp to register the MAC as a child platform
device described by a software node, so that this driver runs it rather
than a copy in ptp_ocp; Vadim Fedorenko agreed that a platform device is
the way to go.
These two patches are what axienet needs for that, apart from one more
change - letting the DMA device differ from the platform device - which
has no user without ptp_ocp and will be posted together with the ptp_ocp
patches:
1/2 reads the probe-time configuration through the device_property and
fwnode APIs, so it can come from a software node. No change for
device tree users.
2/2 adds a MODULE_ALIAS, so a device registered by name autoloads the
module.
Both were tested on the X2 with a local ptp_ocp change.
[1] https://lore.kernel.org/netdev/CAMuE1bHr84n5LKcj02HmMR5XefPtvQ-UEJAx7+UKfYvRgS0eDg@mail.gmail.com/
v1: https://lore.kernel.org/netdev/20260927073843.346910-1-maimon.sagi@gmail.com/
====================
Link: https://patch.msgid.link/20260928074256.462345-1-maimon.sagi@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/objdump-func')
0 files changed, 0 insertions, 0 deletions
