]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: mv_xor_v2: Fix clock resource by adding a register clock
authorGregory CLEMENT <gregory.clement@bootlin.com>
Wed, 7 Mar 2018 15:40:10 +0000 (16:40 +0100)
committerVinod Koul <vinod.koul@intel.com>
Sun, 11 Mar 2018 15:03:27 +0000 (20:33 +0530)
commita5ae4f0f425353c7d09502634ddd7d0a1a2db2dd
tree7b3fe40e8e3c1567412def410f4841d115d374fc
parent7f8e1aa94e068ee6ae1a1d48ae9b25171dd54c76
dmaengine: mv_xor_v2: Fix clock resource by adding a register clock

On the CP110 components which are present on the Armada 7K/8K SoC we need
to explicitly enable the clock for the registers. However it is not
needed for the AP8xx component, that's why this clock is optional.

With this patch both clock have now a name, but in order to be backward
compatible, the name of the first clock is not used. It allows to still
use this clock with a device tree using the old binding.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Documentation/devicetree/bindings/dma/mv-xor-v2.txt
drivers/dma/mv_xor_v2.c