Skip to contentSkip to conversation

Intel SST on a Bay Trail tablet

DISCUSSION Michele Curti 4 participants 10 messages Aug 24, 2015 – Sep 21, 2015

lore
Share & tools
lore
#0 lore raw
Quoted 29 lines · On Thu, 25 Jun 2015 22:17:17 +0530 Vinod Koul wrote:
Quoted 28 lines · Antonio Ospite
Quoted 18 lines
Quoted 2 lines · On Thu, 25 Jun 2015 11:20:46 +0530 Vinod Koul <vinod.koul at intel.com> wrote:
Quoted 1 line · Vinod Koul

On Tue, Apr 14, 2015 at 05:06:27PM +0300, Jarkko Nikula wrote:

[...]

Quoted 12 lines
Quoted 9 lines
Quoted 6 lines

Which makes me thinking how does those strings describe the SSP port setup? E.g. do they reflect what port is actually used or could it be possible that those are just driver strings but firmware could have been tuned for SSP0? If I looked at earlier right, Teclast has the low pin-count Baytrail without SSP2 but I'm not sure about that.

The FW doesnt provide way to changes ports from driver in this, so this doesnt mean much. If we are sure it is not ssp2, I can provide ssp1 fw for test

I ahve pushed latest BYT version we have as well as added binary for second SSP port. Please give it a try:

Quoted 6 lines
Quoted 2 lines

https://git.kernel.org/cgit/linux/kernel/git/vkoul/firmware.git/commit/?h=byt&id=28ff420dd33ec299217bad7d526ff3bfd163b551

Thanks Vinod, but I see these are in the ELF format, and the mainline driver does not support this format, at least the last time I checked it didn't.

My bad, updated the patch now with right format

Quoted 8 lines
Quoted 2 lines

https://git.kernel.org/cgit/linux/kernel/git/vkoul/firmware.git/commit/?h=byt

(Adding Michele to CC)

OK, so Jarkko was right: after a quick test I confirm that with fw_sst_0f28_ssp0.bin I get sound; this is quite an improvement, thanks!

Damn, completely missed..

Hi Vinod,
if it's possible, could you please generate a fw_sst_0f28_ssp1.bin also, so I can test my driver (mine was for the Asus X205TA laptop, where the codec is on SSP1 port)?

Thanks,
Michele

#1 lore raw
Quoted 38 lines · Michele Curti
Quoted 29 lines · On Thu, 25 Jun 2015 22:17:17 +0530 Vinod Koul wrote:
Quoted 28 lines · Antonio Ospite
Quoted 18 lines
Quoted 2 lines · On Thu, 25 Jun 2015 11:20:46 +0530 Vinod Koul <vinod.koul at intel.com> wrote:
Quoted 1 line · Vinod Koul

On Tue, Apr 14, 2015 at 05:06:27PM +0300, Jarkko Nikula wrote:

[...]

Quoted 12 lines
Quoted 9 lines
Quoted 6 lines

Which makes me thinking how does those strings describe the SSP port setup? E.g. do they reflect what port is actually used or could it be possible that those are just driver strings but firmware could have been tuned for SSP0? If I looked at earlier right, Teclast has the low pin-count Baytrail without SSP2 but I'm not sure about that.

The FW doesnt provide way to changes ports from driver in this, so this doesnt mean much. If we are sure it is not ssp2, I can provide ssp1 fw for test

I ahve pushed latest BYT version we have as well as added binary for second SSP port. Please give it a try:

Quoted 6 lines
Quoted 2 lines

https://git.kernel.org/cgit/linux/kernel/git/vkoul/firmware.git/commit/?h=byt&id=28ff420dd33ec299217bad7d526ff3bfd163b551

Thanks Vinod, but I see these are in the ELF format, and the mainline driver does not support this format, at least the last time I checked it didn't.

My bad, updated the patch now with right format

Quoted 8 lines
Quoted 2 lines

https://git.kernel.org/cgit/linux/kernel/git/vkoul/firmware.git/commit/?h=byt

(Adding Michele to CC)

OK, so Jarkko was right: after a quick test I confirm that with fw_sst_0f28_ssp0.bin I get sound; this is quite an improvement, thanks!

Quoted 6 lines

Damn, completely missed..

Hi Vinod,
if it's possible, could you please generate a fw_sst_0f28_ssp1.bin also, so I can test my driver (mine was for the Asus X205TA laptop, where the codec is on SSP1 port)?

Are you sure you ahve SSP1 port enabled. I have not seen anyone using that one. Jarkko do you know about this?

I will ask firmware folks for generation (i don't do that) and get back

Signature · 1 line
~Vinod
#2 lore raw
Quoted 12 lines
Quoted 7 lines

Damn, completely missed..

Hi Vinod,
if it's possible, could you please generate a fw_sst_0f28_ssp1.bin also, so I can test my driver (mine was for the Asus X205TA laptop, where the codec is on SSP1 port)?

Are you sure you ahve SSP1 port enabled. I have not seen anyone using that one. Jarkko do you know about this?

I will ask firmware folks for generation (i don't do that) and get back

Hi Vinod

The Asus T100TAF seems to be using the SSP1 port too with a RT5642,. I have tested SSP2 and SSP0 firmwares, only getting heat and clicks, errors reported by Michele are the same on my device.
In the DSDT there are only references to SSP1.

#3 lore raw
Quoted 5 lines

The Asus T100TAF seems to be using the SSP1 port too with a RT5642,. I have tested SSP2 and SSP0 firmwares, only getting heat and clicks, errors reported by Michele are the same on my device.
In the DSDT there are only references to SSP1.

On the original Asus T100 there are also references to SSP1 but they are not related to audio at all (they are in the XHCI1 scope). To the best of my knowledge the SSP number is not configured in the BIOS, that seems like a red herring. Can you please share the DSDT table for this device?

Thanks,
-Pierre

#4 lore raw
In reply to Luka Karinja
Quoted 10 lines · Luka Karinja
Quoted 10 lines
Quoted 7 lines

Damn, completely missed..

Hi Vinod,
if it's possible, could you please generate a fw_sst_0f28_ssp1.bin also, so I can test my driver (mine was for the Asus X205TA laptop, where the codec is on SSP1 port)?

Are you sure you ahve SSP1 port enabled. I have not seen anyone using that one. Jarkko do you know about this?

Quoted 8 lines
Quoted 2 lines

I will ask firmware folks for generation (i don't do that) and get back

Hi Vinod

The Asus T100TAF seems to be using the SSP1 port too with a RT5642,. I have tested SSP2 and SSP0 firmwares, only getting heat and clicks, errors reported by Michele are the same on my device.
In the DSDT there are only references to SSP1.

Yep, I also remember only SSP1 in ACPI tables. I'll check when I'll have access to the laptop to be sure.

Thanks,
Michele

#5 lore raw
In reply to Vinod Koul
Quoted 9 lines · Vinod Koul
Quoted 7 lines · Michele Curti

Damn, completely missed..

Hi Vinod,
if it's possible, could you please generate a fw_sst_0f28_ssp1.bin also, so I can test my driver (mine was for the Asus X205TA laptop, where the codec is on SSP1 port)?

Quoted 5 lines

Are you sure you ahve SSP1 port enabled. I have not seen anyone using that one. Jarkko do you know about this?

I will ask firmware folks for generation (i don't do that) and get back

Yes, I can confirm, SSP1 in under LPEA

    Scope (_SB)
    {
        Device (LPEA)
        {
            Name (_ADR, Zero)  // _ADR: Address
            Name (_HID, "80860F28" /* Intel SST Audio DSP */)  // _HID: Hardware ID

            ... snip ...

            Device (SSP1)
            {
                Name (_ADR, Zero)  // _ADR: Address
                Name (_HID, "SSPX0000" /* Intel SSP Device */)  // _HID: Hardware ID
                Name (_CID, "SSPX0000" /* Intel SSP Device */)  // _CID: Compatible ID

Full dsdt.dsl here:
https://github.com/michelecurti/x205ta/blob/master/dsdt.dsl

Thank you,
Michele

#6 lore raw
Quoted 33 lines · Michele Curti
Quoted 9 lines · Vinod Koul
Quoted 7 lines · Michele Curti

Damn, completely missed..

Hi Vinod,
if it's possible, could you please generate a fw_sst_0f28_ssp1.bin also, so I can test my driver (mine was for the Asus X205TA laptop, where the codec is on SSP1 port)?

Quoted 5 lines

Are you sure you ahve SSP1 port enabled. I have not seen anyone using that one. Jarkko do you know about this?

I will ask firmware folks for generation (i don't do that) and get back

Yes, I can confirm, SSP1 in under LPEA

     Scope (_SB)
     {
         Device (LPEA)
         {
             Name (_ADR, Zero)  // _ADR: Address
             Name (_HID, "80860F28" /* Intel SST Audio DSP */)  // _HID: Hardware ID

             ... snip ...

             Device (SSP1)
             {
                 Name (_ADR, Zero)  // _ADR: Address
                 Name (_HID, "SSPX0000" /* Intel SSP Device */)  // _HID: Hardware ID
                 Name (_CID, "SSPX0000" /* Intel SSP Device */)  // _CID: Compatible ID
Quoted 2 lines

Full dsdt.dsl here:
https://github.com/michelecurti/x205ta/blob/master/dsdt.dsl

No idea why the BIOS vendor thought here, we don't handle the SSPX0000 (illegal) _HID and we have no driver to load against... This SSP1 entry will be ignored in Linux. Probably only used by Windows for Bluetooth HFP, see the DSM that returns ("BLUET")

Device (SSP1)

            {
                Name (_ADR, Zero)  // _ADR: Address
                Name (_HID, "SSPX0000" /* Intel SSP Device */)  // 
_HID: Hardware ID
                Name (_CID, "SSPX0000" /* Intel SSP Device */)  // 
_CID: Compatible ID
                Name (_DDN, "Intel(R) SSP Device")  // _DDN: DOS Device 
Name
                Name (_UID, One)  // _UID: Unique ID
                Method (_STA, 0, NotSerialized)  // _STA: Status
                {
                    If ((OSSL & 0x80)) <<< OSSL==0x08, test fails
                    {
                        Return (0x0F)
                    }

                    Return (Zero) <<<<< device is not reported present 
to kernel
                }
#7 lore raw
Quoted 34 lines · Pierre-Louis Bossart
Quoted 33 lines · Michele Curti
Quoted 9 lines · Vinod Koul
Quoted 7 lines · Michele Curti

Damn, completely missed..

Hi Vinod,
if it's possible, could you please generate a fw_sst_0f28_ssp1.bin also, so I can test my driver (mine was for the Asus X205TA laptop, where the codec is on SSP1 port)?

Quoted 5 lines

Are you sure you ahve SSP1 port enabled. I have not seen anyone using that one. Jarkko do you know about this?

I will ask firmware folks for generation (i don't do that) and get back

Yes, I can confirm, SSP1 in under LPEA

    Scope (_SB)
    {
        Device (LPEA)
        {
            Name (_ADR, Zero)  // _ADR: Address
            Name (_HID, "80860F28" /* Intel SST Audio DSP */)  // _HID: Hardware ID

            ... snip ...

            Device (SSP1)
            {
                Name (_ADR, Zero)  // _ADR: Address
                Name (_HID, "SSPX0000" /* Intel SSP Device */)  // _HID: Hardware ID
                Name (_CID, "SSPX0000" /* Intel SSP Device */)  // _CID: Compatible ID
Quoted 8 lines
Quoted 2 lines

Full dsdt.dsl here:
https://github.com/michelecurti/x205ta/blob/master/dsdt.dsl

No idea why the BIOS vendor thought here, we don't handle the SSPX0000 (illegal) _HID and we have no driver to load against... This SSP1 entry will be ignored in Linux.
Probably only used by Windows for Bluetooth HFP, see the DSM that returns ("BLUET")

Oh, so no need of a SSP1 driver, thank you!

I'll try the SSP0 one :)

Thanks,
Michele

Quoted 22 lines
   Device (SSP1)
            {
                Name (_ADR, Zero)  // _ADR: Address
                Name (_HID, "SSPX0000" /* Intel SSP Device */)  // _HID:
Hardware ID
                Name (_CID, "SSPX0000" /* Intel SSP Device */)  // _CID:
Compatible ID
                Name (_DDN, "Intel(R) SSP Device")  // _DDN: DOS Device Name
                Name (_UID, One)  // _UID: Unique ID
                Method (_STA, 0, NotSerialized)  // _STA: Status
                {
                    If ((OSSL & 0x80)) <<< OSSL==0x08, test fails
                    {
                        Return (0x0F)
                    }

                    Return (Zero) <<<<< device is not reported present to
kernel
                }
#8 lore raw

Hello Michele,

Quoted 5 lines

Oh, so no need of a SSP1 driver, thank you!

I'll try the SSP0 one :)

Any luck to get the sound working on your device?

#9 lore raw
Quoted 8 lines · Luka Karinja

Hello Michele,

Quoted 5 lines

Oh, so no need of a SSP1 driver, thank you!

I'll try the SSP0 one :)

Any luck to get the sound working on your device?

Hi Luka,
I did a try but without success.. I think it's beyond my capabilities eheh

Regards,
Michele