|
|
Subscribe / Log in / New account

clk: meson: g12a: Add CPU Clock support

From:  Neil Armstrong <narmstrong-AT-baylibre.com>
To:  jbrunet-AT-baylibre.com
Subject:  [PATCH 0/2] clk: meson: g12a: Add CPU Clock support
Date:  Fri, 1 Mar 2019 11:21:38 +0100
Message-ID:  <20190301102140.7181-1-narmstrong@baylibre.com>
Cc:  Neil Armstrong <narmstrong-AT-baylibre.com>, linux-clk-AT-vger.kernel.org, linux-amlogic-AT-lists.infradead.org, linux-arm-kernel-AT-lists.infradead.org, linux-kernel-AT-vger.kernel.org
Archive-link:  Article

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.

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

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

-- 
2.20.1



Copyright © 2019, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds