Arkadiusz Kubalewski and Jakub Kicinski
cda1fba15c
dpll: add Embedded SYNC feature for a pin
...
Implement and document new pin attributes for providing Embedded SYNC
capabilities to the DPLL subsystem users through a netlink pin-get
do/dump messages. Allow the user to set Embedded SYNC frequency with
pin-set do netlink message.
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com >
Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com >
Reviewed-by: Jiri Pirko <jiri@nvidia.com >
Link: https://patch.msgid.link/20240822222513.255179-2-arkadiusz.kubalewski@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2024-08-26 19:21:14 -07:00
Jiri Pirko and Paolo Abeni
cf4f0f1e1c
dpll: extend uapi by lock status error attribute
...
If the dpll devices goes to state "unlocked" or "holdover", it may be
caused by an error. In that case, allow user to see what the error was.
Introduce a new attribute and values it can carry.
Signed-off-by: Jiri Pirko <jiri@nvidia.com >
Acked-by: Vadim Fedorenko <vadim.fedorenko@linux.dev >
Reviewed-by: Simon Horman <horms@kernel.org >
Signed-off-by: Paolo Abeni <pabeni@redhat.com >
2024-02-01 15:39:44 +01:00
Jiri Pirko and Jakub Kicinski
8a6286c180
dpll: expose fractional frequency offset value to user
...
Add a new netlink attribute to expose fractional frequency offset value
for a pin. Add an op to get the value from the driver.
Signed-off-by: Jiri Pirko <jiri@nvidia.com >
Acked-by: Vadim Fedorenko <vadim.fedorenko@linux.dev >
Acked-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com >
Link: https://lore.kernel.org/r/20240103132838.1501801-2-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2024-01-05 07:58:19 -08:00
Arkadiusz Kubalewski and David S. Miller
c3c6ab95c3
dpll: spec: add support for pin-dpll signal phase offset/adjust
...
Add attributes for providing the user with:
- measurement of signals phase offset between pin and dpll
- ability to adjust the phase of pin signal
Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2023-10-15 16:08:24 +01:00
Vadim Fedorenko and David S. Miller
3badff3a25
dpll: spec: Add Netlink spec in YAML
...
Add a protocol spec for DPLL.
Add code generated from the spec.
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
Signed-off-by: Michal Michalik <michal.michalik@intel.com >
Signed-off-by: Vadim Fedorenko <vadim.fedorenko@linux.dev >
Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com >
Signed-off-by: Jiri Pirko <jiri@nvidia.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2023-09-17 11:50:20 +01:00