public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [Question] Best practice for ACPI representation of DPLL/Ethernet dependencies (SyncE)
@ 2026-01-14 19:19 Ivan Vecera
  2026-01-14 20:45 ` Andy Shevchenko
  0 siblings, 1 reply; 20+ messages in thread
From: Ivan Vecera @ 2026-01-14 19:19 UTC (permalink / raw)
  To: Rafael J. Wysocki, Andy Shevchenko, Mika Westerberg
  Cc: Rob Herring, Krzysztof Kozlowski, linux-acpi, Andrew Lunn

Hi all,

I would like to ask for your opinion regarding an ACPI implementation
detail for a patch-set I currently have on the netdev mailing list [1].

The patch-set adds support for modeling the relationship between a DPLL
device (provider) and an Ethernet controller/PHY (consumer) to support
SyncE (Synchronous Ethernet). The topology requires the Ethernet
controller/PHY to reference specific pins (sub-nodes) of the DPLL
device.

Although the target driver (ice) in the patch-set is primarily used in
ACPI environments, I aimed for a firmware-agnostic approach using the
fwnode API.

Provider (DPLL):
The DPLL device uses _DSD properties mirroring the definition in the DT
bindings [2]. The pins are represented as sub-nodes. ACPI example [3].

Consumer (Ethernet):
I defined a new DT schema for the consumer using properties dpll-pins
nd dpll-pin-names. And in ACPI, I intend to use hierarchical data
extension (_DSD) to reference the DPLL pin sub-nodes from the Ethernet 
controller package [4], effectively mirroring the DT phandle referencing
mechanism.

Question:
Is reusing the DT binding definitions within ACPI _DSD (to allow unified
fwnode property parsing) the recommended approach for this type of
device relationship?

Or should I define strictly ACPI-specific bindings/objects, considering
that the DT bindings for this feature are also new and currently under
review?

I want to ensure I am not violating any ACPI abstraction layers by
relying too heavily on the DT-style representation in _DSD.

Thanks for your guidance.

Regards,
Ivan

[1] 
https://patchwork.kernel.org/project/netdevbpf/list/?series=1040080&state=*
[2] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/dpll
[3] https://github.com/ivecera/zl3073x-acpi/blob/main/sample1.asl
[4] https://github.com/ivecera/zl3073x-acpi/blob/main/dpllnic.asl


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2026-01-20 14:39 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-14 19:19 [Question] Best practice for ACPI representation of DPLL/Ethernet dependencies (SyncE) Ivan Vecera
2026-01-14 20:45 ` Andy Shevchenko
2026-01-15  7:34   ` Ivan Vecera
2026-01-15 13:18     ` Andy Shevchenko
2026-01-15 14:09       ` Ivan Vecera
2026-01-19 17:15         ` Andy Shevchenko
2026-01-19 17:43           ` Andrew Lunn
2026-01-19 17:49             ` Andy Shevchenko
2026-01-19 19:23               ` Ivan Vecera
2026-01-19 19:42                 ` Andy Shevchenko
2026-01-19 19:55                   ` Ivan Vecera
2026-01-19 20:07                     ` Ivan Vecera
2026-01-19 20:28                     ` Andy Shevchenko
2026-01-19 23:34                       ` Linus Walleij
2026-01-20  5:39                         ` Ivan Vecera
2026-01-20  7:17                           ` Andy Shevchenko
2026-01-20 12:30                             ` Rafael J. Wysocki
2026-01-20 13:30                               ` Andy Shevchenko
2026-01-20 14:18                                 ` Rafael J. Wysocki
2026-01-20 14:39                                   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox