| Message ID | 20261023145555.3578469-1-dario.binacchi@amarulasolutions.com |
|---|---|
| Headers |
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBAHL5XLAMGQEJN3FBTQ@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com
[209.85.128.72])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9AFBF3F0E2
for <linux-amarula@patchwork.amarulasolutions.com>;
Fri, 23 Oct 2026 16:56:01 +0200 (CEST)
Received: by mail-wm1-f72.google.com with SMTP id
5b1f17b1804b1-49cdc4080ddsf6283645e9.1
for <linux-amarula@patchwork.amarulasolutions.com>;
Fri, 23 Oct 2026 07:56:01 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1792767361; cv=pass;
d=google.com; s=arc-20260327;
b=jxKZQ4VGho3kC2fzdxZjgow3FdOg/pkUycSJYWtHqV9C81kb0yb14lJ3y8hIgM42++
NrGSwShuL0S8Q7v3WMtNDZts+wdhbUXG4v+5KCq4uAWuAUrOc2fwzQZpuPW67qc5tMM/
3arMmhbjjLV0JFClnCuqninjzLI+20sK88HZazS1oKvpKAgv7/X+myygCCUvHm9CmmPV
/OErT4a3th3DR900LGuUB5fJ/QHiVCf71cBOG6AlnGat9Gc9zJX37969ky/ELjbP3VhE
/P29aRWYewEwC3wwsnexpn8/F17nUuBzkxDZR+o+7ROStGsx0dH32SbtIZyYKVnQFGxH
KzYQ==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:mime-version:message-id:date:subject:cc:to
:from:dkim-signature;
bh=MbI3+3ioOAzsC296ZODbZ819Ccor5RFjIzRcfJt+5y4=;
fh=nxVCo0hCtXBL/dq86p28/G/1b/qi/MN1sSXtG827fho=;
b=fgOAyoOU1nUX3R0038adGj0W9Y3XdjCJ3RamwjD3dyxL4cIPZpkeFemw1uIWxzDuBx
P+npC0lpq0/J/Orx26tkpaH9l3VqWHUaXNmR2f1hzwmzCHafoWZ8gA/Hxj8Mg8bXHuKI
ViDEsLjy8gzoY3hODoqR9ghEiMtn6i1rxB7Ugr4rVOwlaj0O+oYnlvy2nFNHnr3mXubD
HMJgf/D9xEkgd8RaDTrRtarE9D6ecZtR5NsiTT5i9EA4rwOB9c0xMtO3cSk/7Hk9Tco4
0DWJawZrRbLIy2qeDc5A/wr/8HpCwCg4FqXyDg/6ayv7KmCc8QU79kd8Uc8vvlc+nXTM
CGlw==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=Yeb8nHZg;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=neutral header.i=@amarulasolutions.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=amarulasolutions.com; s=google; t=1792767361; x=1793372161;
darn=patchwork.amarulasolutions.com;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:content-type
:x-original-authentication-results:x-original-sender:mime-version
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=MbI3+3ioOAzsC296ZODbZ819Ccor5RFjIzRcfJt+5y4=;
b=m1A1dCKVAHOQgIOfHuYFt2sK4LhXlO6F9iYWxDjWILxy8mu1xfcd6RtZs4GBtJ7Nlo
gkdNWQ//4uwXsJ+iqKeBPL7633PZdd9wtolMBfxbRWzF/Vq8hqYBG/tN8lAsTOzTMb6h
t9XIotLJBmnp1UP+ky40aw0gt+TvsuN4NG0nk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792767361; x=1793372161;
h=list-unsubscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:content-type:x-original-authentication-results:x-original-sender
:mime-version:message-id:date:subject:cc:to:from:x-gm-gg:x-beenthere
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=MbI3+3ioOAzsC296ZODbZ819Ccor5RFjIzRcfJt+5y4=;
b=fmIXQCPZZ5jx4JQbkcbLF3f8TWykxvJ4V1X8jvbbf5enupUgqnbOZ++rHotuQZ2sLl
gm1ALd2Zu4TcJpDwrgPPiA/7ttBXBAFUGUEOj4Rn8fyVr73R6/oOKkhz29mssvj1DgFN
1ALVWG34p2JT72V79gxXWj8SU8S9tphroWFFpWi5fmoL4M7s3I58zs8NZndzL9eD2t8j
PlvCvGa0o2rbNBqkKIyGZd7stMV3Oh40T81cIDkB77PvqurbGABy3dHuBbQ0t4RMdpd9
0EPXt1X/ZaR3eyeus0r4botUJIqpLzYMoF0oWWQp9dbYl2zHylDGhs4AP5BpFBRSiZne
3Cew==
X-Forwarded-Encrypted: i=2;
AKwUvBz/fyXladdPtI0n7FlcWbon4kiWQ/K1hD9+fe7EfQYIDC7J9EPyoD/63x+RIE9GuggT4nHypoKLnUPdydES@patchwork.amarulasolutions.com
X-Gm-Message-State: AFq9FYKPLOUGnZz5yeUhJo6xVQXD/rUqqUY9zz0XKQ14cCbgCRGhDyF6
wA3nO6qA1XA6hrR7zRO8AlNOwX41sDbBss52/ePQgUHP6f7bXiaoi+pOQ1WmbHV5wgfFdg==
X-Received: by 2002:a05:600c:4e08:b0:4a1:88df:8a2a with SMTP id
5b1f17b1804b1-4a211c7a92fmr41273055e9.13.1792767360984;
Fri, 23 Oct 2026 07:56:00 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com;
h="ATskLdetbNko5yN/6eNO2rYf5RksorGvwBqPLfggLFl2kIQFmQ=="
Received: by 2002:a05:600c:314f:b0:49b:4bf4:c7b4 with SMTP id
5b1f17b1804b1-4a21192f91els5517365e9.2.-pod-prod-00-eu; Fri, 23 Oct 2026
07:55:59 -0700 (PDT)
X-Received: by 2002:a05:600d:8051:b0:4a2:18c4:61a5 with SMTP id
5b1f17b1804b1-4a218c46284mr20639735e9.6.1792767359209;
Fri, 23 Oct 2026 07:55:59 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1792767359; cv=none;
d=google.com; s=arc-20260327;
b=ULSYBRoi8WoJNKt065Bz615Nf/3UfSFk9ql9Gtp983sG+PRmRxtVNLWjRfw16QbW9+
KD/fRazYx5hgQn1G7rELixCN59brtYtOTWaPlL/QX2lB13YHWeInwicqbdxntd7HZJD2
gnbPNES1L4QdCFnAadXGMoQg9MbR9pofqc0VsdRXfpy4jE2g5o/mMbiKNJv7QLQq7jGa
500T2J+wp1g0oc1+WOCsCgzOjNf9CDSPO+l/UWLkcMrgBTg7GoPYE4x7qwmJZq9Q9sBG
nGxEi/A5GOAPuWfiTAjXzkj4SkPfEJf49/Z7q1bQ+hcSKANaZdtPZ2uvZyDeQrhBuSTu
ac+g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:dkim-signature;
bh=vB7EoyrHbZim2ck9/2V6ztNSVsZ7Bq2SjbvjQSXWvH4=;
fh=SaYc9h/EShluhll2/qZhZDeGkXc2tzKSiigyppFSNgU=;
b=nqBIlrPC4sHfPY7s3gJwWtgrA4CLJhMuDDvJh2xm+/sF8oOS+p/NHxcJE+97S+OoqU
I05i14qJtE8GZ134eV7O7YYF2Kk7IYUeQwDbfaWaWzCvBG9wUVIHi6T4MZThwhBdSkq5
MN5fGhL/6cdF9y8qZ0gUs7fCsM6hIoc8n5EPn+U4j6qtf2DEN4dCs1Z6SRRhpBl0iKUF
8ZJu9iT7tYYA8dhNTOYCODMY/VdKFcakiD1u1czHlbqUaKQTKlBgOLjd/7Wqt0+g4b+j
c9Vs83NBJeAvJ945z5hxgfF81orOGQwNNKeqdmm7wEu0nL0ESd9HtO96MQ2js26+Sszl
NIag==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=Yeb8nHZg;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=neutral header.i=@amarulasolutions.com
Received: from mail-sor-f41.google.com (mail-sor-f41.google.com.
[209.85.220.41])
by mx.google.com with SMTPS id
5b1f17b1804b1-4a2a906bfa6sor634375e9.4.2026.10.23.07.55.59
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Fri, 23 Oct 2026 07:55:59 -0700 (PDT)
Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Gm-Gg: AYBFou0/2yy9pW8BLBQqmk59R9cvMEMxHRmxc18122Kd7dg+a00+OY10KI3810RoA9Z
u8NmGVUtpWKSD/jaMGkiqpWO4WDi07yFkzm4gDi97ORB9D1y3G+VWB0h2E8iWFh39iwz8oGwJHU
z07hWM0vtd9FGtHEHeGMd0Uj9FWxp5xRBP+imbJfAKzNSRxJ0ZsliuVLgFkn3QqmAcyqxTcaPXh
+kHej2dV/Rbqpa18GPYhddR9Lg24zQ0s0FeBMY6dHEC1JvPZgU1D4V3o/slBrUMfIEsNqFvCdT3
MMWXMPkmWkeJAylSxk6+i2ZpxxguddWDIlaoSRp+cBDQyZV2eF44vhbCmjtYW1/+GubXGzLseP0
MOX16ahA8aJykjV/s7hYhRi18HTIhQJeJQwn0i6n74bDUXRezEcyRggLGTxkZLTmS0+px71OcgD
Ud7yp8mxSjQ53f2+tx5n3iWT/33Bf6z8vI5Wdvv7sKt2Yez0dU293YxY5HqqwaOAz1xvKwkNTC+
hD2aTwFkaA7QX9cWKduuVksofWksxvL0zFVphpcG252CELxB0dHa0RGpzc7DFvrtAojzsbMTqGW
RPtKwznSPm6b2MA0EESMkPCbvp08XUKiRDJKORqK0ZFYqQLrp84iO48rxSl6E1UdCcMQvM/y115
0MUQxown6W5F0UhmFNflg7Vsc1dOUESRwKdIarPmI0dzSaKWXWxMmNQ==
X-Received: by 2002:a7b:c303:0:b0:49e:795e:ba89 with SMTP id
5b1f17b1804b1-4a204bc31e6mr73887275e9.6.1792767358753;
Fri, 23 Oct 2026 07:55:58 -0700 (PDT)
Received: from dario-ThinkPad-P14s-Gen-5.homenet.telecomitalia.it
(host-79-14-29-58.business.telecomitalia.it. [79.14.29.58])
by smtp.gmail.com with ESMTPSA id
ffacd0b85a97d-48e3d42f884sm226760f8f.57.2026.10.23.07.55.57
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 23 Oct 2026 07:55:58 -0700 (PDT)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: linux-kernel@vger.kernel.org
Cc: linux-amarula@amarulasolutions.com,
michael@amarulasolutions.com,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Brian Masney <bmasney+clk@redhat.com>,
Conor Dooley <conor+dt@kernel.org>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Rob Herring <robh@kernel.org>,
Stephen Boyd <sboyd@kernel.org>,
Tero Kristo <kristo@kernel.org>,
devicetree@vger.kernel.org,
linux-clk@vger.kernel.org,
linux-omap@vger.kernel.org
Subject: [PATCH 0/3] clk: ti: dpll: switch spread spectrum to the generic
framework
Date: Fri, 23 Oct 2026 16:55:29 +0200
Message-ID: <20261023145555.3578469-1-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
MIME-Version: 1.0
X-Original-Sender: dario.binacchi@amarulasolutions.com
X-Original-Authentication-Results: mx.google.com; dkim=pass
header.i=@amarulasolutions.com header.s=google header.b=Yeb8nHZg;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=neutral header.i=@amarulasolutions.com
Content-Type: text/plain; charset="UTF-8"
Precedence: list
Mailing-list: list linux-amarula@amarulasolutions.com;
contact linux-amarula+owners@amarulasolutions.com
List-ID: <linux-amarula.amarulasolutions.com>
X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com
X-Google-Group-Id: 476853432473
List-Post:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>,
<mailto:linux-amarula@amarulasolutions.com>
List-Help:
<https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>,
<mailto:linux-amarula+help@amarulasolutions.com>
List-Archive:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/>
List-Unsubscribe:
<mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>,
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe>
|
| Series |
clk: ti: dpll: switch spread spectrum to the generic framework
|
|
Message
Dario Binacchi
Oct. 23, 2026, 2:55 p.m. UTC
The am33xx/am43xx DPLL spread spectrum clocking (SSC) is configured through vendor specific DT properties. Since 7.3 the clock framework provides a generic API and the assigned-clock-sscs DT property for it, so the series moves the TI DPLL to the generic configuration and drops the vendor specific properties. The last patch applies the configuration right away, as the clock core skips set_rate() when the requested rate is already the current one, e.g. when the bootloader has set it up. Tested on a BeagleBone Black with equivalent parameters. The dpll_disp_ck SSC registers are programmed with the same values as with the vendor specific properties. Dario Binacchi (3): dt-bindings: clock: ti: dpll: drop the ti,ssc-* properties clk: ti: dpll: use the generic spread spectrum configuration clk: ti: dpll: apply the spread spectrum configuration right away .../devicetree/bindings/clock/ti/dpll.txt | 6 -- drivers/clk/ti/clock.h | 2 + drivers/clk/ti/dpll.c | 8 +- drivers/clk/ti/dpll3xxx.c | 98 +++++++++++++++++-- include/linux/clk/ti.h | 9 +- 5 files changed, 94 insertions(+), 29 deletions(-) --- base-commit: 734bef548a96e8774d6eef5dfa2026c6edc4e80b branch: am33xx-assigned-clock-sscs