All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] clk: meson: g12a: Add CPU Clock support
@ 2019-03-04 13:11 ` Neil Armstrong
  0 siblings, 0 replies; 31+ messages in thread
From: Neil Armstrong @ 2019-03-04 13:11 UTC (permalink / raw)
  To: jbrunet
  Cc: linux-amlogic, linux-kernel, linux-clk, linux-arm-kernel,
	Neil Armstrong

This patchset adds support for the clock tree feeding the 4xCortex A53
cpu cluster.

This patchet does not handle clock changing, this will be added in a
secondary patchset.

The CPU clock can either use the SYS_PLL for > 1GHz frequencies or
use a couple of div+mux from 1GHz/667MHz/24MHz source with 2 non-glitch
muxes.

The CPU clock must be switched to a safe clock while changing the clocks
before the non-glitch muxes. Proper support will be added later.

In this patchset, clocks are set read-only.

Changes since v1:
- moved to clk_regmap_gate_ro_ops for R/O gates
- added comments with datasheet field names
- moved pribate bindings changes to driver patch
- removed invalid PCIE IDs

Neil Armstrong (2):
  clk: meson-g12a: add cpu clock bindings
  clk: meson: g12a: add cpu clocks

 drivers/clk/meson/g12a.c              | 350 ++++++++++++++++++++++++++
 drivers/clk/meson/g12a.h              |  22 +-
 include/dt-bindings/clock/g12a-clkc.h |   1 +
 3 files changed, 372 insertions(+), 1 deletion(-)

-- 
2.20.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

end of thread, other threads:[~2019-03-19 20:23 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-04 13:11 [PATCH v2 0/2] clk: meson: g12a: Add CPU Clock support Neil Armstrong
2019-03-04 13:11 ` Neil Armstrong
2019-03-04 13:11 ` Neil Armstrong
2019-03-04 13:11 ` [PATCH v2 1/2] clk: meson-g12a: add cpu clock bindings Neil Armstrong
2019-03-04 13:11   ` Neil Armstrong
2019-03-04 13:11   ` Neil Armstrong
2019-03-05 21:03   ` Martin Blumenstingl
2019-03-05 21:03     ` Martin Blumenstingl
2019-03-05 21:03     ` Martin Blumenstingl
2019-03-12 18:31   ` Rob Herring
2019-03-12 18:31     ` Rob Herring
2019-03-12 18:31     ` Rob Herring
2019-03-12 18:31     ` Rob Herring
2019-03-04 13:11 ` [PATCH v2 2/2] clk: meson: g12a: add cpu clocks Neil Armstrong
2019-03-04 13:11   ` Neil Armstrong
2019-03-04 13:11   ` Neil Armstrong
2019-03-05 21:10   ` Martin Blumenstingl
2019-03-05 21:10     ` Martin Blumenstingl
2019-03-05 21:10     ` Martin Blumenstingl
2019-03-07 12:24     ` Neil Armstrong
2019-03-07 12:24       ` Neil Armstrong
2019-03-07 12:24       ` Neil Armstrong
2019-03-19  9:38   ` Jerome Brunet
2019-03-19  9:38     ` Jerome Brunet
2019-03-19  9:38     ` Jerome Brunet
2019-03-19  9:39 ` [PATCH v2 0/2] clk: meson: g12a: Add CPU Clock support Jerome Brunet
2019-03-19  9:39   ` Jerome Brunet
2019-03-19  9:39   ` Jerome Brunet
2019-03-19 20:23   ` Neil Armstrong
2019-03-19 20:23     ` Neil Armstrong
2019-03-19 20:23     ` Neil Armstrong

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.