-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoc: kirkwood: add DT support to the mvebu audio subsystem
This patch adds DT support to the audio subsystem of the mvebu family (Kirkwood, Dove, Armada 370). Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org>
- Loading branch information
Jean-Francois Moine
authored and
Mark Brown
committed
Aug 22, 2013
1 parent
e4065f3
commit eb63231
Showing
2 changed files
with
49 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
* mvebu (Kirkwood, Dove, Armada 370) audio controller | ||
|
||
Required properties: | ||
|
||
- compatible: "marvell,mvebu-audio" | ||
|
||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
|
||
- interrupts: list of two irq numbers. | ||
The first irq is used for data flow and the second one is used for errors. | ||
|
||
- clocks: one or two phandles. | ||
The first one is mandatory and defines the internal clock. | ||
The second one is optional and defines an external clock. | ||
|
||
- clock-names: names associated to the clocks: | ||
"internal" for the internal clock | ||
"extclk" for the external clock | ||
|
||
Example: | ||
|
||
i2s1: audio-controller@b4000 { | ||
compatible = "marvell,mvebu-audio"; | ||
reg = <0xb4000 0x2210>; | ||
interrupts = <21>, <22>; | ||
clocks = <&gate_clk 13>; | ||
clock-names = "internal"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters