]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dpll: zl3073x: Associate pin with fwnode handle
authorIvan Vecera <ivecera@redhat.com>
Tue, 3 Feb 2026 17:39:55 +0000 (18:39 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 5 Feb 2026 14:57:46 +0000 (15:57 +0100)
Associate the registered DPLL pin with its firmware node by calling
dpll_pin_fwnode_set().

This links the created pin object to its corresponding DT/ACPI node
in the DPLL core. Consequently, this enables consumer drivers (such as
network drivers) to locate and request this specific pin using the
fwnode_dpll_pin_find() helper.

Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Link: https://patch.msgid.link/20260203174002.705176-3-ivecera@redhat.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/dpll/zl3073x/dpll.c

index 7d8ed948b9706b6b0099318a2358e7ee96cf7a16..9eed21088adac6754d55544b2ada92af202b29a5 100644 (file)
@@ -1485,6 +1485,7 @@ zl3073x_dpll_pin_register(struct zl3073x_dpll_pin *pin, u32 index)
                rc = PTR_ERR(pin->dpll_pin);
                goto err_pin_get;
        }
+       dpll_pin_fwnode_set(pin->dpll_pin, props->fwnode);
 
        if (zl3073x_dpll_is_input_pin(pin))
                ops = &zl3073x_dpll_input_pin_ops;