• Max Filippov's avatar
    dma: add driver for R-Car HPB-DMAC · c4f6c41b
    Max Filippov authored
    Add support for HPB-DMAC found in Renesas R-Car SoCs, using 'shdma-base' DMA
    driver framework.
    
    Based on the original patch by Phil Edworthy <phil.edworthy@renesas.com>.
    Signed-off-by: default avatarMax Filippov <max.filippov@cogentembedded.com>
    [Sergei: removed useless #include, sorted #include's, fixed HPB_DMA_TCR_MAX,
    fixed formats and removed line breaks in the dev_dbg() calls, rephrased and
    added IRQ # to the shdma_request_irq() failure message, added MODULE_AUTHOR(),
    removed '__init'/'__exit' annotations from the probe()/remove() methods, removed
    '__initdata' annotation from 'hpb_dmae_driver', fixed guard macro name in the
    header file, fixed #define ASYNCRSTR_ASRST20, added #define ASYNCRSTR_ASRST24,
    added the necessary runtime PM calls to the probe() and remove() methods,
    handled errors returned by dma_async_device_register(), beautified comments
    and #define's.]
    Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
    Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
    c4f6c41b
rcar-hpbdma.c 17 KB