• Leo Yan's avatar
    clk: Hi6220: add stub clock driver · c1628a2c
    Leo Yan authored
    On Hi6220, there have some clocks which can use mailbox channel to send
    messages to power controller to change frequency; this includes CPU, GPU
    and DDR clocks.
    
    For dynamic frequency scaling, firstly need write the frequency value to
    SRAM region, and then send message to mailbox to trigger power controller
    to handle this requirement. This driver will use syscon APIs to pass SRAM
    memory region and use common mailbox APIs for channels accessing.
    
    This init driver will support cpu frequency change firstly.
    Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
    Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
    c1628a2c
clk-hi6220-stub.c 6.46 KB