linux/drivers/dpll
Grzegorz Nitka 521b6d5de0 dpll: allow fwnode pins to attempt state change without capability bit
Pins registered with an fwnode may have .state_on_dpll_set implemented
without advertising DPLL_PIN_CAPABILITIES_STATE_CAN_CHANGE upfront.
Requiring the bit for fwnode pins ties firmware description to driver
implementation details unnecessarily.

Relax the capability check in dpll_pin_state_set() and
dpll_pin_on_pin_state_set(): when a pin has an associated fwnode, bypass
the capability gate and let the ops layer decide, returning -EOPNOTSUPP
if .state_on_dpll_set is absent. Non-fwnode pins retain the original
strict behavior.

This is used later in the series by the SyncE_Ref output pin, which
relies on the fwnode path for state control.

Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Grzegorz Nitka <grzegorz.nitka@intel.com>
Link: https://patch.msgid.link/20260607183045.1213735-10-grzegorz.nitka@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-06-13 13:24:34 -07:00
..
zl3073x Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-05-28 14:02:21 -07:00
dpll_core.c dpll: extend pin notifier with notification source ID 2026-06-13 13:24:34 -07:00
dpll_core.h dpll: extend pin notifier with notification source ID 2026-06-13 13:24:34 -07:00
dpll_netlink.c dpll: allow fwnode pins to attempt state change without capability bit 2026-06-13 13:24:34 -07:00
dpll_netlink.h dpll: extend pin notifier with notification source ID 2026-06-13 13:24:34 -07:00
dpll_nl.c dpll: add generic DPLL type 2026-06-13 13:24:31 -07:00
dpll_nl.h dpll: add pin operational state 2026-04-30 16:21:49 +02: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