| Message ID | 20250105181525.1370822-1-dario.binacchi@amarulasolutions.com |
|---|---|
| Headers | show
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBREY5O5QMGQE2TCKOOA@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com
[209.85.208.69])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 420643F1CD
for <linux-amarula@patchwork.amarulasolutions.com>;
Sun, 5 Jan 2025 19:15:34 +0100 (CET)
Received: by mail-ed1-f69.google.com with SMTP id
4fb4d7f45d1cf-5d3fe991854sf14791392a12.0
for <linux-amarula@patchwork.amarulasolutions.com>;
Sun, 05 Jan 2025 10:15:34 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1736100934; cv=pass;
d=google.com; s=arc-20240605;
b=AVzzlCbj9D7TG7sJ8Y1jcwvdTJ4zhDcRi0pNood0yGtrj9grpi6PIDKlr6gkX716s+
dRmFrC0T64BgoMNXtgvrY/+vSjXXdpQSkDB8liecHxeN1z9J7wV0yV0THaR5/OXjYz8D
UKn+ywAJDWwjsAxZEymXCYraW1y9sUmfkHv/LVQ+neqw7REY23gZ3Afn/IaW+uskCqWk
ZG0OeXBaHWLlOdnggVJQ0Zjs/xTz1HuzUgkdatuWm2Sra28/u0gZmj0y1IWzfxc4gHSV
58om7voiJc9ViQg+YFNN4zSr6I6KZ7zkyYUnTQNFLI0/MsqueSk2+rTqXsZMbloxFtcF
KkzQ==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
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=MYl+xc34kIVXCas8D9ICeH8IjTSVFnL8pP35f9FDU+0=;
fh=k48oRg1g4S6Nq42yKMue0qpQMtrNEYzyrzh1eKD9Skw=;
b=lhZOcPHE0ioo4Py4377/zwsxb3mpjXAswwZ8lHSnBfWfYh20J6oNlWbWtsN/VW4tjY
JzuA/E7LIexxE+Djxo1evB1zhXY/X17NJGAk9lHNvyEv+kAx9tSPAN2flQUGhYqWdtTd
iU5kxt7aQTwUvWAspRsZUw6ERtP4rfA6cWilX6C+K0qFDeVSVy+OwRicqCduAcNxbhOy
yWWDa0cFTIPF/9jdZsR6tFR5GHOkY7uujHYoI1LX5V7YIohlJtsGH+Kk3p+AeNviYC7H
lFJEW29+gCYo1siuW6sARU1J/SsN/wVkeOZnm2j41Wb6tZExFpJyOwLpXJSEa5dmdWIK
5FiA==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=fRsckcD2;
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=pass header.i=@amarulasolutions.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=amarulasolutions.com; s=google; t=1736100934; x=1736705734;
darn=patchwork.amarulasolutions.com;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence: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;
bh=MYl+xc34kIVXCas8D9ICeH8IjTSVFnL8pP35f9FDU+0=;
b=QH23gjvm0oZy6efo1QG9MFV5lti7gbLe5mF84G/OFVSELyAlS/kyOcq/2m+We7Ufq6
DAnqwC1VJmvEEW5eHkj9d21eGKrpTrZmVJO27rPKo+rpkB9L83AF5alPTNz3btIiuTtE
Wjs9/mMv0NfyRgBBvGyBb8RQpkOV+F0794PB8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1736100934; x=1736705734;
h=list-unsubscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:x-original-authentication-results:x-original-sender:mime-version
:message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=MYl+xc34kIVXCas8D9ICeH8IjTSVFnL8pP35f9FDU+0=;
b=EN5h5Z1J6qsO5Yg0fFH2GGoD+wwvkv45hcymHWuYX3ofMVQBBFEJ/MS6niHtCu12sa
Y1t7cC/LVtn+mvAzMEjRpp2DKKg4FdJ846VARqk0ODc2JDnNPdK2XxpQM97Msj3lFIUA
BAR/ip1c4T4A58hrOav78eI8P6qkA7PIZjSU7R9owxHxSU8uzlm0bTTBV+/mH5cHUIPf
hbBH8M+Vf6d+FDjgErklxlM62DQ0dZJ21pbCF7xMq3c/lXBiq8XfBNVtS3QpIYNoATvo
YjnPLt+qqvMJpFEkaVY6q/2KPgGuUKmEDWMZWkvz1apgWEIuj85WWRu6EdrIZEDeQ+tV
eRIg==
X-Forwarded-Encrypted: i=2;
AJvYcCVH2iSirQ+FxHoJNcjaHJgYS1a76PALYyAo+V2bbRHzUoQn9OjH6kfBkMx0QpKrWRSjjEF3UlVF954YqIUM@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0YxyO59o3zkExyQHOtHqq1AX6z0avxnfDu8aanApWE6/XQTpnt++
0xAiXlmPjkxtweDfNB8MeSBCfKOeKWcPPWraeg2DAzUpA04Nc3JmhjEXiht1ivw7HQ==
X-Google-Smtp-Source:
AGHT+IG0Nso5PLPKmZyyVp53XtVMHGMyLDDZ14RezVHkBCRtgzYzyuTzNSF2oFtVdGlEYdShCJiN/w==
X-Received: by 2002:a05:6402:400b:b0:5d4:1ac2:271b with SMTP id
4fb4d7f45d1cf-5d81dd9ce57mr54268596a12.11.1736100933000;
Sun, 05 Jan 2025 10:15:33 -0800 (PST)
X-BeenThere: linux-amarula@amarulasolutions.com
Received: by 2002:aa7:d68b:0:b0:5d3:cfc7:9ef6 with SMTP id
4fb4d7f45d1cf-5d92608a8bcls1113306a12.2.-pod-prod-01-eu;
Sun, 05 Jan 2025 10:15:31 -0800 (PST)
X-Received: by 2002:a17:907:160e:b0:aae:83c6:c679 with SMTP id
a640c23a62f3a-aae83c6c926mr4439512466b.32.1736100931123;
Sun, 05 Jan 2025 10:15:31 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1736100931; cv=none;
d=google.com; s=arc-20240605;
b=V1+cqxAuaffPxovQmepn5HEQd+6ieHi8gXcpczd0SmSO2Ow5A9fNJYH4Is7XpD6pxa
Hej9tfg8HX0jvwnjSeCwRoLv1KAL90u8GqtgJrD4R7hQvQowx8DERrCiBKQ57z2U20om
Ya7dlbHWdBFzt7OULyG5pZFOhDv23Mq6M3IC9YnWXur8QfLlrPmOsvaVucWTCvqAoHLg
gSb8gVL7FXmgPakhGYdj6b9MYZw9JQU5zI8FjiRglKaXFVBxAGB1ar8drkxi9C0WwtnM
808wsy7lrz/vJJYhE+3rYZ5CsY5qvR+/cVybBsxR1ZdFwTuRzrdYbNzcXXXH8eWf9Kq6
UEWQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:dkim-signature;
bh=7JaCiDSlWL3n6x9r8puiAFWGWFXePu89GjNolb6aW4M=;
fh=YFlUV5ccCq4J8t54esOF4Sg6NxdNpGYs78cMg2bEWwM=;
b=Q/2PsNLFddHM4PqegtqbJkTBHSUzlcOs/LJgu5VZDWHFs7oeL3FGBOQgS0fc1FJXNs
jUQ4QGxk71IaOo/8LbPPn958kr9ezp/bYpeNELcCwmFkpHoIYxq7tsqrGJnct72ScTMe
SsecXiHede9lU9fOrnhc2q0uan55FIvK04B1LjpRIT24lPlWW2/Jbg++HyajcmDP1y+d
iMdVieqAE7kzUXEljU9QCswGV1wm0N0lYIJYIh9vBXtgxoW9r67kv91eExAyf/TX0sdz
uSVLzq/W0QPM+Kz9W1BuNjgGOkzjrHeEieueypv2TQpQAI/1XSxX8TrV+aB+LtYmrkl6
dSuw==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=fRsckcD2;
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=pass 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
a640c23a62f3a-aac0e83e7acsor1291184066b.2.2025.01.05.10.15.31
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Sun, 05 Jan 2025 10:15:31 -0800 (PST)
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: ASbGncuMPYvwH2iiJ2FmognqQm1b31O5uEEbHMqUvRCU+R9FQrGq/w2ta6KR3OI+F22
V5jvZSHI49kzu2bsTQs8VK8JUAnK0zU/frs5llb4C8yFPpASh3n5jyKAS/7C1ocuVD39iaEKNKo
3D4+qQtBAWUuIoUd4HTNOUOVxEpkmSIz6xQB7r1GrQ0VA3be9x4pVe6/WMt1/0tqz0YXJeV8qmi
iiUyh3Y7zcjoOOBTrxOebjYSMaHKP1RU0WiQg15aBISqDo9SknlEYT/qnFEPbHmnOwgq+aq7q9O
q0L9jeB9itgwOcbU8bKE6ZGVmewsVGUezDrIwnm1x1ByqVyqZcuaUAHQ3O4+/wWyhI+5sQYXIkv
wQLOk43z0HzROZkM5xg==
X-Received: by 2002:a17:907:7dab:b0:aa6:98c9:aadc with SMTP id
a640c23a62f3a-aac2d45fb01mr5099786866b.31.1736100930471;
Sun, 05 Jan 2025 10:15:30 -0800 (PST)
Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it
(host-79-41-6-15.retail.telecomitalia.it. [79.41.6.15])
by smtp.gmail.com with ESMTPSA id
a640c23a62f3a-aac0e82f178sm2138185066b.38.2025.01.05.10.15.27
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 05 Jan 2025 10:15:29 -0800 (PST)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: linux-kernel@vger.kernel.org
Cc: linux-amarula@amarulasolutions.com,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Conor Dooley <conor+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Michael Turquette <mturquette@baylibre.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
Rob Herring <robh@kernel.org>,
Stephen Boyd <sboyd@kernel.org>,
devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-clk@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com
Subject: [PATCH 0/6] Support spread spectrum clocking for stm32f{4,7}
platforms
Date: Sun, 5 Jan 2025 19:14:12 +0100
Message-ID: <20250105181525.1370822-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=fRsckcD2;
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=pass 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 stm32f{4,7} main PLL. To achieve this, it was considered necessary to also apply patches to improve the documentation (conversion of st,stm32-rcc.txt according to the json-schema) and the code (use of FIELD helpers). The series has been tested on the STM32F469I-DISCO board. Dario Binacchi (6): dt-bindings: clock: convert stm32 rcc bindings to json-schema dt-bindings: reset: st,stm32-rcc: update reference due to rename dt-bindings: clock: stm32fx: update reference due to rename dt-bindings: clock: st,stm32-rcc: support spread spectrum clocking clk: stm32f4: use FIELD helpers to access the PLLCFGR fields clk: stm32f4: support spread spectrum clock generation .../bindings/clock/st,stm32-rcc.txt | 138 -------------- .../bindings/clock/st,stm32-rcc.yaml | 170 ++++++++++++++++++ .../bindings/reset/st,stm32-rcc.txt | 2 +- drivers/clk/clk-stm32f4.c | 155 +++++++++++++++- include/dt-bindings/clock/stm32fx-clock.h | 2 +- 5 files changed, 321 insertions(+), 146 deletions(-) delete mode 100644 Documentation/devicetree/bindings/clock/st,stm32-rcc.txt create mode 100644 Documentation/devicetree/bindings/clock/st,stm32-rcc.yaml