Phase-adjust values are currently limited only by a min-max range. Some
hardware requires, for certain pin types, that values be multiples of
a specific granularity, as in the zl3073x driver.
Patch 1: Adds 'phase-adjust-gran' pin attribute and an appropriate
handling
Patch 2: Adds a support for this attribute into zl3073x driver
Ivan Vecera (2):
dpll: add phase-adjust-gran pin attribute
dpll: zl3073x: Specify phase adjustment granularity for pins
Documentation/driver-api/dpll.rst | 36 +++++++++--------
Documentation/netlink/specs/dpll.yaml | 7 ++++
drivers/dpll/dpll_netlink.c | 12 +++++-
drivers/dpll/zl3073x/dpll.c | 58 +++++++--------------------
drivers/dpll/zl3073x/prop.c | 11 +++++
include/linux/dpll.h | 1 +
include/uapi/linux/dpll.h | 1 +
7 files changed, 65 insertions(+), 61 deletions(-)
--
2.51.0