linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] clk: meson: add a sub EMMC clock controller support
@ 2018-07-12 21:12 Yixun Lan
  2018-07-12 21:12 ` [PATCH v3 1/2] clk: meson: add DT documentation for emmc clock controller Yixun Lan
  2018-07-12 21:12 ` [PATCH v3 2/2] clk: meson: add sub MMC clock controller driver Yixun Lan
  0 siblings, 2 replies; 12+ messages in thread
From: Yixun Lan @ 2018-07-12 21:12 UTC (permalink / raw)
  To: Jerome Brunet, Neil Armstrong
  Cc: Yixun Lan, Kevin Hilman, Carlo Caione, Michael Turquette,
	Stephen Boyd, Rob Herring, Miquel Raynal, Boris Brezillon,
	Martin Blumenstingl, Liang Yang, Qiufang Dai, Jian Hu, linux-clk,
	linux-amlogic, linux-arm-kernel, linux-kernel, devicetree

This driver will add a MMC clock controller driver support.
The original idea about adding a clock controller is during the
discussion in the NAND driver mainline effort[1].

I've tested this in the S400 board (AXG platform) by using NAND driver.

Changes since v2 [3]:
 - squash dt-binding clock-id patch
 - update license
 - fix alignment
 - construct a clk register helper() function

Changes since v1 [2]:
 - implement phase clock
 - update compatible name
 - adjust file name
 - divider probe() into small functions, and re-use them

[1] https://lkml.kernel.org/r/20180628090034.0637a062@xps13
[2] https://lkml.kernel.org/r/20180703145716.31860-1-yixun.lan@amlogic.com
[3] https://lkml.kernel.org/r/20180710163658.6175-1-yixun.lan@amlogic.com


Yixun Lan (2):
  clk: meson: add DT documentation for emmc clock controller
  clk: meson: add sub MMC clock controller driver

 .../bindings/clock/amlogic,mmc-clkc.txt       |  31 ++
 drivers/clk/meson/Kconfig                     |   9 +
 drivers/clk/meson/Makefile                    |   1 +
 drivers/clk/meson/mmc-clkc.c                  | 367 ++++++++++++++++++
 .../clock/amlogic,meson-mmc-clkc.h            |  16 +
 5 files changed, 424 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/amlogic,mmc-clkc.txt
 create mode 100644 drivers/clk/meson/mmc-clkc.c
 create mode 100644 include/dt-bindings/clock/amlogic,meson-mmc-clkc.h

-- 
2.18.0


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

end of thread, other threads:[~2018-08-09  2:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-12 21:12 [PATCH v3 0/2] clk: meson: add a sub EMMC clock controller support Yixun Lan
2018-07-12 21:12 ` [PATCH v3 1/2] clk: meson: add DT documentation for emmc clock controller Yixun Lan
2018-07-24 23:29   ` Rob Herring
2018-07-27 14:14     ` Yixun Lan
2018-07-30 17:23       ` Rob Herring
2018-07-12 21:12 ` [PATCH v3 2/2] clk: meson: add sub MMC clock controller driver Yixun Lan
2018-07-26 15:20   ` Stephen Boyd
2018-07-27 14:52     ` Yixun Lan
2018-07-27 16:41       ` Stephen Boyd
2018-07-27 16:45         ` Stephen Boyd
2018-07-30  8:57           ` Jerome Brunet
2018-08-09  2:39             ` Yixun Lan

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).