OSDN Git Service

clk: meson: g12a: add cpu clocks
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 4 Mar 2019 13:11:29 +0000 (14:11 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 1 Apr 2019 08:45:11 +0000 (10:45 +0200)
commit370294e2667fa1648eb05aab6c4657419634ff83
tree3311a34764422bfdca967965cc927260e9b85d57
parent77a725ff7a640ab24ff9cf9450e6eae072c49f16
clk: meson: g12a: add cpu clocks

Add the Amlogic G12A Family CPU Clock tree in read/only for now.

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.

Proper DVFS support will come in a second time.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Jerome Brunet <jbrunet@baylibre.com>
[narmstrong: fixed cpu clocks namings]
Link: https://lkml.kernel.org/r/20190304131129.7762-3-narmstrong@baylibre.com
drivers/clk/meson/g12a.c
drivers/clk/meson/g12a.h