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 C724B30100D for ; Fri, 29 May 2026 13:37:43 +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=1780061865; cv=none; b=IW1K1W04AtEqhj74sjJ5bskKIZOXPew0hmqG7Q73p5MPS5JTDJ61xQsiz9TvvTYOSaIdxG4ecBt6YhVE8byOLh/bnG7LSgar06tGTPDvjuTMIhI8v8WteZOoB+B4rqUEDllv+/Xoxb/cFan9o2pY+QJuVFogjtiWnm9vne91Qa0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780061865; c=relaxed/simple; bh=HBwzeHsQGXLIwUmMdkg94+SWWaGkRZMu5f0/X3LWr0M=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=S1G9wSIKLO47Rg7+jf0OhfetXu5GmBvjXb0y4NMVdiI2iGspXxeUfAT+L2KPI8eiG4BKV3paX1hDtxVxxW83WlAXpOPpPNzm2EdEt1+m70izh5oyZuDZqPLiT1rNk+WlnAU3MqgX3dlcXiHxKkmiHtkN8pgTdje35mue0YZUFQc= 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=iucZ+h7D; 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="iucZ+h7D" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1780061862; 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=smhejs6fWqL6ERRhW1Bqm9utgrRekBtYZKQntnJMRVE=; b=iucZ+h7DEZzWIGb7I6cuDI7ENLvNTPrN1SiWPq6kBtSTaar1gUg24h9tD/YmDjZZ96SEVN EqMlbHBO8ZEzBggDlSGRdQlzOrpBW25e7ofT5OI0a0ebEszJW6M1kfvQBeWx9c+UxRrm2n YY566GK51EjMMIHFChHMKpPGatC4cK8= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-332-UBwEWF4gPY-X-swh9CUnQQ-1; Fri, 29 May 2026 09:37:41 -0400 X-MC-Unique: UBwEWF4gPY-X-swh9CUnQQ-1 X-Mimecast-MFC-AGG-ID: UBwEWF4gPY-X-swh9CUnQQ_1780061859 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id AB6CB180061F; Fri, 29 May 2026 13:37:38 +0000 (UTC) Received: from [10.44.32.215] (unknown [10.44.32.215]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A5D88180075C; Fri, 29 May 2026 13:37:33 +0000 (UTC) Message-ID: Date: Fri, 29 May 2026 15:37:32 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v4 0/4] 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: <20260527161241.86655-1-ivecera@redhat.com> Content-Language: en-US In-Reply-To: <20260527161241.86655-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.93 On 5/27/26 6:12 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 replaces the single 2s poll timeout with per-operation timeouts > based on Microchip proprietary source code and own measurement. > > Patch 3 adds a per-DPLL serialization mutex taken by all DPLL callbacks > and the periodic worker, establishing a single lock that protects all > per-channel state. The chan_state_update() call is moved under this lock. > > Patch 4 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. > > Changes: > v4: > - New patch 2: per-operation poll timeouts > - New patch 3: per-DPLL serialization lock > - See individual patches for detailed changelogs. > v3: > - fixed SoB position > v2: > - See individual patches for detailed changelogs. > > Ivan Vecera (4): > dpll: add DPLL_PIN_TYPE_INT_NCO pin type > dpll: zl3073x: use per-operation poll timeouts > dpll: zl3073x: add per-DPLL serialization lock > dpll: zl3073x: add NCO virtual input pin > > Documentation/netlink/specs/dpll.yaml | 13 + > drivers/dpll/dpll_nl.c | 2 +- > drivers/dpll/zl3073x/chan.c | 102 +++++- > drivers/dpll/zl3073x/chan.h | 48 +++ > drivers/dpll/zl3073x/core.c | 47 ++- > drivers/dpll/zl3073x/core.h | 10 +- > drivers/dpll/zl3073x/dpll.c | 495 ++++++++++++++++++++++---- > drivers/dpll/zl3073x/dpll.h | 4 + > drivers/dpll/zl3073x/regs.h | 9 + > include/uapi/linux/dpll.h | 4 + > 10 files changed, 628 insertions(+), 106 deletions(-) > > > base-commit: aa064a614efcfa4c300609d1f01134e99a12ad10 After merge of "[PATCH net 0/3] dpll: zl3073x: various fixes", this series is not applicable anymore. Will send v5 after adjustment. Ivan