Skip to content

Add AXS10X I2S PLL clock driver

Jose Abreu linux-clk linux-devicetree linux-snps-arc lkml 6 versions – Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 9 repliesApplied
  2. v52 patches 1 replySuperseded
  3. v41 patch 16 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v31 patch4 repliesSuperseded
v21 patch0 repliesSuperseded
v11 patch0 repliesSuperseded

Changes in v6 from the cover letter

* Use parent clock to determine PLL input rate instead of using hardcoded values
* Documentation update (added 'clocks' field)
* Device tree update (added 'clocks' field)

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/2clk/axs10x: Add I2S PLL clock driverDocumentation/devicetree/bindings/clock/axs10x-i2s-pll-clock.txt drivers/clk/Makefile drivers/clk/axs10x/Makefile +1 more+255 -04 replies
2/2arc: axs10x: Add DT bindings for I2S PLL Clockarch/arc/boot/dts/axs10x_mb.dtsi+13 -05 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlexey BrodkinVineet GuptaRob Herring
SeriesA-b A-b
1/2A-b
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH 0/2 v6] Add AXS10X I2S PLL clock driver

The ARC SDP I2S clock can be programmed using a
specific PLL.

This patch series has the goal of adding a clock driver that programs this PLL.

----

Changes v5 -> v6:
* Use parent clock to determine PLL input rate instead of using hardcoded values
* Documentation update (added 'clocks' field)
* Device tree update (added 'clocks' field)

Changes v4 -> v5:
* Documentation update (as suggested by Alexey Brodkin)
* Changed compatible string to "snps,axs10x-i2s-pll-clock" (as suggested by Alexey Brodkin)
* Added DT bindings

Changes v3 -> v4:
* Added binding document (as suggested by Stephen Boyd)
* Minor code style fixes (as suggested by Stephen Boyd)
* Use ioremap (as suggested by Stephen Boyd)
* Implement round_rate (as suggested by Stephen Boyd)
* Change to platform driver (as suggested by Stephen Boyd)
* Use {readl/writel}_relaxed (as suggested by Vineet Gupta)

Changes v2 -> v3:
* Implemented recalc_rate

Changes v1 -> v2:
* Renamed folder to axs10x (as suggested by Alexey Brodkin)
* Added more supported rates

Jose Abreu (2):
clk/axs10x: Add I2S PLL clock driver
arc: axs10x: Add DT bindings for I2S PLL Clock

 .../bindings/clock/axs10x-i2s-pll-clock.txt        |  25 +++
 arch/arc/boot/dts/axs10x_mb.dtsi                   |  13 ++
 drivers/clk/Makefile                               |   1 +
 drivers/clk/axs10x/Makefile                        |   1 +
 drivers/clk/axs10x/i2s_pll_clock.c                 | 228 +++++++++++++++++++++
 5 files changed, 268 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/axs10x-i2s-pll-clock.txt
 create mode 100644 drivers/clk/axs10x/Makefile
 create mode 100644 drivers/clk/axs10x/i2s_pll_clock.c
Signature · 1 line
1.9.1