All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/7] clk: meson-axg: Add AO Cloclk and Reset driver
@ 2018-04-09 14:37 ` Yixun Lan
  0 siblings, 0 replies; 61+ messages in thread
From: Yixun Lan @ 2018-04-09 14:37 UTC (permalink / raw)
  To: Neil Armstrong, Jerome Brunet, Kevin Hilman, Carlo Caione
  Cc: Yixun Lan, Rob Herring, Michael Turquette, Stephen Boyd,
	Philipp Zabel, Qiufang Dai, linux-amlogic, linux-clk,
	linux-arm-kernel, linux-kernel, devicetree

  This patch try to add AO clock and Reset driver for Amlogic's
Meson-AXG SoC.
  Please note that patch 7 need to wait for the DTS changes[3] merged
into mainline first, otherwise it will break the serial console.

 patch 2: factor the common code into a dedicated file
 patch 3-5: add the aoclk driver for AXG SoC
 patch 6-7: drop unnecessary clock flags

changes since v4 at [5]: 
 - fix return err
 - introduce CONFIG_COMMON_CLK_MESON_AO
 - format/style minor fix

changes since v3 at [4]: 
 - add 'const' contraint to the read-only data
 - switch to devm_of_clk_add_hw_provider API
 - check return value of devm_reset_controller_register

changes since v2 at [2]: 
 - rework meson_aoclkc_probe() which leverage the of_match_data
 - merge patch 5-6 into this series
 - seperate DTS patch, will send to Kevin Hilman independently
 
changes since v1 at [0]: 
 - rebase to clk-meson's branch 'next/drivers' [1]
 - fix license, update to BSD-3-Clause
 - drop un-used include header file

[0] https://lkml.kernel.org/r/20180209070026.193879-1-yixun.lan@amlogic.com
[1] git://github.com/BayLibre/clk-meson.git branch: next-drivers
[2] https://lkml.kernel.org/r/20180323143816.200573-1-yixun.lan@amlogic.com
[3] https://lkml.kernel.org/r/20180326081809.49493-4-yixun.lan@amlogic.com
[4] https://lkml.kernel.org/r/20180328025050.221585-1-yixun.lan@amlogic.com
[5] https://lkml.kernel.org/r/20180408031938.153474-1-yixun.lan@amlogic.com

Qiufang Dai (1):
  clk: meson-axg: Add AO Clock and Reset controller driver

Yixun Lan (6):
  clk: meson: migrate to devm_of_clk_add_hw_provider API
  clk: meson: aoclk: refactor common code into dedicated file
  dt-bindings: clock: axg-aoclkc: New binding for Meson-AXG SoC
  dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings
  clk: meson: drop CLK_SET_RATE_PARENT flag
  clk: meson: drop CLK_IGNORE_UNUSED flag

 .../bindings/clock/amlogic,gxbb-aoclkc.txt         |   1 +
 drivers/clk/meson/Kconfig                          |   8 +
 drivers/clk/meson/Makefile                         |   3 +-
 drivers/clk/meson/axg-aoclk.c                      | 163 +++++++++++++++++++++
 drivers/clk/meson/axg-aoclk.h                      |  31 ++++
 drivers/clk/meson/gxbb-aoclk.c                     |  92 ++++--------
 drivers/clk/meson/gxbb-aoclk.h                     |   7 +
 drivers/clk/meson/meson-aoclk.c                    |  82 +++++++++++
 drivers/clk/meson/meson-aoclk.h                    |  35 +++++
 include/dt-bindings/clock/axg-aoclkc.h             |  26 ++++
 include/dt-bindings/reset/axg-aoclkc.h             |  20 +++
 11 files changed, 406 insertions(+), 62 deletions(-)
 create mode 100644 drivers/clk/meson/axg-aoclk.c
 create mode 100644 drivers/clk/meson/axg-aoclk.h
 create mode 100644 drivers/clk/meson/meson-aoclk.c
 create mode 100644 drivers/clk/meson/meson-aoclk.h
 create mode 100644 include/dt-bindings/clock/axg-aoclkc.h
 create mode 100644 include/dt-bindings/reset/axg-aoclkc.h

-- 
2.15.1

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

end of thread, other threads:[~2018-04-17 14:15 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-09 14:37 [PATCH v5 0/7] clk: meson-axg: Add AO Cloclk and Reset driver Yixun Lan
2018-04-09 14:37 ` Yixun Lan
2018-04-09 14:37 ` Yixun Lan
2018-04-09 14:37 ` Yixun Lan
2018-04-09 14:37 ` [PATCH v5 1/7] clk: meson: migrate to devm_of_clk_add_hw_provider API Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-09 14:37 ` [PATCH v5 2/7] clk: meson: aoclk: refactor common code into dedicated file Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-16 10:38   ` Jerome Brunet
2018-04-16 10:38     ` Jerome Brunet
2018-04-16 10:38     ` Jerome Brunet
2018-04-16 10:38     ` Jerome Brunet
2018-04-17  8:16     ` Yixun Lan
2018-04-17  8:16       ` Yixun Lan
2018-04-17  8:16       ` Yixun Lan
2018-04-17 14:15       ` Jerome Brunet
2018-04-17 14:15         ` Jerome Brunet
2018-04-17 14:15         ` Jerome Brunet
2018-04-17 14:15         ` Jerome Brunet
2018-04-16 11:34   ` Jerome Brunet
2018-04-16 11:34     ` Jerome Brunet
2018-04-16 11:34     ` Jerome Brunet
2018-04-16 11:34     ` Jerome Brunet
2018-04-17  8:17     ` Yixun Lan
2018-04-17  8:17       ` Yixun Lan
2018-04-17  8:17       ` Yixun Lan
2018-04-09 14:37 ` [PATCH v5 3/7] dt-bindings: clock: axg-aoclkc: New binding for Meson-AXG SoC Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-09 14:37 ` [PATCH v5 4/7] dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-16  9:59   ` Jerome Brunet
2018-04-16  9:59     ` Jerome Brunet
2018-04-16  9:59     ` Jerome Brunet
2018-04-16  9:59     ` Jerome Brunet
2018-04-16 10:09     ` Philipp Zabel
2018-04-16 10:09       ` Philipp Zabel
2018-04-16 10:09       ` Philipp Zabel
2018-04-16 10:09       ` Philipp Zabel
2018-04-16 10:09       ` Philipp Zabel
2018-04-09 14:37 ` [PATCH v5 5/7] clk: meson-axg: Add AO Clock and Reset controller driver Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-16 11:45   ` Jerome Brunet
2018-04-16 11:45     ` Jerome Brunet
2018-04-16 11:45     ` Jerome Brunet
2018-04-16 11:45     ` Jerome Brunet
2018-04-17  8:18     ` Yixun Lan
2018-04-17  8:18       ` Yixun Lan
2018-04-17  8:18       ` Yixun Lan
2018-04-09 14:37 ` [PATCH v5 6/7] clk: meson: drop CLK_SET_RATE_PARENT flag Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-09 14:37 ` [PATCH v5 7/7] clk: meson: drop CLK_IGNORE_UNUSED flag Yixun Lan
2018-04-09 14:37   ` Yixun Lan
2018-04-09 14:37   ` Yixun Lan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.