Skip to content

MIPS: TXx9: Common Clock Framework Conversion

Geert Uytterhoeven linux-clk linux-mips linux-watchdog 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v13 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Dropped "spi: spi-txx9: Add missing clock (un)prepare calls for CCF", which has been accepted in spi/for-next,
- Protect the TX4938_REV_PCODE() check by #ifdef CONFIG_CPU_TX49XX,
- Use new clk_hw-centric clock registration API,
- Add Reviewed-by.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2watchdog: txx9wdt: Add missing clock (un)prepare calls for CCFdrivers/watchdog/txx9wdt.c+3 -31 reply
2/2MIPS: TXx9: Convert to Common Clock Frameworkarch/mips/txx9/Kconfig arch/mips/txx9/generic/setup.c+36 -362 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGuenter RoeckStephen BoydAtsushi Nemoto
1/2R-b
2/2R-b R-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 v2 thread

Cover letter [PATCH v2 0/2] MIPS: TXx9: Common Clock Framework Conversion

Hi Ralf, Nemoto-san, Wim,

This patch series converts the Toshiba TXx9 platforms from their own custom minimal clock implementation to the Common Clock Framework.

- Patch 1 adds missing clock (un)prepare calls to the TXx9 watchdog driver,
- Patch 2 replaces the custom clock implementation by a CCF-based one, providing a minimal set of clocks.

This has been tested with the watchdog on RBTX4927.

Changes since v1:
- Dropped "spi: spi-txx9: Add missing clock (un)prepare calls for CCF", which has been accepted in spi/for-next,
- Protect the TX4938_REV_PCODE() check by #ifdef CONFIG_CPU_TX49XX,
- Use new clk_hw-centric clock registration API,
- Add Reviewed-by.

Dependencies:
- Patch 1 can be applied independently,
- Patch 2 depends on patch 1 and on "spi: spi-txx9: Add missing clock (un)prepare calls for CCF" in spi/for-next,
- The error path in patch 2 depends on "clkdev: Detect errors in clk_hw_register_clkdev() for mass registration", but this is less critical.

Wim: Can you please appply patch 1 directly, so we can get at least the hard dependencies in v4.9?

Thanks!

Geert Uytterhoeven (2):
watchdog: txx9wdt: Add missing clock (un)prepare calls for CCF
MIPS: TXx9: Convert to Common Clock Framework

 arch/mips/txx9/Kconfig         |  2 +-
 arch/mips/txx9/generic/setup.c | 70 +++++++++++++++++++++---------------------
 drivers/watchdog/txx9wdt.c     |  6 ++--
 3 files changed, 39 insertions(+), 39 deletions(-)
Signature · 12 lines
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds