summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2026-01-14 13:27:25 +0100
committerJakub Kicinski <kuba@kernel.org>2026-01-19 12:04:53 -0800
commite3f6c65192fe484ab16f0be2b495ceef5ca3b85c (patch)
tree43e5d0784b3756d1469fba1f7fc334f1b688c04f /Documentation
parentb1f99cc8863847676d4a7329ffb668a030150d99 (diff)
dpll: add dpll_device op to set working mode
Currently, userspace can retrieve the DPLL working mode but cannot configure it. This prevents changing the device operation, such as switching from manual to automatic mode and vice versa. Add a new callback .mode_set() to struct dpll_device_ops. Extend the netlink policy and device-set command handling to process the DPLL_A_MODE attribute. Update the netlink YAML specification to include the mode attribute in the device-set operation. Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> Signed-off-by: Ivan Vecera <ivecera@redhat.com> Link: https://patch.msgid.link/20260114122726.120303-3-ivecera@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/netlink/specs/dpll.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/dpll.yaml b/Documentation/netlink/specs/dpll.yaml
index 78d0724d7e12..b55afa77eac4 100644
--- a/Documentation/netlink/specs/dpll.yaml
+++ b/Documentation/netlink/specs/dpll.yaml
@@ -550,6 +550,7 @@ operations:
request:
attributes:
- id
+ - mode
- phase-offset-monitor
- phase-offset-avg-factor
-