• Wolfram Sang's avatar
    i2c: sh_mobile: add DMA support · 2d09581b
    Wolfram Sang authored
    Make it possible to transfer i2c message buffers via DMA.
    Start/Stop/Sending_Slave_Address is still handled using the old state
    machine, it is sending the actual data that is done via DMA. This is
    least intrusive and allows us to work with the message buffers directly
    instead of preparing a custom buffer which involves copying the data
    around.
    Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
    [wsa: fixed an uninitialized var problem]
    Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
    2d09581b
i2c-sh_mobile.txt 1.35 KB