Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- / {
- sound {
- compatible = "simple-audio-card";
- simple-audio-card,name = "DSP";
- // "off-codec widgets"
- // simple-audio-card,widgets { };
- // simple-audio-card,routing { };
- // if mclk-fs is set then:
- // - cpu is sysclk master
- // - sysclk is dynamically configured to mclk-fs * fs
- // so this is almost never what you want!
- // simple-audio-card,mclk-fs = <..>;
- simple-audio-card,dai-link@0 {
- format = "i2s";
- frame-master = <&audio_master>;
- bitclock-master = <&audio_master>;
- #if AUDIO_MASTER
- audio_master: cpu {
- sound-dai = <&mcasp0>;
- clocks = <&audio_osc_ck>;
- };
- codec {
- sound-dai = <&codec>;
- };
- #else
- cpu {
- sound-dai = <&mcasp0>;
- };
- audio_master: codec {
- sound-dai = <&codec>;
- clocks = <&audio_osc_ck>;
- };
- #endif
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement