linux/drivers/dpll
Ivan Vecera 85a9aaac4a dpll: zl3073x: Include current frequency in supported frequencies list
Ensure the current pin frequency is always present in the list of
supported frequencies reported to userspace. Previously, if the
firmware node was missing or didn't include the current operating
frequency in the supported-frequencies-hz property, the pin would
report a frequency that wasn't in its supported list.

Get the current frequency early in zl3073x_pin_props_get():
- For input pins: use zl3073x_dev_ref_freq_get()
- For output pins: use zl3073x_dev_output_pin_freq_get()

Place the current frequency at index 0 of the supported frequencies
array, then append frequencies from the firmware node (if present),
skipping any duplicate of the current frequency.

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Link: https://patch.msgid.link/20260205154350.3180465-3-ivecera@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-02-06 20:44:20 -08:00
..
zl3073x dpll: zl3073x: Include current frequency in supported frequencies list 2026-02-06 20:44:20 -08:00
dpll_core.c dpll: Add reference count tracking support 2026-02-05 15:57:46 +01:00
dpll_core.h dpll: Add reference count tracking support 2026-02-05 15:57:46 +01:00
dpll_netlink.c dpll: Add notifier chain for dpll events 2026-02-05 15:57:46 +01:00
dpll_netlink.h dpll: add reference sync get/set 2025-06-27 16:38:02 -07:00
dpll_nl.c dpll: add dpll_device op to set working mode 2026-01-19 12:04:53 -08:00
dpll_nl.h tools: ynl-gen: add regeneration comment 2025-11-25 19:20:42 -08:00
Kconfig dpll: Add reference count tracking support 2026-02-05 15:57:46 +01:00
Makefile dpll: Add basic Microchip ZL3073x support 2025-07-09 19:08:52 -07:00