dmaengine: sun6i: Correct setting of clock autogating register for A83T/H3
authorStefan Brüns <[email protected]>
Thu, 28 Sep 2017 01:49:18 +0000 (03:49 +0200)
committerVinod Koul <[email protected]>
Mon, 16 Oct 2017 07:01:24 +0000 (12:31 +0530)
commit50b12497547b5bff49bf90d54c2ca6a77c0bbe02
treea8f183e7f44326ac244d296c3543e3d914201d36
parent8f3b00347bf075fb457f90ce76573615f567e7bc
dmaengine: sun6i: Correct setting of clock autogating register for A83T/H3

The H83T uses a compatible string different from the A23, but requires
the same clock autogating register setting.

The H3 also requires setting the clock autogating register, but has
the register at a different offset.

Add three suitable callbacks for the existing controller generations
and set it in the controller config structure.

Signed-off-by: Stefan Brüns <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
drivers/dma/sun6i-dma.c