18c2ecf20Sopenharmony_ci================================================
28c2ecf20Sopenharmony_ciImagination Technologies SPDIF Input Controllers
38c2ecf20Sopenharmony_ci================================================
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciThe Imagination Technologies SPDIF Input controller contains the following
68c2ecf20Sopenharmony_cicontrols:
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci* name='IEC958 Capture Mask',index=0
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciThis control returns a mask that shows which of the IEC958 status bits
118c2ecf20Sopenharmony_cican be read using the 'IEC958 Capture Default' control.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci* name='IEC958 Capture Default',index=0
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciThis control returns the status bits contained within the SPDIF stream that
168c2ecf20Sopenharmony_ciis being received. The 'IEC958 Capture Mask' shows which bits can be read
178c2ecf20Sopenharmony_cifrom this control.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci* name='SPDIF In Multi Frequency Acquire',index=0
208c2ecf20Sopenharmony_ci* name='SPDIF In Multi Frequency Acquire',index=1
218c2ecf20Sopenharmony_ci* name='SPDIF In Multi Frequency Acquire',index=2
228c2ecf20Sopenharmony_ci* name='SPDIF In Multi Frequency Acquire',index=3
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciThis control is used to attempt acquisition of up to four different sample
258c2ecf20Sopenharmony_cirates. The active rate can be obtained by reading the 'SPDIF In Lock Frequency'
268c2ecf20Sopenharmony_cicontrol.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciWhen the value of this control is set to {0,0,0,0}, the rate given to hw_params
298c2ecf20Sopenharmony_ciwill determine the single rate the block will capture. Else, the rate given to
308c2ecf20Sopenharmony_cihw_params will be ignored, and the block will attempt capture for each of the
318c2ecf20Sopenharmony_cifour sample rates set here.
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciIf less than four rates are required, the same rate can be specified more than
348c2ecf20Sopenharmony_cionce
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci* name='SPDIF In Lock Frequency',index=0
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciThis control returns the active capture rate, or 0 if a lock has not been
398c2ecf20Sopenharmony_ciacquired
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci* name='SPDIF In Lock TRK',index=0
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ciThis control is used to modify the locking/jitter rejection characteristics
448c2ecf20Sopenharmony_ciof the block. Larger values increase the locking range, but reduce jitter
458c2ecf20Sopenharmony_cirejection.
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci* name='SPDIF In Lock Acquire Threshold',index=0
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciThis control is used to change the threshold at which a lock is acquired.
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci* name='SPDIF In Lock Release Threshold',index=0
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ciThis control is used to change the threshold at which a lock is released.
54