Thread (32 messages) 32 messages, 6 authors, 2026-01-07

Re: [PATCH RFC net-next 06/13] dpll: Support dynamic pin index allocation

From: Ivan Vecera <ivecera@redhat.com>
Date: 2025-12-15 14:44:09
Also in: intel-wired-lan, linux-devicetree, linux-rdma, lkml


On 12/15/25 3:10 PM, Przemek Kitszel wrote:
On 12/11/25 20:47, Ivan Vecera wrote:
quoted
Allow drivers to register DPLL pins without manually specifying a pin
index.

Currently, drivers must provide a unique pin index when calling
dpll_pin_get(). This works well for hardware-mapped pins but creates
friction for drivers handling virtual pins or those without a strict
hardware indexing scheme.
wouldn't it be better to just switch everything to allocated IDs?
No, this would break original dpll_pin_get() logic. If a caller use
dynamic pin index allocation then in practice means that a new pin
is allocated. But if I have a HW pin with specific index then I want
to get the same ref-counted dpll_pin pointer by dpll_pin_get().

Ivan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help