Skip to content

Commit

Permalink
Merge remote-tracking branch 'asoc/fix/kirkwood' into asoc-linus
Browse files Browse the repository at this point in the history
  • Loading branch information
broonie committed Sep 11, 2013
2 parents c34c0d7 + d098b2f commit e695e7a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
12 changes: 8 additions & 4 deletions Documentation/devicetree/bindings/sound/mvebu-audio.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@

Required properties:

- compatible: "marvell,mvebu-audio"
- compatible:
"marvell,kirkwood-audio" for Kirkwood platforms
"marvell,dove-audio" for Dove platforms

- 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.
- interrupts:
with "marvell,kirkwood-audio", the audio interrupt
with "marvell,dove-audio", a list of two interrupts, the first for
the data flow, and the second for errors.

- clocks: one or two phandles.
The first one is mandatory and defines the internal clock.
Expand All @@ -21,7 +25,7 @@ Required properties:
Example:

i2s1: audio-controller@b4000 {
compatible = "marvell,mvebu-audio";
compatible = "marvell,dove-audio";
reg = <0xb4000 0x2210>;
interrupts = <21>, <22>;
clocks = <&gate_clk 13>;
Expand Down
3 changes: 2 additions & 1 deletion sound/soc/kirkwood/kirkwood-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,8 @@ static int kirkwood_i2s_dev_remove(struct platform_device *pdev)

#ifdef CONFIG_OF
static struct of_device_id mvebu_audio_of_match[] = {
{ .compatible = "marvell,mvebu-audio" },
{ .compatible = "marvell,kirkwood-audio" },
{ .compatible = "marvell,dove-audio" },
{ }
};
MODULE_DEVICE_TABLE(of, mvebu_audio_of_match);
Expand Down

0 comments on commit e695e7a

Please sign in to comment.