1<include/common/vendor-token.conf> 2<include/common/tokens.conf> 3<include/common/manifest.conf> 4<include/common/pcm.conf> 5<include/common/pcm_caps.conf> 6<include/common/fe_dai.conf> 7<include/common/route.conf> 8<include/components/host.conf> 9<include/components/dai.conf> 10<include/components/pipeline.conf> 11<include/components/copier.conf> 12<include/dais/alh.conf> 13<include/dais/hw_config.conf> 14<include/pipelines/cavs/passthrough-playback.conf> 15<include/pipelines/cavs/passthrough-capture.conf> 16 17# 18# List of all DAIs 19# 20#ALH Index: 0, Direction: duplex 21Object.Dai { 22 ALH."2" { 23 id 0 24 direction "playback" 25 name SDW0-Playback 26 default_hw_conf_id 0 27 rate 48000 28 channels 2 29 30 Object.Base.hw_config."ALH2" { 31 id 0 32 } 33 34 # include DAI copier components 35 Object.Widget.copier."0" { 36 index 2 37 dai_index 2 38 type "dai_in" 39 dai_type "ALH" 40 copier_type "ALH" 41 direction "playback" 42 stream_name "SDW0-Playback" 43 period_sink_count 0 44 period_source_count 2 45 format s16le 46 } 47 } 48 ALH."3" { 49 id 1 50 direction "capture" 51 name SDW0-Capture 52 default_hw_conf_id 1 53 rate 48000 54 channels 2 55 56 Object.Base.hw_config."ALH3" { 57 id 1 58 } 59 60 Object.Widget.copier."0" { 61 index 3 62 dai_index 3 63 type "dai_out" 64 dai_type "ALH" 65 copier_type "ALH" 66 direction "capture" 67 stream_name "SDW0-Capture" 68 period_sink_count 2 69 period_source_count 0 70 format s16le 71 } 72 } 73} 74 75# 76# Pipeline definitions 77# 78 79# Pipeline ID:1 PCM ID: 0 80Object.Pipeline { 81 passthrough-playback."2" { 82 format "s16le" 83 84 Object.Widget.pipeline.1.stream_name "copier.ALH.2.0" 85 86 Object.Widget.copier.1.stream_name "Passthrough Playback 0" 87 } 88 89 passthrough-capture."3" { 90 format "s16le" 91 92 Object.Widget.pipeline.1.stream_name "copier.ALH.3.0" 93 94 Object.Widget.copier.1.stream_name "Passthrough Capture 0" 95 } 96} 97 98Object.PCM { 99 pcm."0" { 100 name "Jack out" 101 direction "playback" 102 Object.Base.fe_dai."Jack out" {} 103 104 Object.PCM.pcm_caps."playback" { 105 name "Passthrough Playback 0" 106 formats 'S16_LE' 107 } 108 } 109 pcm."1" { 110 name "Jack in" 111 direction "capture" 112 Object.Base.fe_dai."Jack in" {} 113 114 Object.PCM.pcm_caps."capture" { 115 name "Passthrough Capture 0" 116 formats 'S16_LE' 117 } 118 } 119} 120 121Object.Base { 122 route."0" { 123 source "copier.host.2.1" 124 sink "copier.ALH.2.0" 125 } 126 127 route."1" { 128 source "copier.ALH.3.0" 129 sink "copier.host.3.1" 130 } 131} 132