alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] ASoC: Add support for rt5640 sound card found on HP Pavilion x2 10-p000 tablet.
@ 2017-01-06  0:09 Alexandrov Stansilav
  2017-01-06  0:09 ` [PATCH v3 1/2] ASoC: rt5640: Add "10EC3276" ACPI ID Alexandrov Stansilav
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexandrov Stansilav @ 2017-01-06  0:09 UTC (permalink / raw)
  To: alsa-devel; +Cc: vinod.koul, pierre-louis.bossart

Inside DSDT table there is record for this soundcard:

            Device (RTKC)
            {
                Name (_ADR, Zero)  // _ADR: Address
                Name (_HID, "10EC3276")  // _HID: Hardware ID
                Name (_CID, "10EC3276")  // _CID: Compatible ID
                Name (_DDN, "ALC3276")  // _DDN: DOS Device Name
                Name (_SUB, "103C827C")  // _SUB: Subsystem ID
                Name (_PR0, Package (0x01)  // _PR0: Power Resources for D0

original bugreport: https://bugzilla.kernel.org/show_bug.cgi?id=187621

v3: Fixed patch descriptions
v2: Splited patch to codec and sst parts


Alexandrov Stansilav (2):
  ASoc: rt5640: Add "10EC3276" ACPI ID
  ASoC: Intel: Atom: Add HP Pavilion x2 10 10-p000 machine entry

 sound/soc/codecs/rt5640.c           | 1 +
 sound/soc/intel/atom/sst/sst_acpi.c | 2 ++
 2 files changed, 3 insertions(+)

-- 
2.10.2

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v3 1/2] ASoC: rt5640: Add "10EC3276" ACPI ID
  2017-01-06  0:09 [PATCH v3 0/2] ASoC: Add support for rt5640 sound card found on HP Pavilion x2 10-p000 tablet Alexandrov Stansilav
@ 2017-01-06  0:09 ` Alexandrov Stansilav
  2017-01-06  0:09 ` [PATCH v3 2/2] ASoC: Intel: Atom: Add HP Pavilion x2 10-p000 machine entry Alexandrov Stansilav
  2017-01-06  7:07 ` [PATCH v3 0/2] ASoC: Add support for rt5640 sound card found on HP Pavilion x2 10-p000 tablet Vinod Koul
  2 siblings, 0 replies; 6+ messages in thread
From: Alexandrov Stansilav @ 2017-01-06  0:09 UTC (permalink / raw)
  To: alsa-devel; +Cc: vinod.koul, pierre-louis.bossart

Add ACPI ID "10EC3276" for sound card found on notebook HP Pavilion X2 10-p000.
ACPI DSDT Table on this device describes this card as ALC3276, but it is in fact rt5640.

Signed-off-by: Alexandrov Stansilav <neko@nya.ai>
---
 sound/soc/codecs/rt5640.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
index e29a6de..b857a71 100644
--- a/sound/soc/codecs/rt5640.c
+++ b/sound/soc/codecs/rt5640.c
@@ -2313,6 +2313,7 @@ MODULE_DEVICE_TABLE(of, rt5640_of_match);
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id rt5640_acpi_match[] = {
 	{ "INT33CA", 0 },
+	{ "10EC3276", 0 },
 	{ "10EC5640", 0 },
 	{ "10EC5642", 0 },
 	{ "INTCCFFD", 0 },
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v3 2/2] ASoC: Intel: Atom: Add HP Pavilion x2 10-p000 machine entry
  2017-01-06  0:09 [PATCH v3 0/2] ASoC: Add support for rt5640 sound card found on HP Pavilion x2 10-p000 tablet Alexandrov Stansilav
  2017-01-06  0:09 ` [PATCH v3 1/2] ASoC: rt5640: Add "10EC3276" ACPI ID Alexandrov Stansilav
@ 2017-01-06  0:09 ` Alexandrov Stansilav
  2017-01-06  7:07 ` [PATCH v3 0/2] ASoC: Add support for rt5640 sound card found on HP Pavilion x2 10-p000 tablet Vinod Koul
  2 siblings, 0 replies; 6+ messages in thread
From: Alexandrov Stansilav @ 2017-01-06  0:09 UTC (permalink / raw)
  To: alsa-devel; +Cc: vinod.koul, pierre-louis.bossart

Add machine entry for HP X2 Pavilion 10-p100.
This notebook contains rt5640 codec, but with ACPI ID "10EC3276".

Signed-off-by: Alexandrov Stansilav <neko@nya.ai>
---
 sound/soc/intel/atom/sst/sst_acpi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/intel/atom/sst/sst_acpi.c b/sound/soc/intel/atom/sst/sst_acpi.c
index f4d92bb..896ced2 100644
--- a/sound/soc/intel/atom/sst/sst_acpi.c
+++ b/sound/soc/intel/atom/sst/sst_acpi.c
@@ -463,6 +463,8 @@ static struct sst_acpi_mach sst_acpi_chv[] = {
 	/* some CHT-T platforms rely on RT5640, use Baytrail machine driver */
 	{"10EC5640", "bytcr_rt5640", "intel/fw_sst_22a8.bin", "bytcr_rt5640", cht_quirk,
 						&chv_platform_data },
+	{"10EC3276", "bytcr_rt5640", "intel/fw_sst_22a8.bin", "bytcr_rt5640", NULL,
+						&chv_platform_data },
 
 	{},
 };
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v3 0/2] ASoC: Add support for rt5640 sound card found on HP Pavilion x2 10-p000 tablet.
  2017-01-06  0:09 [PATCH v3 0/2] ASoC: Add support for rt5640 sound card found on HP Pavilion x2 10-p000 tablet Alexandrov Stansilav
  2017-01-06  0:09 ` [PATCH v3 1/2] ASoC: rt5640: Add "10EC3276" ACPI ID Alexandrov Stansilav
  2017-01-06  0:09 ` [PATCH v3 2/2] ASoC: Intel: Atom: Add HP Pavilion x2 10-p000 machine entry Alexandrov Stansilav
@ 2017-01-06  7:07 ` Vinod Koul
  2017-01-13 20:48   ` Pierre-Louis Bossart
  2 siblings, 1 reply; 6+ messages in thread
From: Vinod Koul @ 2017-01-06  7:07 UTC (permalink / raw)
  To: Alexandrov Stansilav; +Cc: alsa-devel, pierre-louis.bossart

On Fri, Jan 06, 2017 at 03:09:45AM +0300, Alexandrov Stansilav wrote:
> Inside DSDT table there is record for this soundcard:
> 
>             Device (RTKC)
>             {
>                 Name (_ADR, Zero)  // _ADR: Address
>                 Name (_HID, "10EC3276")  // _HID: Hardware ID
>                 Name (_CID, "10EC3276")  // _CID: Compatible ID
>                 Name (_DDN, "ALC3276")  // _DDN: DOS Device Name
>                 Name (_SUB, "103C827C")  // _SUB: Subsystem ID
>                 Name (_PR0, Package (0x01)  // _PR0: Power Resources for D0
> 
> original bugreport: https://bugzilla.kernel.org/show_bug.cgi?id=187621

Looks good to me, both:

Acked-by: Vinod Koul <vinod.koul@intel.com>

> 
> v3: Fixed patch descriptions
> v2: Splited patch to codec and sst parts
> 
> 
> Alexandrov Stansilav (2):
>   ASoc: rt5640: Add "10EC3276" ACPI ID
>   ASoC: Intel: Atom: Add HP Pavilion x2 10 10-p000 machine entry
> 
>  sound/soc/codecs/rt5640.c           | 1 +
>  sound/soc/intel/atom/sst/sst_acpi.c | 2 ++
>  2 files changed, 3 insertions(+)
> 
> -- 
> 2.10.2
> 

-- 
~Vinod

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v3 0/2] ASoC: Add support for rt5640 sound card found on HP Pavilion x2 10-p000 tablet.
  2017-01-06  7:07 ` [PATCH v3 0/2] ASoC: Add support for rt5640 sound card found on HP Pavilion x2 10-p000 tablet Vinod Koul
@ 2017-01-13 20:48   ` Pierre-Louis Bossart
  2017-01-16 18:15     ` Mark Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Pierre-Louis Bossart @ 2017-01-13 20:48 UTC (permalink / raw)
  To: Vinod Koul, Alexandrov Stansilav; +Cc: alsa-devel, Mark Brown



On 01/06/2017 01:07 AM, Vinod Koul wrote:
> On Fri, Jan 06, 2017 at 03:09:45AM +0300, Alexandrov Stansilav wrote:
>> Inside DSDT table there is record for this soundcard:
>>
>>              Device (RTKC)
>>              {
>>                  Name (_ADR, Zero)  // _ADR: Address
>>                  Name (_HID, "10EC3276")  // _HID: Hardware ID
>>                  Name (_CID, "10EC3276")  // _CID: Compatible ID
>>                  Name (_DDN, "ALC3276")  // _DDN: DOS Device Name
>>                  Name (_SUB, "103C827C")  // _SUB: Subsystem ID
>>                  Name (_PR0, Package (0x01)  // _PR0: Power Resources for D0
>>
>> original bugreport: https://bugzilla.kernel.org/show_bug.cgi?id=187621
> Looks good to me, both:
>
> Acked-by: Vinod Koul <vinod.koul@intel.com>

Mark was not CC:ed, not sure if he saw these two patches?
I have another patch to fix Bugzilla 156191 and add cht+rt5651 in the 
machine driver list, this will conflict if this set is not merged first.
Thanks!

>
>> v3: Fixed patch descriptions
>> v2: Splited patch to codec and sst parts
>>
>>
>> Alexandrov Stansilav (2):
>>    ASoc: rt5640: Add "10EC3276" ACPI ID
>>    ASoC: Intel: Atom: Add HP Pavilion x2 10 10-p000 machine entry
>>
>>   sound/soc/codecs/rt5640.c           | 1 +
>>   sound/soc/intel/atom/sst/sst_acpi.c | 2 ++
>>   2 files changed, 3 insertions(+)
>>
>> -- 
>> 2.10.2
>>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v3 0/2] ASoC: Add support for rt5640 sound card found on HP Pavilion x2 10-p000 tablet.
  2017-01-13 20:48   ` Pierre-Louis Bossart
@ 2017-01-16 18:15     ` Mark Brown
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2017-01-16 18:15 UTC (permalink / raw)
  To: Pierre-Louis Bossart; +Cc: Vinod Koul, Alexandrov Stansilav, alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 164 bytes --]

On Fri, Jan 13, 2017 at 02:48:42PM -0600, Pierre-Louis Bossart wrote:

> Mark was not CC:ed, not sure if he saw these two patches?

Not if they weren't sent to me.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-01-16 18:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-06  0:09 [PATCH v3 0/2] ASoC: Add support for rt5640 sound card found on HP Pavilion x2 10-p000 tablet Alexandrov Stansilav
2017-01-06  0:09 ` [PATCH v3 1/2] ASoC: rt5640: Add "10EC3276" ACPI ID Alexandrov Stansilav
2017-01-06  0:09 ` [PATCH v3 2/2] ASoC: Intel: Atom: Add HP Pavilion x2 10-p000 machine entry Alexandrov Stansilav
2017-01-06  7:07 ` [PATCH v3 0/2] ASoC: Add support for rt5640 sound card found on HP Pavilion x2 10-p000 tablet Vinod Koul
2017-01-13 20:48   ` Pierre-Louis Bossart
2017-01-16 18:15     ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).