[PATCH net-next 0/2] dpll: add NCO pin type and zl3073x support

Ivan Vecera posted 2 patches 1 month ago
There is a newer version of this series
Documentation/netlink/specs/dpll.yaml |  12 ++
drivers/dpll/dpll_nl.c                |   2 +-
drivers/dpll/zl3073x/chan.c           |  14 +-
drivers/dpll/zl3073x/chan.h           |  24 +++
drivers/dpll/zl3073x/core.c           |   7 +
drivers/dpll/zl3073x/dpll.c           | 259 ++++++++++++++++++++++----
drivers/dpll/zl3073x/dpll.h           |   2 +
drivers/dpll/zl3073x/regs.h           |   7 +
include/uapi/linux/dpll.h             |   4 +
9 files changed, 291 insertions(+), 40 deletions(-)
[PATCH net-next 0/2] dpll: add NCO pin type and zl3073x support
Posted by Ivan Vecera 1 month ago
Add a new DPLL_PIN_TYPE_INT_NCO pin type for virtual pins representing
the NCO mode of a DPLL and implement support for it in the zl3073x driver.

Patch 1 adds the new pin type to the DPLL netlink spec and UAPI header.

Patch 2 adds a virtual NCO input pin to the zl3073x driver that allows
userspace to switch a DPLL channel into NCO mode. The pin reports
connected/active state when the channel is in NCO mode and handles
the hardware-specific details of mode transitions including automatic
df_offset capture and 1PPS phase preservation.

Ivan Vecera (2):
  dpll: add DPLL_PIN_TYPE_INT_NCO pin type
  dpll: zl3073x: add NCO virtual input pin

 Documentation/netlink/specs/dpll.yaml |  12 ++
 drivers/dpll/dpll_nl.c                |   2 +-
 drivers/dpll/zl3073x/chan.c           |  14 +-
 drivers/dpll/zl3073x/chan.h           |  24 +++
 drivers/dpll/zl3073x/core.c           |   7 +
 drivers/dpll/zl3073x/dpll.c           | 259 ++++++++++++++++++++++----
 drivers/dpll/zl3073x/dpll.h           |   2 +
 drivers/dpll/zl3073x/regs.h           |   7 +
 include/uapi/linux/dpll.h             |   4 +
 9 files changed, 291 insertions(+), 40 deletions(-)

-- 
2.53.0
Re: [PATCH net-next 0/2] dpll: add NCO pin type and zl3073x support
Posted by Ivan Vecera 3 weeks, 6 days ago

On 5/13/26 4:56 PM, Ivan Vecera wrote:
> Add a new DPLL_PIN_TYPE_INT_NCO pin type for virtual pins representing
> the NCO mode of a DPLL and implement support for it in the zl3073x driver.
> 
> Patch 1 adds the new pin type to the DPLL netlink spec and UAPI header.
> 
> Patch 2 adds a virtual NCO input pin to the zl3073x driver that allows
> userspace to switch a DPLL channel into NCO mode. The pin reports
> connected/active state when the channel is in NCO mode and handles
> the hardware-specific details of mode transitions including automatic
> df_offset capture and 1PPS phase preservation.
> 
> Ivan Vecera (2):
>    dpll: add DPLL_PIN_TYPE_INT_NCO pin type
>    dpll: zl3073x: add NCO virtual input pin
> 
>   Documentation/netlink/specs/dpll.yaml |  12 ++
>   drivers/dpll/dpll_nl.c                |   2 +-
>   drivers/dpll/zl3073x/chan.c           |  14 +-
>   drivers/dpll/zl3073x/chan.h           |  24 +++
>   drivers/dpll/zl3073x/core.c           |   7 +
>   drivers/dpll/zl3073x/dpll.c           | 259 ++++++++++++++++++++++----
>   drivers/dpll/zl3073x/dpll.h           |   2 +
>   drivers/dpll/zl3073x/regs.h           |   7 +
>   include/uapi/linux/dpll.h             |   4 +
>   9 files changed, 291 insertions(+), 40 deletions(-)
> 
Sashiko found some issues... will address them in v2.

Ivan