mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 13:44:15 +08:00
3cd2c313f1
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>
29 lines
765 B
Plaintext
29 lines
765 B
Plaintext
* Marvell XOR v2 engines
|
|
|
|
Required properties:
|
|
- compatible: one of the following values:
|
|
"marvell,armada-7k-xor"
|
|
"marvell,xor-v2"
|
|
- reg: Should contain registers location and length (two sets)
|
|
the first set is the DMA registers
|
|
the second set is the global registers
|
|
- msi-parent: Phandle to the MSI-capable interrupt controller used for
|
|
interrupts.
|
|
|
|
Optional properties:
|
|
- clocks: Optional reference to the clocks used by the XOR engine.
|
|
- clock-names: mandatory if there is a second clock, in this case the
|
|
name must be "core" for the first clock and "reg" for the second
|
|
one
|
|
|
|
|
|
Example:
|
|
|
|
xor0@400000 {
|
|
compatible = "marvell,xor-v2";
|
|
reg = <0x400000 0x1000>,
|
|
<0x410000 0x1000>;
|
|
msi-parent = <&gic_v2m0>;
|
|
dma-coherent;
|
|
};
|