• Jens Kuske's avatar
    clk: sunxi: Add H3 clocks support · ab6e23a4
    Jens Kuske authored
    The H3 clock control unit is similar to the those of other sun8i family
    members like the A23.
    
    It adds a new bus gates clock similar to the simple gates, but with a
    different parent clock for each single gate.
    Some of the gates use the new AHB2 clock as parent, whose clock source
    is muxable between AHB1 and PLL6/2. The documentation isn't totally clear
    about which devices belong to AHB2 now, especially USB EHIC/OHIC, so it
    is mostly based on Allwinner kernel source code.
    Signed-off-by: default avatarJens Kuske <jenskuske@gmail.com>
    Acked-by: default avatarRob Herring <robh@kernel.org>
    Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
    ab6e23a4
clk-sunxi.c 29.7 KB