Linux Tegra architecture development
 help / color / mirror / Atom feed
* [PATCH v6 0/4] Multiplex sdmmc low jitter clock path
@ 2018-07-12 11:52 Aapo Vienamo
  2018-07-12 11:52 ` [PATCH v6 1/4] clk: tegra: Fix includes required by fence_udelay() Aapo Vienamo
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Aapo Vienamo @ 2018-07-12 11:52 UTC (permalink / raw)
  To: Peter De Schrijver
  Cc: Prashant Gaikwad, Michael Turquette, Stephen Boyd, Thierry Reding,
	Jonathan Hunter, linux-kernel, linux-clk, linux-tegra,
	Aapo Vienamo

The SDMMC clocks have a Low Jitter (LJ) clock path which bypasses a
divider to achieve better jitter performance with high speed signaling
modes. The clock path with the divider is needed by some of the slower
signaling modes. This series automatically multiplexes the LJ and
non-LJ clock paths based on the requested frequency.

Changelog:
v6:
	- Rename div-frac.c to clk-utils.c
	- Fix checkpatch errors and warnings introduced in v5
	- Replace int mul = 2 with a macro in clk-sdmmc-mux.c
	- Remove unnecessary space from clk_sdmmc_mux_enable() return
	- Free sdmmc_mux if clk_register() fails in
	  tegra_clk_register_sdmmc_mux_div()

v5:
	- Rename div71_get() to div_frac_get()
	- Rename div71.c to div-frac.c

v4:
	- Add a changelog

v3:
	- Use <asm/div64.h> include instead of <linux/kernel.h> for
	  do_div()
	- Use SPDX tags for new files
	- Make mux_lj_idx[] and mux_non_lj_idx[] const
	- Make tegra_clk_sdmmc_mux_ops static
	- Fix the includes for fence_udelay() in a separate patch

v2:
	- Fix the type compatibility error on do_div

Aapo Vienamo (1):
  clk: tegra: Fix includes required by fence_udelay()

Peter De Schrijver (1):
  clk: tegra: Refactor fractional divider calculation

Peter De-Schrijver (2):
  clk: tegra: Add sdmmc mux divider clock
  clk: tegra: make sdmmc2 and sdmmc4 as sdmmc clocks

 drivers/clk/tegra/Makefile           |   2 +
 drivers/clk/tegra/clk-divider.c      |  30 +----
 drivers/clk/tegra/clk-id.h           |   2 -
 drivers/clk/tegra/clk-sdmmc-mux.c    | 251 +++++++++++++++++++++++++++++++++++
 drivers/clk/tegra/clk-tegra-periph.c |  11 --
 drivers/clk/tegra/clk-tegra210.c     |  14 +-
 drivers/clk/tegra/clk-utils.c        |  43 ++++++
 drivers/clk/tegra/clk.h              |  30 +++++
 8 files changed, 343 insertions(+), 40 deletions(-)
 create mode 100644 drivers/clk/tegra/clk-sdmmc-mux.c
 create mode 100644 drivers/clk/tegra/clk-utils.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-07-25 21:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-12 11:52 [PATCH v6 0/4] Multiplex sdmmc low jitter clock path Aapo Vienamo
2018-07-12 11:52 ` [PATCH v6 1/4] clk: tegra: Fix includes required by fence_udelay() Aapo Vienamo
2018-07-25 20:43   ` Stephen Boyd
2018-07-12 11:53 ` [PATCH v6 2/4] clk: tegra: Refactor fractional divider calculation Aapo Vienamo
2018-07-25 20:44   ` Stephen Boyd
2018-07-12 11:53 ` [PATCH v6 3/4] clk: tegra: Add sdmmc mux divider clock Aapo Vienamo
2018-07-12 12:56   ` Jon Hunter
2018-07-25 21:28   ` Stephen Boyd
2018-07-12 11:53 ` [PATCH v6 4/4] clk: tegra: make sdmmc2 and sdmmc4 as sdmmc clocks Aapo Vienamo
2018-07-12 12:59   ` Jon Hunter
2018-07-12 13:11     ` Aapo Vienamo
2018-07-12 13:31       ` Jon Hunter
2018-07-25 21:28   ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox