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 B16061CEADB for ; Fri, 26 Sep 2025 14:22:00 +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=1758896522; cv=none; b=hV1/TMrYZ+EeRZ3h5ozYKTVyA2Czqt8vTwvfrWZ7OdkdDn2ikhViWwcmyJDuyAUvnsgXeWCEwvYHFLbPR5E5b6H7FRwlYS0LXn4ycMitjIrrYPMuZ+RXYWea6H/yEuNVUDWeUsaTu2IgmP51hzWpFJ5GF0u74cqJdslz6lBo93o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758896522; c=relaxed/simple; bh=RnKcmoeHBKd3CUe+vQc5sjhoXPbftsIZXm1dF7XwSXM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=jC+wxuEmYj81gTay806QZxi9FP5gIWcuw5zaPCoFO0kuPUhS8Zi1BgSKRCLDKGQ74aotzWd2hMZow3t66/GiUUkvIbZs/MewN0lDLB8X81O1PDBBuhBUsg4GApM4DCN/at0HwIMMQmZX8SXoao95dKds9ltJPEiOhXPMLzzrEGc= 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=IhIOqMtP; 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="IhIOqMtP" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1758896519; 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; bh=nsN01LKDLcHLmc/GegJIUZlWnYgrx427bBm7VdUWpDU=; b=IhIOqMtPtArZdhU91gJUZ5ped+NY3iMdv0Jx78bTRPqyXVHFSwpoW+X48/Wqv6TL2aM4Y7 51JFbYdR684M/W+K6Qb1ePdidlyOW5toca89/77nIN/Yt7BxY5Fv+qObW4PnezzOBbFmmf 8ysjrAtOioUzSGmmkzhuJBat9S5HV5Y= 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-144-EA8s8hQ4PFaQlpfy0bsMSg-1; Fri, 26 Sep 2025 10:21:53 -0400 X-MC-Unique: EA8s8hQ4PFaQlpfy0bsMSg-1 X-Mimecast-MFC-AGG-ID: EA8s8hQ4PFaQlpfy0bsMSg_1758896508 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 59BA91956055; Fri, 26 Sep 2025 14:21:47 +0000 (UTC) Received: from p16v.redhat.com (unknown [10.45.225.247]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 851FC30001B7; Fri, 26 Sep 2025 14:21:41 +0000 (UTC) From: Ivan Vecera To: netdev@vger.kernel.org Cc: Vadim Fedorenko , Arkadiusz Kubalewski , Jiri Pirko , Jonathan Corbet , Donald Hunter , Jakub Kicinski , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Prathosh Satish , Chuck Lever , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Michal Schmidt , Petr Oros Subject: [PATCH net-next 0/3] dpll: add phase offset averaging factor Date: Fri, 26 Sep 2025 16:21:37 +0200 Message-ID: <20250926142140.691592-1-ivecera@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 For some hardware, the phase shift may result from averaging previous values and the newly measured value. In this case, the averaging is controlled by a configurable averaging factor. Add new device level attribute phase-offset-avg-factor, appropriate callbacks and implement them in zl3073x driver. Ivan Vecera (3): dpll: add phase-offset-avg-factor device attribute to netlink spec dpll: add phase_offset_avg_factor_get/set callback ops dpll: zl3073x: Allow to configure phase offset averaging factor Documentation/driver-api/dpll.rst | 18 ++++++- Documentation/netlink/specs/dpll.yaml | 6 +++ drivers/dpll/dpll_netlink.c | 76 ++++++++++++++++++++++++--- drivers/dpll/dpll_nl.c | 5 +- drivers/dpll/zl3073x/core.c | 38 ++++++++++++-- drivers/dpll/zl3073x/core.h | 15 +++++- drivers/dpll/zl3073x/dpll.c | 59 +++++++++++++++++++++ drivers/dpll/zl3073x/dpll.h | 2 + include/linux/dpll.h | 6 +++ include/uapi/linux/dpll.h | 1 + 10 files changed, 210 insertions(+), 16 deletions(-) -- 2.49.1