|
|
Log in / Subscribe / Register

Support spread spectrum clocking for stm32f{4,7} platforms

From:  Dario Binacchi <dario.binacchi-AT-amarulasolutions.com>
To:  linux-kernel-AT-vger.kernel.org
Subject:  [PATCH 0/6] Support spread spectrum clocking for stm32f{4,7} platforms
Date:  Sun, 05 Jan 2025 19:14:12 +0100
Message-ID:  <20250105181525.1370822-1-dario.binacchi@amarulasolutions.com>
Cc:  linux-amarula-AT-amarulasolutions.com, Dario Binacchi <dario.binacchi-AT-amarulasolutions.com>, Alexandre Torgue <alexandre.torgue-AT-foss.st.com>, Conor Dooley <conor+dt-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Maxime Coquelin <mcoquelin.stm32-AT-gmail.com>, Michael Turquette <mturquette-AT-baylibre.com>, Philipp Zabel <p.zabel-AT-pengutronix.de>, Rob Herring <robh-AT-kernel.org>, Stephen Boyd <sboyd-AT-kernel.org>, devicetree-AT-vger.kernel.org, linux-arm-kernel-AT-lists.infradead.org, linux-clk-AT-vger.kernel.org, linux-stm32-AT-st-md-mailman.stormreply.com
Archive-link:  Article

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

-- 
2.43.0




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds