forked from starfive-tech/linux
-
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.
Signed-off-by: Walker Chen <[email protected]>
- Loading branch information
1 parent
70a6a66
commit edd12a5
Showing
13 changed files
with
591 additions
and
325 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,17 @@ | ||
&sound{ | ||
simple-audio-card,dai-link@0 { | ||
reg = <0>; | ||
status = "okay"; | ||
format = "i2s"; | ||
bitclock-master = <&dailink_master>; | ||
frame-master = <&dailink_master>; | ||
|
||
dailink_master:cpu { | ||
sound-dai = <&i2srx_3ch>; | ||
}; | ||
|
||
dailink_slave:codec { | ||
sound-dai = <&pdm>; | ||
}; | ||
}; | ||
}; |
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,34 @@ | ||
&sound{ | ||
simple-audio-card,dai-link@0 { | ||
reg = <0>; | ||
status = "okay"; | ||
format = "dsp_a"; | ||
bitclock-master = <&dailink_master>; | ||
frame-master = <&dailink_master>; | ||
|
||
widgets = | ||
"Microphone", "Mic Jack", | ||
"Line", "Line In", | ||
"Line", "Line Out", | ||
"Speaker", "Speaker", | ||
"Headphone", "Headphone Jack"; | ||
routing = | ||
"Headphone Jack", "HP_L", | ||
"Headphone Jack", "HP_R", | ||
"Speaker", "SPK_LP", | ||
"Speaker", "SPK_LN", | ||
"LINPUT1", "Mic Jack", | ||
"LINPUT3", "Mic Jack", | ||
"RINPUT1", "Mic Jack", | ||
"RINPUT2", "Mic Jack"; | ||
cpu { | ||
sound-dai = <&tdm>; | ||
}; | ||
|
||
dailink_master:codec { | ||
sound-dai = <&wm8960>; | ||
clocks = <&wm8960_mclk>; | ||
clock-names = "mclk"; | ||
}; | ||
}; | ||
}; |
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
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
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
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
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
Oops, something went wrong.