• Neil Armstrong's avatar
    clk: meson: g12a: add support for SM1 CPU 1, 2 & 3 clocks · da3ceae4
    Neil Armstrong authored
    The Amlogic SM1 can set a dedicated clock frequency for each CPU core by
    having a dedicate tree for each core similar to the CPU0 tree.
    Like the DSU tree, a supplementaty mux has been added to use the CPU0
    frequency instead.
    
    But since the cluster only has a single power rail and shares a single PLL,
    it's not worth adding 3 unsused clock tree, so we add only the mux to
    select the CPU0 clock frequency for each CPU1, CPU2 and CPU3 cores.
    
    They are set read-only because the early boot stages sets them to select
    the CPU0 input clock.
    Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
    Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
    da3ceae4
g12a.h 8.46 KB