• Leo Yan's avatar
    mailbox: Hi6220: add mailbox driver · 9c384189
    Leo Yan authored
    Add driver for Hi6220 mailbox, the mailbox communicates with MCU; for
    sending data, it can support two methods for low level implementation:
    one is to use interrupt as acknowledge, another is automatic mode which
    without any acknowledge. These two methods have been supported in the
    driver. For receiving data, it will depend on the interrupt to notify
    the channel has incoming message.
    
    Now mailbox driver is used to send message to MCU to control dynamic
    voltage and frequency scaling for CPU, GPU and DDR.
    Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
    Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
    9c384189
hi6220-mailbox.c 9.66 KB