blob: 7df9f5ae260978383f570cd06cf0f4b7c07b186e [file] [log] [blame]
Takashi Iwaif336c3f2016-11-10 17:36:09 +01001================================================
2Imagination Technologies SPDIF Input Controllers
3================================================
4
Damien.Horsley8f6eec12015-11-04 14:40:55 +00005The Imagination Technologies SPDIF Input controller contains the following
6controls:
7
Takashi Iwaif336c3f2016-11-10 17:36:09 +01008* name='IEC958 Capture Mask',index=0
Damien.Horsley8f6eec12015-11-04 14:40:55 +00009
10This control returns a mask that shows which of the IEC958 status bits
11can be read using the 'IEC958 Capture Default' control.
12
Takashi Iwaif336c3f2016-11-10 17:36:09 +010013* name='IEC958 Capture Default',index=0
Damien.Horsley8f6eec12015-11-04 14:40:55 +000014
15This control returns the status bits contained within the SPDIF stream that
16is being received. The 'IEC958 Capture Mask' shows which bits can be read
17from this control.
18
Takashi Iwaif336c3f2016-11-10 17:36:09 +010019* name='SPDIF In Multi Frequency Acquire',index=0
20* name='SPDIF In Multi Frequency Acquire',index=1
21* name='SPDIF In Multi Frequency Acquire',index=2
22* name='SPDIF In Multi Frequency Acquire',index=3
Damien.Horsley8f6eec12015-11-04 14:40:55 +000023
24This control is used to attempt acquisition of up to four different sample
25rates. The active rate can be obtained by reading the 'SPDIF In Lock Frequency'
26control.
27
28When the value of this control is set to {0,0,0,0}, the rate given to hw_params
29will determine the single rate the block will capture. Else, the rate given to
30hw_params will be ignored, and the block will attempt capture for each of the
31four sample rates set here.
32
33If less than four rates are required, the same rate can be specified more than
34once
35
Takashi Iwaif336c3f2016-11-10 17:36:09 +010036* name='SPDIF In Lock Frequency',index=0
Damien.Horsley8f6eec12015-11-04 14:40:55 +000037
38This control returns the active capture rate, or 0 if a lock has not been
39acquired
40
Takashi Iwaif336c3f2016-11-10 17:36:09 +010041* name='SPDIF In Lock TRK',index=0
Damien.Horsley8f6eec12015-11-04 14:40:55 +000042
43This control is used to modify the locking/jitter rejection characteristics
44of the block. Larger values increase the locking range, but reduce jitter
45rejection.
46
Takashi Iwaif336c3f2016-11-10 17:36:09 +010047* name='SPDIF In Lock Acquire Threshold',index=0
Damien.Horsley8f6eec12015-11-04 14:40:55 +000048
49This control is used to change the threshold at which a lock is acquired.
50
Takashi Iwaif336c3f2016-11-10 17:36:09 +010051* name='SPDIF In Lock Release Threshold',index=0
Damien.Horsley8f6eec12015-11-04 14:40:55 +000052
53This control is used to change the threshold at which a lock is released.