]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: meson: add g12a cpu dynamic divider driver
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 31 Jul 2019 08:40:17 +0000 (10:40 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Fri, 9 Aug 2019 10:10:03 +0000 (12:10 +0200)
commit26d34431add04a98a60b8935c25765914fa773f7
treee38143104bf5f1d1521b82eee12d321244cb49cd
parent3567894b6914813299300019e028874927210880
clk: meson: add g12a cpu dynamic divider driver

Add a clock driver for the cpu dynamic divider, this divider needs
to have a flag set before setting the divider value then removed
while writing the new value to the register.

This drivers implements this behavior and will be used essentially
on the Amlogic G12A and G12B SoCs for cpu clock trees.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/Kconfig
drivers/clk/meson/Makefile
drivers/clk/meson/clk-cpu-dyndiv.c [new file with mode: 0644]
drivers/clk/meson/clk-cpu-dyndiv.h [new file with mode: 0644]