From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A78023AA1A1 for ; Fri, 15 May 2026 20:56:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778878590; cv=none; b=BfWbwtgzxKGeKoDdXFZLqDigYbxJVDqqB29//d8QtGPzMFe+48uUkGM5Ayww5A0fmYi6pIPfyiFZvuFCfGWBU/x9hbA0564SvGb79HEvjUUDTB7hvvMk2oaY3ZKWfD8sQN6mzcFVvtX3K+NK4/e8paIxbBWuZJNBg0Mp+XANW8Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778878590; c=relaxed/simple; bh=eaaDSseYiP18mck6eeTj+fa5MVa694wwwXP4WP9PGIc=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=A5qeLZYZeR3telxFrkwoa3xgj99ft21C9bgOaP+axtydOfXkEP/5vSQ4C8mzbXkseJa0Jvfx7DSYduErBAHN1uHQUsPmkc1drLxt7B8+dnXC2/Of69mZPaApTQO4nf+griyu0JUF7iWP2xrYW10DLiRbabCJXMacZoRyKolhSIo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Y+TxcGY6; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Y+TxcGY6" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1778878587; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=N3Ul3o0lwxWdnZL3SNibJBB119qwNzk1hUHM/1632qo=; b=Y+TxcGY6yCPA3b32Q+Yd4q9wMzRtjzkEm6unXmwUxkDv72yqNLMfHR11hkLF0dzSRSafVH WkN5HixndSXp98O1WV02nyZ5jvZ4RnHUdBhYtLxCb5aUU87jVXXvQcsN8FzWVVS9VB5+1o 4SkyZwMe0EpsyRVU2zx7o2hXmdaoSMg= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-474-sN3Ob0v7M8i2r5M9p_6ESw-1; Fri, 15 May 2026 16:56:24 -0400 X-MC-Unique: sN3Ob0v7M8i2r5M9p_6ESw-1 X-Mimecast-MFC-AGG-ID: sN3Ob0v7M8i2r5M9p_6ESw_1778878582 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 071D9195607A; Fri, 15 May 2026 20:56:22 +0000 (UTC) Received: from [10.44.48.187] (unknown [10.44.48.187]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 0D0DF30002DC; Fri, 15 May 2026 20:56:17 +0000 (UTC) Message-ID: <2fb498cc-4d91-4e2e-bb3c-e62155fc6aeb@redhat.com> Date: Fri, 15 May 2026 22:56:16 +0200 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next 0/2] dpll: add NCO pin type and zl3073x support From: Ivan Vecera To: netdev@vger.kernel.org Cc: Arkadiusz Kubalewski , "David S. Miller" , Donald Hunter , Eric Dumazet , Jakub Kicinski , Jiri Pirko , Michal Schmidt , Paolo Abeni , Pasi Vaananen , Petr Oros , Prathosh Satish , Simon Horman , Vadim Fedorenko , linux-kernel@vger.kernel.org References: <20260513145645.175451-1-ivecera@redhat.com> Content-Language: en-US In-Reply-To: <20260513145645.175451-1-ivecera@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 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