| Message ID | 20260901090912.585681-1-dario.binacchi@amarulasolutions.com |
|---|---|
| Headers | show
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBT5M3LKAMGQEODCQYNQ@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com
[209.85.128.71])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 93E7F40D07
for <linux-amarula@patchwork.amarulasolutions.com>;
Tue, 1 Sep 2026 11:09:36 +0200 (CEST)
Received: by mail-wm1-f71.google.com with SMTP id
5b1f17b1804b1-499913d1a79sf25281225e9.0
for <linux-amarula@patchwork.amarulasolutions.com>;
Tue, 01 Sep 2026 02:09:36 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1788253776; cv=pass;
d=google.com; s=arc-20260327;
b=jsi49jZnUC5ozkE/9dsir2SQ8Yy5jRb5wiBJyL+S/75XS0405tVugNQGOc8j9GNcpE
kn+LgWyzbRQV2piP4xw3v5Kcaih2F1V9FCI0WT6iNw4E6RaZfCHzDfaBdr378HkUuNrp
MZGIcENRvm9/4KWQ0gIHaDerpfdnVtOtwfUwrpHsnjdA9A+rajFfgtMSUAGeBsQ+Qqj8
oawFk/pp8F5hyDq2bQYw/lohFMBRbuoRxS1pxMzLBK5/f6egGZ7O09NOnXdagPhUHbkF
lMrgoqA+uy2VGAx5cE5WmatLbajk/4nchiOe14pGk1gGGPVcjPncJc1jOkWOMYmq6SH6
e+xQ==
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=9hpaSAotT/I7YnqUZKzpWyicF1TfVCSX3WeGTmSNA60=;
fh=JgZ27kwslAIeD3pmov8cR8r2e2fFldCTbmyrnGs4LSs=;
b=gJMDja1KyuIU3j/f712YVB3K6Da2XJw7mRbF7CRT9JwuDmtFJV5zZr+55YB0bKVFXS
jYvCp37x141EBvrniGwM1DOs1OtragsizmrIXndHK68zhmzfrwQI6gutFWvZMs1BOOCE
mQ+znzOX7kSosVGuGcanWh8vRE9AbqZPqdkKwufdWU1Hcwoe1er23yPFyuhL1k/waABc
KRXTp54QM6qXgi34ONxEpfcemm+EJhPC4fG260tU2yuVMxr9UeEJ1Bu8NToNrKan15+x
Tvu/F7FVylj+ALvZGEeaXJylGwjTl3f9VkgWb9glzXHozxJvFugG8t6XB07awCp2kY+r
ZQNw==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=Zc9MMbGJ;
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=1788253776; x=1788858576;
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=9hpaSAotT/I7YnqUZKzpWyicF1TfVCSX3WeGTmSNA60=;
b=TGKY5JqS9V0tBnNxRvS6PxF1Vff5w10ALks+0iM9279uGWWahwqQ5ACbha9gk0OyBl
aztU1nwtkJj6IAnKc+XoTJpjdM/1Sf5w3gk050LQHpjDZb8Sbu1yJSaPoHdTUVY37aF/
ME1y+/jQvH8shEx8OW+9DHiCblnKxabb9nN7k=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1788253776; x=1788858576;
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=9hpaSAotT/I7YnqUZKzpWyicF1TfVCSX3WeGTmSNA60=;
b=e/F8o9wnUUclm7Uo4oduSq9p0g/F92R4o2ArJJpV7FPpvr4jvwIFY/LXXWfRgxdIQs
uMHk7my73XPXr+RPvZDpVlE1dI1Eg63mhhzPTY3JczB9mFGdqOIHVPaM5lMuQ6LDm33C
1HSwLJkmGCXOU//Oz2hGJA/YNtRmTsAUES9619JmMiFo1sxSsZNGuD2Nj4f+FJcMsMvk
mY4ymo/B4jg6GPZ4XbCoBdE4dFUBC3LYx+WYP75WMs2pzF+EPd15LRazWeQIDzotLVWu
9OuhSiIpPHKosi6LWN5ZiG6SuB7AV+rJgFTRRNBOP1Cb+7r66+p+9wLDK8EOgM3dfRi0
FxAw==
X-Forwarded-Encrypted: i=2;
AHgh+Rou2fmpQnXvkY5Gsd2HrSKjxIz652FO83ZM6ej7Z3WuTsADo1G/Pup87QGXQSq+2p2HR7Vk0HLbuNvO3++z@patchwork.amarulasolutions.com
X-Gm-Message-State: AFuF++m1xgjQZJtGbyz3glnpQHrclVc0t2Htngp6pkkwWOSahz2ElCme
o9lI2RGuS71hAFgZBgvvbR5ySAAsmsq6hMCRU0gksGj3YYfxXnLREEeJDOyDrjRBBgIO93wjpfC
nbg==
X-Received: by 2002:a05:600c:c11c:b0:499:b65d:1250 with SMTP id
5b1f17b1804b1-49cdc422c5bmr116448405e9.2.1788253775877;
Tue, 01 Sep 2026 02:09:35 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com;
h="ATskLdeDYG1w8LK9JmjRufl6YdWc1f69XWg9YGPQHKgzWnECSg=="
Received: by 2002:a05:600c:3ba5:b0:495:55df:a958 with SMTP id
5b1f17b1804b1-49b226d5347ls49899105e9.1.-pod-prod-01-eu; Tue, 01 Sep 2026
02:09:34 -0700 (PDT)
X-Received: by 2002:a05:600c:1d99:b0:49c:cee0:e7c0 with SMTP id
5b1f17b1804b1-49cdc560282mr143219785e9.16.1788253774102;
Tue, 01 Sep 2026 02:09:34 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1788253774; cv=none;
d=google.com; s=arc-20260327;
b=ZSPAxLRwWWuj27VoE2c9WaUlUPKB5npKETZEU1Y7/QhsrQQtuzD8J8wGMJo9ZikX86
e80RlxPKh5zmmkG1a+SkEJbAjJLBI6uOfpq9oRdYaOa5Jhy0WJza55ay0gn08784Al8S
Ghv0gE6vuW4SHQHFQT7L24rfEYWV1xeMECGO6mk5oGVCmKci00JouGrNzoKT/c49mpaM
EIm6m7OOKnjz7WQcLSiauZ0pFsQwpKfWUdPd6rPgMnjVTkxKOCodav/WV3yO+LlIXaDy
LrJZrRNvemG1sU65P8hQioGsVGSvXxDuWmuYM1YsWMGOlEtpa2QEDZU7SQ9AJz/7p7bH
UiTA==
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=T9TiGLOlBJPaa6ACMJt76ajLLQMGHpzZnyu3DaDv9wI=;
fh=dm3cbuhuQyaAFqTganplcEaesR7TgSQF9jFfCpoC0wg=;
b=QtL42RtU0TqIwM0i/214Z4xeFoxaN+xtCrWFrhM7RV6utPgYH7/bLiUHm32K9Y0ddJ
mTKLnBr0IpGg+PHlMzFJHJDjiK2+dtSAXbp0h76BP9SqRIY6oMpbQxMAT7gEq7nOfzjQ
kjPS0kOd5GHJimZ0P8IQ3HzEgSNEK1fnIUJXtn+ToKdM6JT6E+jLK6iQDtkFNT4HhRqw
lOgJ1TIDfmZkwx9vNQQZpLnVYU+3Z+9tfSAuuyRb57uKxmSJnrT+kstn6iLbi+gp6loo
MhQTxQU4brB5Sj6UjmmMWnE6ggeyuznDrYyb0Zp5TUA0rjeLVU94UncE/UMqVfmAWTR5
LFWA==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=Zc9MMbGJ;
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-49b9506bfd5sor17521435e9.6.2026.09.01.02.09.34
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Tue, 01 Sep 2026 02:09:34 -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: AR+sD13PSsgxEf2yXIbBPPZD3xDeuuyGor2aqwEH+W8B/Dc+faq6BqBKpPiZ+ZJB7pg
yo+tSJ28U7/vuZcSyKsBEPaUKnt/Ljt2bp4kwNc2DoZV4K12dD7sSNEHly8lILxwg3Wa0LpzJnu
pC7NPAkTdABjotjyTWg5/AuZ7/Mf8lWCZ5XKFUHu9lE7H9N2K+BEJtKWIniPQ0+vdiGa48QaTas
f5VSVvqtObeUxbtIXQX+cYlnrD3FTWMs4BFXFhgXIt20mNXcozlRIZGN+x+TLTSaVRjd3ZWEaBP
atj5xDXjD2AkqWbY+IvRVIVJFXiASc1frZ+MHmkdLTG5XAiEacOkmHesEA9hovGNO1dWzbtkulD
QfhHMApxZMB5/l0YK0deqAk1DtDwoIC5+VOSUNpD6emplNhxKYzcxk2w9PHEAOsTudlJOK0X596
u47YO7D49j58iapWczODVIkelqKBGHu/t6B5NVeViuoaAEcshEUk1pi/S35RArfb/EiKtm8h5VD
ZWZnJcgEaSm35RQl6Mqj2ADrdI0agz4Qfs3oVu4JyoURNbx+OSC0qLSFdG1EylyxlrQePBSg22M
QB+P0WEKa+CxZnHY11yX4bw9pSo4CLSzEIY1RDLoezBVHS+YL8IxhOj2iP5/Fsvabw==
X-Received: by 2002:a05:600c:190a:b0:49c:e1f1:3dd5 with SMTP id
5b1f17b1804b1-49ce1f13dd6mr5345715e9.4.1788253767752;
Tue, 01 Sep 2026 02:09:27 -0700 (PDT)
Received: from dario-ThinkPad-P14s-Gen-5.amarulasolutions.com
(host-87-9-102-148.retail.telecomitalia.it. [87.9.102.148])
by smtp.gmail.com with ESMTPSA id
ffacd0b85a97d-48442c425cesm3825273f8f.6.2026.09.01.02.09.25
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 01 Sep 2026 02:09:27 -0700 (PDT)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: linux-kernel@vger.kernel.org
Cc: linux-amarula@amarulasolutions.com,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Abel Vesa <abelvesa@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Fabio Estevam <festevam@gmail.com>,
Frank Li <Frank.Li@nxp.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Peng Fan <peng.fan@nxp.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Sascha Hauer <s.hauer@pengutronix.de>,
Sebin Francis <sebin.francis@ti.com>,
Stephen Boyd <sboyd@kernel.org>,
imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-clk@vger.kernel.org
Subject: [PATCH v11 0/2] Support spread spectrum clocking for i.MX8M PLLs
Date: Tue, 1 Sep 2026 11:05:16 +0200
Message-ID: <20260901090912.585681-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=Zc9MMbGJ;
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 |
|
| Related |
show
|
The series adds support for spread spectrum clocking for i.MX8M{M,N,P} PLLs (audio, video and DRAM). It has been tested for the video PLL on boards using i.MX8MN and i.MX8MP. Changes in v11: - Add patch "clk: validate spread spectrum configuration" to reject invalid parameters in the clk core before they reach the providers. - Fix issues claimed by Sashiko. See the details in the patch changelog. Changes in v10: - Drop patches 1-22, superseded by the generic spread spectrum clocking support from Peng Fan, merged in 7.3, so the i.MX8M specific infrastructure is no longer needed. This patch is now based on the following commits: - ae794aa6e88d ("dt-bindings: clock: Add spread spectrum definition") - c86814e70390 ("clk: Introduce clk_hw_set_spread_spectrum") - a7f16660af39 ("clk: conf: Support assigned-clock-sscs") - 7d98de6ffdab ("clk: Add KUnit tests for assigned-clock-sscs") https://lore.kernel.org/all/20260826165611.236321-1-sboyd@kernel.org/ Changes in v9: - Add 'Reviewed-by' tag of Peng Fan for imx8mn platform patches - Fix building warning raised by the kernel test robot for patch v8, 11/18 clk: imx: add support for i.MX8MN anatop clock driver - Add patches for imx8m{m,p} platforms: - 23/23 clk: imx8mm: support spread spectrum clock generation - 22/23 clk: imx: add support for i.MX8MM anatop clock driver - 21/23 clk: imx8mp: support spread spectrum clock generation - 20/23 clk: imx8mp: rename ccm_base to base - 19/23 clk: imx: add support for i.MX8MP anatop clock driver Changes in v8: - Drop the patches added in version 7: - 10/23 dt-bindings: clock: imx8m-clock: add phandle to the anatop - 11/23 arm64: dts: imx8mm: add phandle to anatop within CCM - 12/23 arm64: dts: imx8mn: add phandle to anatop within CCM - 13/23 arm64: dts: imx8mp: add phandle to anatop within CCM - 14/23 arm64: dts: imx8mq: add phandle to anatop within CCM Changes in v7: - Add and manage fsl,anatop property as phandle to the anatop node with the new patches: - 10/23 dt-bindings: clock: imx8m-clock: add phandle to the anatop - 11/23 arm64: dts: imx8mm: add phandle to anatop within CCM - 12/23 arm64: dts: imx8mn: add phandle to anatop within CCM - 13/23 arm64: dts: imx8mp: add phandle to anatop within CCM - 14/23 arm64: dts: imx8mq: add phandle to anatop within CCM Changes in v6: - Merge patches: 10/20 dt-bindings: clock: imx8mm: add binding definitions for anatop 11/20 dt-bindings: clock: imx8mn: add binding definitions for anatop 12/20 dt-bindings: clock: imx8mp: add binding definitions for anatop to 05/20 dt-bindings: clock: imx8m-anatop: define clocks/clock-names now renamed 05/18 dt-bindings: clock: imx8m-anatop: add oscillators and PLLs - Split the patch 15/20 dt-bindings-clock-imx8m-clock-support-spread-spectru.patch into 12/18 dt-bindings: clock: imx8m-clock: add PLLs 16/18 dt-bindings: clock: imx8m-clock: support spread spectrum clocking Changes in v5: - Fix compilation errors. - Separate driver code from dt-bindings Changes in v4: - Add dt-bindings for anatop - Add anatop driver - Drop fsl,ssc-clocks from spread spectrum dt-bindings Changes in v3: - Patches 1/8 has been added in version 3. The dt-bindings have been moved from fsl,imx8m-anatop.yaml to imx8m-clock.yaml. The anatop device (fsl,imx8m-anatop.yaml) is indeed more or less a syscon, so it represents a memory area accessible by ccm (imx8m-clock.yaml) to setup the PLLs. - Patches {3,5}/8 have been added in version 3. - Patches {4,6,8}/8 use ccm device node instead of the anatop one. Changes in v2: - Add "allOf:" and place it after "required:" block, like in the example schema. - Move the properties definition to the top-level. - Drop unit types as requested by the "make dt_binding_check" command. Dario Binacchi (2): clk: validate spread spectrum configuration clk: imx: pll14xx: support spread spectrum clock generation drivers/clk/clk.c | 14 +++++++ drivers/clk/imx/clk-pll14xx.c | 79 +++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) --- base-commit: 786262be6048deab760f68c8acc2c85607165894 branch: imx-pll14xx-spread-spectrum