drm/i2c: tda998x: Reset the I2S_FORMAT (Page0, Reg 0xfc) to it's default
Subsystems (2)
PATCH RESEND 1/1 drm/i2c: tda998x: Reset the I2S_FORMAT (Page0, Reg 0xfc) to it's default
Hi,
the original version was sent 14.04.2018:
https://patchwork.kernel.org/patch/10344403/
Changes since then:
- rebased on currentl drm/next
The reset value of the register is 0, the soft reset does not reset this register and if other kernel changed this the audio is going to be distorted.
It was observed when - accidentally - booted the kernel from eMMC on BBB which is 3.8.13-bone79 and it sets this register to 0x0a. After reboot and tda998x_reset() it remains 0x0a.
--- drivers/gpu/drm/i2c/tda998x_drv.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/i2c/tda998x_drv.c +3 -0
@@ -722,6 +722,9 @@ tda998x_reset(struct tda998x_priv *priv)/* Write the default value MUX register */ reg_write (priv,REG_MUX_VP_VIP_OUT ,0x24 ); + +/* Write the default to I2S_FORMAT register */ +reg_write (priv,REG_I2S_FORMAT ,0x00 ); }/*
Signature · 9 lines
Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 3 lines · Peter Ujfalusi
Hi,
the original version was sent 14.04.2018:
17.04.2018
Quoted 24 lines
https://patchwork.kernel.org/patch/10344403/
Changes since then:
- rebased on currentl drm/nextThe reset value of the register is 0, the soft reset does not reset this register and if other kernel changed this the audio is going to be distorted.
It was observed when - accidentally - booted the kernel from eMMC on BBB which is 3.8.13-bone79 and it sets this register to
0x0a. After reboot andtda998x_reset()it remains0x0a.Signed-off-by Peter Ujfalusi <[email protected]>--- drivers/gpu/drm/i2c/tda998x_drv.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/i2c/tda998x_drv.c +0
-0
drivers/gpu/drm/i2c/tda998x_drv.c tda998x_reset(struct tda998x_priv *priv) · line 730
Quoted 9 lines
drivers/gpu/drm/i2c/tda998x_drv.c +3
-0@@ -722,6 +722,9 @@ tda998x_reset(struct tda998x_priv *priv)/* Write the default value MUX register */ reg_write (priv,REG_MUX_VP_VIP_OUT ,0x24 ); + +/* Write the default to I2S_FORMAT register */ +reg_write (priv,REG_I2S_FORMAT ,0x00 ); }/*
- Péter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 8 lines · Peter Ujfalusi
Hi,
the original version was sent 14.04.2018:
https://patchwork.kernel.org/patch/10344403/Changes since then:
- rebased on currentl drm/next
Quoted 7 lines
The reset value of the register is 0, the soft reset does not reset this register and if other kernel changed this the audio is going to be distorted.
It was observed when - accidentally - booted the kernel from eMMC on BBB which is 3.8.13-bone79 and it sets this register to
0x0a. After reboot andtda998x_reset()it remains0x0a.
Have you checked whether the input I2S stream is Philips or Left Justified? This is controlled by the LSB two bits.
It appears that 3.8.13-bone79 configures the TDA998x for left- justified, whereas re-setting these two bits to zero will configure it for Philips.
Bits 3:2 control the data size, but I have no information what their values correspond to.
Can we nail down what is required for BBB and what it doesn't care about - and I think we should implement at least setting the I2S register format from the hdmi_codec_daifmt data.
It would also be good to know what Fs value(s) BBB uses, and what sample sizes you have tested.
Quoted 27 lines
Signed-off-by Peter Ujfalusi <[email protected]>--- drivers/gpu/drm/i2c/tda998x_drv.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/i2c/tda998x_drv.c +3
-0@@ -722,6 +722,9 @@ tda998x_reset(struct tda998x_priv *priv)/* Write the default value MUX register */ reg_write (priv,REG_MUX_VP_VIP_OUT ,0x24 ); + +/* Write the default to I2S_FORMAT register */ +reg_write (priv,REG_I2S_FORMAT ,0x00 ); }/* Signature · 4 lines
Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Signature · 7 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Russell,
Quoted 13 lines · Russell King - ARM Linux admin
Quoted 12 lines · Peter Ujfalusi
Hi,
the original version was sent 14.04.2018:
https://patchwork.kernel.org/patch/10344403/Changes since then:
- rebased on currentl drm/nextThe reset value of the register is 0, the soft reset does not reset this register and if other kernel changed this the audio is going to be distorted.
Quoted 6 lines
Quoted 3 lines
It was observed when - accidentally - booted the kernel from eMMC on BBB which is 3.8.13-bone79 and it sets this register to
0x0a. After reboot andtda998x_reset()it remains0x0a.Have you checked whether the input I2S stream is Philips or Left Justified? This is controlled by the LSB two bits.
The am335x-boneblack-common.dtsi configures the link to i2s, which corresponds to Philips format (the default
Quoted 4 lines
It appears that 3.8.13-bone79 configures the TDA998x for left- justified, whereas re-setting these two bits to zero will configure it for Philips.
The chip reset value for the register is 0 and software reset will not reset it if it was modified.
Quoted 2 lines
Bits 3:2 control the data size, but I have no information what their values correspond to.
I can not find the register descriptions, can not tell what are the bits in there.
Quoted 2 lines
Can we nail down what is required for BBB and what it doesn't care about.
atm the REG_I2S_FORMAT register needs to be reset to 0.
Quoted 2 lines
and I think we should implement at least setting the I2S register format from the
hdmi_codec_daifmtdata.
Yes, that needs to be done for sure, but without data sheet with register descriptions I would not attempt to do that.
Quoted 2 lines
It would also be good to know what Fs value(s) BBB uses, and what sample sizes you have tested.
On BBB McASP is the clock master and as I recall I have tested 44.1, 48 KHz at least with 16 and 24 bits.
Quoted 19 lines
Quoted 19 lines
Signed-off-by Peter Ujfalusi <[email protected]>--- drivers/gpu/drm/i2c/tda998x_drv.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/i2c/tda998x_drv.c +3
-0@@ -722,6 +722,9 @@ tda998x_reset(struct tda998x_priv *priv)/* Write the default value MUX register */ reg_write (priv,REG_MUX_VP_VIP_OUT ,0x24 ); + +/* Write the default to I2S_FORMAT register */ +reg_write (priv,REG_I2S_FORMAT ,0x00 ); }
Quoted 9 lines
Quoted 8 lines
drivers/gpu/drm/i2c/tda998x_drv.c +0
-0/* Signature · 4 lines
Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
- Péter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 27 lines · Peter Ujfalusi
Hi Russell,
Quoted 13 lines · Russell King - ARM Linux admin
Quoted 12 lines · Peter Ujfalusi
Hi,
the original version was sent 14.04.2018:
https://patchwork.kernel.org/patch/10344403/Changes since then:
- rebased on currentl drm/nextThe reset value of the register is 0, the soft reset does not reset this register and if other kernel changed this the audio is going to be distorted.
Quoted 6 lines
Quoted 3 lines
It was observed when - accidentally - booted the kernel from eMMC on BBB which is 3.8.13-bone79 and it sets this register to
0x0a. After reboot andtda998x_reset()it remains0x0a.Have you checked whether the input I2S stream is Philips or Left Justified? This is controlled by the LSB two bits.
The
am335x-boneblack-common.dtsiconfigures the link to i2s, which corresponds to Philips format (the defaultQuoted 1 line
Quoted 6 lines
Quoted 3 lines
It appears that 3.8.13-bone79 configures the TDA998x for left- justified, whereas re-setting these two bits to zero will configure it for Philips.
The chip reset value for the register is 0 and software reset will not reset it if it was modified.
So I wonder why 3.8.13-bone79 configures it for left-justified.
Quoted 14 lines
Quoted 2 lines
Bits 3:2 control the data size, but I have no information what their values correspond to.
I can not find the register descriptions, can not tell what are the bits in there.
Quoted 2 lines
Can we nail down what is required for BBB and what it doesn't care about.
atm the
REG_I2S_FORMATregister needs to be reset to 0.Quoted 2 lines
and I think we should implement at least setting the I2S register format from the
hdmi_codec_daifmtdata.
Quoted 8 lines
Yes, that needs to be done for sure, but without data sheet with register descriptions I would not attempt to do that.
Quoted 2 lines
It would also be good to know what Fs value(s) BBB uses, and what sample sizes you have tested.
On BBB McASP is the clock master and as I recall I have tested 44.1, 48 KHz at least with 16 and 24 bits.
Sorry, I wasn't clear enough... is the bus clocked at 32Fs for 16bit samples and 64Fs for 24bit samples, or is it 64Fs for both?
Quoted 33 lines
Quoted 18 lines
Quoted 18 lines
Signed-off-by Peter Ujfalusi <[email protected]>--- drivers/gpu/drm/i2c/tda998x_drv.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/i2c/tda998x_drv.c +3
-0@@ -722,6 +722,9 @@ tda998x_reset(struct tda998x_priv *priv)/* Write the default value MUX register */ reg_write (priv,REG_MUX_VP_VIP_OUT ,0x24 ); + +/* Write the default to I2S_FORMAT register */ +reg_write (priv,REG_I2S_FORMAT ,0x00 ); }Quoted 9 lines
Quoted 8 lines
drivers/gpu/drm/i2c/tda998x_drv.c +0
-0/* Signature · 4 lines
Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki- Péter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Signature · 7 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 4 lines · Russell King - ARM Linux admin
Quoted 3 lines · Peter Ujfalusi
Hi Russell,
On 22/02/2019 16.35, Russell King - ARM Linux admin wrote:
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
It would also be good to know what Fs value(s) BBB uses, and what sample sizes you have tested.
On BBB McASP is the clock master and as I recall I have tested 44.1, 48 KHz at least with 16 and 24 bits.
Sorry, I wasn't clear enough... is the bus clocked at 32Fs for 16bit samples and 64Fs for 24bit samples, or is it 64Fs for both?
To be clear, the reason I'm asking for this information is that Sven Van Asbroeck is trying to use TDA998x, and he has a problem with the current implementation that adjusts CTS_N_M and CTS_N_K parameters according to the _sample_ size.
This appears to be wrong, these settings should be set according to the BCLK ratio (Fs multiplier) and not the sample size.
If you say that the existing code works for you, but your device always produces a bclk at 64fs, then we have a problem - it means that to add support for Sven's platform, we're probably going to end up causing a regression for your platform.
The next issue is with snd_soc_dai_set_bclk_ratio(). Today, no one calls that function, so none of the DAI .set_bclk_ratio implementations are used (and probably completely untested.) If your CPU DAI changes the bclk ratio depending on the sample size, I will need something to call that function at the appropriate time to set the clocking ratio.
I suspect most codecs don't care about it, but TDA998x does, because it _looks_ like it uses the BCLK to generate the CTS value to be passed to the HDMI sink. Since CTS = f(tmds) * N / (128 * fs), using BCLK to derive the CTS value requires TDA998x to know the BCLK ratio.
So, knowing this information ahead of time is very advantageous.
Signature · 7 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 11 lines · Russell King - ARM Linux admin
Quoted 10 lines · Russell King - ARM Linux admin
Quoted 8 lines · Peter Ujfalusi
Hi Russell,
Quoted 2 lines · Russell King - ARM Linux admin
It would also be good to know what Fs value(s) BBB uses, and what sample sizes you have tested.
On BBB McASP is the clock master and as I recall I have tested 44.1, 48 KHz at least with 16 and 24 bits.
Peter, I doubt you you were able to natively play 24bit 48kHz stereo, or anything at 44.1kHz. Did you have ALSA plug -plugin configured?
BBB has 24.576MHz McASP mclk, which divides nicely by 48kHz to 512 clock cycles / sample. 512 is divisible by 32 (= 16-bit stereo) and 64 (= 32-bit stereo), but not by 48 e.g. 24-bit stereo.
That is why I originally insisted in allowing 32-bit sample-format in HDMI-codec (that is used in tda998x) and simply marking in struct snd_soc_dai_driver that there is only 24 significant bits per a sample.
The other alternative would have been using set_bclk_ratio(), but it was a quite new thing back then and had even less support in the drivers than the currently.
Quoted 3 lines
Quoted 2 lines
Sorry, I wasn't clear enough... is the bus clocked at 32Fs for 16bit samples and 64Fs for 24bit samples, or is it 64Fs for both?
It is 32Fs for 16-bit and 64Fs for 32-bit, but 24-bit format is not supported as such.
Quoted 20 lines
To be clear, the reason I'm asking for this information is that Sven Van Asbroeck is trying to use TDA998x, and he has a problem with the current implementation that adjusts
CTS_N_MandCTS_N_Kparameters according to the _sample_ size.This appears to be wrong, these settings should be set according to the BCLK ratio (Fs multiplier) and not the sample size.
If you say that the existing code works for you, but your device always produces a bclk at 64fs, then we have a problem - it means that to add support for Sven's platform, we're probably going to end up causing a regression for your platform.
The next issue is with
snd_soc_dai_set_bclk_ratio(). Today, no one calls that function, so none of the DAI .set_bclk_ratio implementations are used (and probably completely untested.) If your CPU DAI changes the bclk ratio depending on the sample size, I will need something to call that function at the appropriate time to set the clocking ratio.
Quoted 8 lines
I suspect most codecs don't care about it, but TDA998x does, because it _looks_ like it uses the BCLK to generate the CTS value to be passed to the HDMI sink. Since CTS = f(tmds) * N / (128 * fs), using BCLK to derive the CTS value requires TDA998x to know the BCLK ratio.
So, knowing this information ahead of time is very advantageous.
Sound to me that .set_bclk_ratio() support should be added to tda998x (and HDMI-codec), but with the default behaviour that assumes the bclk-ratio to be 2*sample-width if .set_bclk_ratio() is not called. bcm2835-i2s codec driver appears to already implement .set_bclk_ratio() like that.
Or am I missing something?
Best regards,
Jyri
Signature · 6 lines
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Russell,
Quoted 5 lines · Russell King - ARM Linux admin
Quoted 2 lines
On BBB McASP is the clock master and as I recall I have tested 44.1, 48 KHz at least with 16 and 24 bits.
Sorry, I wasn't clear enough... is the bus clocked at 32Fs for 16bit samples and 64Fs for 24bit samples, or is it 64Fs for both?
Now that I have dug out the board:
Playback of the following formats works w/o plughw conversion:
32KHz/48KHz/96KHz, stereo, 16bit (32fs on bus) 32KHz/48KHz/96KHz, stereo, 24bit (S24_LE or S24_3LE - 48fs on bus)
McASP is only putting the needed amount of bclk on the bus for the given format - uses params_width() for divider calculation.
Quoted 28 lines
Quoted 28 lines
Quoted 27 lines
Quoted 26 lines
Signed-off-by Peter Ujfalusi <[email protected]>--- drivers/gpu/drm/i2c/tda998x_drv.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/i2c/tda998x_drv.c +3
-0@@ -722,6 +722,9 @@ tda998x_reset(struct tda998x_priv *priv)/* Write the default value MUX register */ reg_write (priv,REG_MUX_VP_VIP_OUT ,0x24 ); + +/* Write the default to I2S_FORMAT register */ +reg_write (priv,REG_I2S_FORMAT ,0x00 ); }/* Signature · 4 lines
Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Quoted 6 lines
Quoted 5 lines
- Péter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
- Péter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 5 lines · Peter Ujfalusi
Quoted 2 lines
and I think we should implement at least setting the I2S register format from the
hdmi_codec_daifmtdata.Yes, that needs to be done for sure, but without data sheet with register descriptions I would not attempt to do that.
How about this, although it's not particularly pretty.
drivers/gpu/drm/i2c/tda998x_drv.c +39 -18
@@ -242,7 +242,9 @@ struct tda998x_priv {# define HVF_CNTRL_1_SEMI_PLANAR (1 << 6)#define REG_RPT_CNTRL REG(0x00, 0xf0)/* write */ #define REG_I2S_FORMAT REG(0x00, 0xfc)/* read/write */ -# define I2S_FORMAT (x) (((x) & 3) << 0) +# define I2S_FORMAT_PHILIPS (0 << 0) +# define I2S_FORMAT_LEFT_J (2 << 0) +# define I2S_FORMAT_RIGHT_J (3 << 0)#define REG_AIP_CLKSEL REG(0x00, 0xfd)/* write */ # define AIP_CLKSEL_AIP_SPDIF (0 << 3)# define AIP_CLKSEL_AIP_I2S (1 << 3)
@@ -872,14 +874,14 @@ static int tda998x_configure_audio(struct tda998x_priv *priv, struct tda998x_audio_params *params) { - u8 buf[6], clksel_aip, clksel_fs, cts_n, adiv; + u8 buf[6], clksel_aip, clksel_fs, cts_n, adiv, i2s_fmt;u32 n;/* Enable audio ports */ reg_write (priv,REG_ENA_AP , params->config);/* Set audio input source */ -switch (params->format) { +switch (params->format &AFMT_MASK ) {case AFMT_SPDIF :reg_write (priv,REG_ENA_ACLK ,0 );reg_write (priv,REG_MUX_AP ,MUX_AP_SELECT_SPDIF );
@@ -907,6 +909,19 @@ tda998x_configure_audio(struct tda998x_priv *priv, cts_n =CTS_N_M (3 ) |CTS_N_K (3 );break ; } + +switch (params->format &AFMT_I2S_MASK ) { +case AFMT_I2S_LEFT_J : + i2s_fmt =I2S_FORMAT_LEFT_J ; +break ; +case AFMT_I2S_RIGHT_J : + i2s_fmt =I2S_FORMAT_RIGHT_J ; +break ; +default : + i2s_fmt =I2S_FORMAT_PHILIPS ; +break ; + } +reg_write (priv,REG_I2S_FORMAT , i2s_fmt);break ;default :
@@ -992,23 +1007,15 @@ static int tda998x_audio_hw_params(struct device *dev, void *data,switch (daifmt->fmt) {case HDMI_I2S : -if (daifmt->bit_clk_inv || daifmt->frame_clk_inv || - daifmt->bit_clk_master || daifmt->frame_clk_master) { -dev_err (dev,"%s: Bad flags %d %d %d %d\n" , __func__, - daifmt->bit_clk_inv, daifmt->frame_clk_inv, - daifmt->bit_clk_master, - daifmt->frame_clk_master); -return -EINVAL ; - } -for (i =0 ; i <ARRAY_SIZE (priv->audio_port); i++) -if (priv->audio_port[i].format ==AFMT_I2S ) - audio.config = priv->audio_port[i].config; - audio.format =AFMT_I2S ; + audio.format =AFMT_I2S |AFMT_I2S_PHILIPS ; +break ; +case HDMI_LEFT_J : + audio.format =AFMT_I2S |AFMT_I2S_LEFT_J ; +break ; +case HDMI_RIGHT_J : + audio.format =AFMT_I2S |AFMT_I2S_RIGHT_J ;break ;case HDMI_SPDIF : -for (i =0 ; i <ARRAY_SIZE (priv->audio_port); i++) -if (priv->audio_port[i].format ==AFMT_SPDIF ) - audio.config = priv->audio_port[i].config; audio.format =AFMT_SPDIF ;break ;default :
@@ -1016,11 +1023,25 @@ static int tda998x_audio_hw_params(struct device *dev, void *data,return -EINVAL ; } +for (i =0 ; i <ARRAY_SIZE (priv->audio_port); i++) +if (priv->audio_port[i].format == (audio.format &AFMT_MASK )) + audio.config = priv->audio_port[i].config; +if (audio.config ==0 ) {dev_err (dev,"%s: No audio configuration found\n" , __func__);return -EINVAL ; } +if ((audio.format &AFMT_MASK ) ==HDMI_I2S && + (daifmt->bit_clk_inv || daifmt->frame_clk_inv || + daifmt->bit_clk_master || daifmt->frame_clk_master)) { +dev_err (dev,"%s: Bad flags %d %d %d %d\n" , __func__, + daifmt->bit_clk_inv, daifmt->frame_clk_inv, + daifmt->bit_clk_master, + daifmt->frame_clk_master); +return -EINVAL ; + } +mutex_lock (&priv->audio_mutex);if (priv->supports_infoframes && priv->sink_has_audio) ret =tda998x_configure_audio (priv, &audio);
include/drm/i2c/tda998x.h +8 -3
@@ -6,9 +6,14 @@#include <dt-bindings/display/tda998x.h> enum { -AFMT_UNUSED =0 , -AFMT_SPDIF = TDA998x_SPDIF, -AFMT_I2S = TDA998x_I2S, +AFMT_UNUSED =0 , +AFMT_SPDIF = TDA998x_SPDIF, +AFMT_I2S = TDA998x_I2S, +AFMT_MASK =AFMT_SPDIF |AFMT_I2S , +AFMT_I2S_PHILIPS =0 <<4 , +AFMT_I2S_LEFT_J =1 <<4 , +AFMT_I2S_RIGHT_J =2 <<4 , +AFMT_I2S_MASK =3 <<4 , };struct tda998x_audio_params {
Signature · 7 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel