mirror of https://gitee.com/openkylin/linux.git
Merge remote-tracking branch 'asoc/fix/kirkwood' into asoc-linus
This commit is contained in:
commit
e695e7a47d
|
@ -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.
|
||||
|
@ -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>;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue