linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dario Binacchi <dariobin@libero.it>
To: linux-clk@vger.kernel.org
Cc: "Rob Herring" <robh@kernel.org>,
	"Tony Lindgren" <tony@atomide.com>,
	"Michael Turquette" <mturquette@baylibre.com>,
	"Dario Binacchi" <dariobin@libero.it>,
	linux-omap@vger.kernel.org, "Lee Jones" <lee.jones@linaro.org>,
	"Stephen Boyd" <sboyd@kernel.org>,
	"Benoît Cousson" <bcousson@baylibre.com>,
	"Tero Kristo" <kristo@kernel.org>,
	linux-kernel@vger.kernel.org, "Rob Herring" <robh+dt@kernel.org>,
	devicetree@vger.kernel.org
Subject: [RESEND PATCH v7 0/5] clk: ti: add am33xx spread spectrum clock support
Date: Sun,  6 Jun 2021 22:22:48 +0200	[thread overview]
Message-ID: <20210606202253.31649-1-dariobin@libero.it> (raw)


As reported by the TI spruh73x/spruhl7x RM, MPU and LCD modules support
spread spectrum clocking (SSC) on their output clocks. SSC is used to
spread the spectral peaking of the clock to reduce any electromagnetic
interference (EMI) that may be caused due to the clock’s fundamental
or any of its harmonics.
The series allows you to enable and adjust the spread spectrum clocking
for all am33xx/am43xx PLLs for which it is supported.

As suggested by Tony Lindgren I resend the whole series to the clk tree.
For Tony the series is ok.

Changes in v7:
- Add Tony Lindgren acked tag.

Changes in v6:
- Add Tero Kristo review tag.

Changes in v5:
- Remove ssc_ack_mask field from dpll_data structure. It was not used.
- Change ssc_downspread type from u8 to bool in dpll_data structure.

Changes in v4:
- Add Stephen Boyd review tag.
- Add Rob Herring review tag.
- Add SSC registers for CORE, DDR and PER PLLs.
- Update commit message.
- Update commit message.

Changes in v3:
- Add '-hz' suffix to "ti,ssc-modfreq" binding.
- Add Tony Lindgren acked tag.
- Use "ti,ssc-modfreq-hz" binding instead of "ti,ssc-modfreq".

Changes in v2:
- Remove SSC registers from dpll_core_ck@490 node (SSC is not supported)
- Add SSC registers to dpll_mpu_ck@488 node.
- Move the DT changes to the previous patch in the series.

Dario Binacchi (5):
  clk: ti: fix typo in routine description
  dt-bindings: ti: dpll: add spread spectrum support
  ARM: dts: am33xx-clocks: add spread spectrum support
  ARM: dts: am43xx-clocks: add spread spectrum support
  clk: ti: add am33xx/am43xx spread spectrum clock support

 .../devicetree/bindings/clock/ti/dpll.txt     | 20 +++++
 arch/arm/boot/dts/am33xx-clocks.dtsi          | 10 +--
 arch/arm/boot/dts/am43xx-clocks.dtsi          | 12 +--
 drivers/clk/ti/dpll.c                         | 39 +++++++++
 drivers/clk/ti/dpll3xxx.c                     | 87 ++++++++++++++++++-
 include/linux/clk/ti.h                        | 22 +++++
 6 files changed, 178 insertions(+), 12 deletions(-)

-- 
2.17.1


             reply	other threads:[~2021-06-06 20:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-06 20:22 Dario Binacchi [this message]
2021-06-06 20:22 ` [RESEND PATCH v7 1/5] clk: ti: fix typo in routine description Dario Binacchi
2021-06-09  0:52   ` Stephen Boyd
2021-06-06 20:22 ` [RESEND PATCH v7 2/5] dt-bindings: ti: dpll: add spread spectrum support Dario Binacchi
2021-06-09  0:52   ` Stephen Boyd
2021-06-06 20:22 ` [RESEND PATCH v7 3/5] ARM: dts: am33xx-clocks: " Dario Binacchi
2021-06-09  0:52   ` Stephen Boyd
2021-06-06 20:22 ` [RESEND PATCH v7 4/5] ARM: dts: am43xx-clocks: " Dario Binacchi
2021-06-09  0:52   ` Stephen Boyd
2021-06-06 20:22 ` [RESEND PATCH v7 5/5] clk: ti: add am33xx/am43xx spread spectrum clock support Dario Binacchi
2021-06-09  0:52   ` Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210606202253.31649-1-dariobin@libero.it \
    --to=dariobin@libero.it \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kristo@kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).