Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
e695e7a4
Commit
e695e7a4
authored
Sep 11, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/kirkwood' into asoc-linus
parents
c34c0d76
d098b2f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
Documentation/devicetree/bindings/sound/mvebu-audio.txt
Documentation/devicetree/bindings/sound/mvebu-audio.txt
+8
-4
sound/soc/kirkwood/kirkwood-i2s.c
sound/soc/kirkwood/kirkwood-i2s.c
+2
-1
No files found.
Documentation/devicetree/bindings/sound/mvebu-audio.txt
View file @
e695e7a4
...
@@ -2,13 +2,17 @@
...
@@ -2,13 +2,17 @@
Required properties:
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
- reg: physical base address of the controller and length of memory mapped
region.
region.
- interrupts: list of two irq numbers.
- interrupts:
The first irq is used for data flow and the second one is used for errors.
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.
- clocks: one or two phandles.
The first one is mandatory and defines the internal clock.
The first one is mandatory and defines the internal clock.
...
@@ -21,7 +25,7 @@ Required properties:
...
@@ -21,7 +25,7 @@ Required properties:
Example:
Example:
i2s1: audio-controller@b4000 {
i2s1: audio-controller@b4000 {
compatible = "marvell,
mvebu
-audio";
compatible = "marvell,
dove
-audio";
reg = <0xb4000 0x2210>;
reg = <0xb4000 0x2210>;
interrupts = <21>, <22>;
interrupts = <21>, <22>;
clocks = <&gate_clk 13>;
clocks = <&gate_clk 13>;
...
...
sound/soc/kirkwood/kirkwood-i2s.c
View file @
e695e7a4
...
@@ -559,7 +559,8 @@ static int kirkwood_i2s_dev_remove(struct platform_device *pdev)
...
@@ -559,7 +559,8 @@ static int kirkwood_i2s_dev_remove(struct platform_device *pdev)
#ifdef CONFIG_OF
#ifdef CONFIG_OF
static
struct
of_device_id
mvebu_audio_of_match
[]
=
{
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
);
MODULE_DEVICE_TABLE
(
of
,
mvebu_audio_of_match
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment