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 C37123358C5 for ; Wed, 29 Oct 2025 15:32:25 +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=1761751948; cv=none; b=btauB/EJToUxawTcE8C8r9FB8H8U5baA87/g1tJVJuwblhfNFkTtHw3Rrs7KODnTb5qq6a5Q0Zh5rLbFa54rvznIKcYYV3fLqVSt3ZR7x+QTpFeuZAPgMnNr5mUbZQKKuh30bglE22DDDBSfOBA/Gwu3ypvJnpTiMAzoMhUEU3E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761751948; c=relaxed/simple; bh=P7jmvuNkib4Grr1OK/vcBj2d8V6ba4O4XAeWod+DRi0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ns40BOY7i7KNWLIxWOEtoaheHfF7UGbbsjQWPlpsTM5mrS85Hkny2ZomX/JzJDXr5ycSZpbuyWVOrb3Xi1Pz0xcCP96uuRNstG8bSWVloU6pLuMi+3y4k5jnE47cbCq67NMjvHxL2y1XtZmncy+3HipiZzzXr1Zi2cHUJNcORu0= 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=L9myFAvq; 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="L9myFAvq" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1761751944; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=4btZVR3J3shEYxkjDsr0KiT1KwXK3qj7K4l0C9+39Bo=; b=L9myFAvqtvEJ7nvCaI5Gh/GQxr95jMFZga5GuCZg/JY+RqKPAXyeTSiQZPT0qvovDMxI/R VQVSqnlxXP5emXLtV21F2sXQBudTk4Kb6ZwBkLCpnF0FeINPphiGgxSsGGNaiO7D7aVSbH W7DGJ1kr7PJT6nr6AblCf8AbSExot3k= 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-486-87pWm6YtM2GX0YvnKasBYw-1; Wed, 29 Oct 2025 11:32:16 -0400 X-MC-Unique: 87pWm6YtM2GX0YvnKasBYw-1 X-Mimecast-MFC-AGG-ID: 87pWm6YtM2GX0YvnKasBYw_1761751934 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 14AEB180A221; Wed, 29 Oct 2025 15:32:14 +0000 (UTC) Received: from p16v.bos2.lab (unknown [10.44.34.31]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 145271800579; Wed, 29 Oct 2025 15:32:08 +0000 (UTC) From: Ivan Vecera To: netdev@vger.kernel.org Cc: Vadim Fedorenko , Arkadiusz Kubalewski , Jiri Pirko , Jonathan Corbet , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Donald Hunter , Prathosh Satish , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v2 0/2] dpll: Add support for phase adjustment granularity Date: Wed, 29 Oct 2025 16:32:05 +0100 Message-ID: <20251029153207.178448-1-ivecera@redhat.com> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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 Changes: v2: * changed type for the attribute to u32 and added explicit cast to s32 during remainder computation (per Jiri's request) 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