Skip to contentSkip to conversation

ASoC: Intel: kbl: update dmic fixup params

PATCH RESEND Vinod Koul 4 participants 8 messages Nov 17, 2017 – Dec 1, 2017 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Vinod Koul

author Acked-by
#1 lore raw
Quoted 10 lines · Naveen Manohar

Hi Mark,

These are resend of an already acked patch series.
I posted it a week ago but there has been update on the base branch. I want to resend these. Kindly review and merge.

Update dmic fixup params to always expose QUAD channel capture device, enabling User-space to control channel count.
Assign min and max channel only based on input hw_params. And removes choosing the channel count based on pdata.

Quoted 10 lines

Naveen Manohar (2):
ASoC: Intel: kbl: Remove option of choosing CH count based on pdata
ASoC: Intel: kbl: update dmic fixup params

 sound/soc/intel/boards/kbl_rt5663_max98927.c | 44 +++++++++-------------------
 1 file changed, 14 insertions(+), 30 deletions(-)
Signature · 1 line
1.9.1
Signature · 1 line
~Vinod

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Re: [PATCH RESEND 1/2] ASoC: Intel: kbl: Remove option of choosing CH count based on pdata

Quoted 5 lines · Naveen Manohar

Remove option of choosing channel count based on pdata for kbl_rt5663_max98927 machine driver.
As User-space expects 4ch DMIC data and uses channel-map in ucm to figure-out the desired channel to use, Hence removing driver change to allow choosing channels.

To repeat my previous question which I don't seem to see a response to:

| Which userspace and are you sure there are no boards that only have two | of the mics?

author
#4 lore raw

Re: [PATCH RESEND 1/2] ASoC: Intel: kbl: Remove option of choosing CH count based on pdata

Quoted 11 lines · Mark Brown
Quoted 5 lines · Naveen Manohar

Remove option of choosing channel count based on pdata for kbl_rt5663_max98927 machine driver.
As User-space expects 4ch DMIC data and uses channel-map in ucm to figure-out the desired channel to use, Hence removing driver change to allow choosing channels.

To repeat my previous question which I don't seem to see a response to:

| Which userspace and are you sure there are no boards that only have two | of the mics?

I am not sure why Naveen didn't respond, I will ask around.

FWIW the userspace in question is CRAS. CRAS wants to manage MICs and would *know* how many MICs are on the board and would work with PCM data accordingly...

Signature · 1 line
~Vinod
#5 lore raw

Re: [alsa-devel] [PATCH RESEND 1/2] ASoC: Intel: kbl: Remove option of choosing CH count based on pdata

Quoted 8 lines · Vinod Koul
Quoted 7 lines · Mark Brown
Quoted 5 lines · Naveen Manohar

Remove option of choosing channel count based on pdata for kbl_rt5663_max98927 machine driver.
As User-space expects 4ch DMIC data and uses channel-map in ucm to figure-out the desired channel to use, Hence removing driver change to allow choosing channels.

Quoted 7 lines
Quoted 4 lines

To repeat my previous question which I don't seem to see a response to:

| Which userspace and are you sure there are no boards that only have two | of the mics?

I am not sure why Naveen didn't respond, I will ask around.

My Bad, my apologies to Mark.
I did try replying but message wasn't sent from my outbox which I'm noticing today after vinod's mail to Mark.
Sorry about missing this, it's due to mutt configuration in linux that got corrupted recently in my work-mac, making my replies for patches un-sent.

Regarding the Query:
As Vinod mentioned, I'm working on Chrome OS user-space stack that uses customized audio server "CRAS".
These patches are verified on a board that has only 2 dmics.

Giving the control to CRAS, enables to select the desired dmic using channel-map configuration in user-space.
Ex:Rear/Front mic selection for World & Front facing camera scenario

Quoted 7 lines

FWIW the userspace in question is CRAS. CRAS wants to manage MICs and would

*know* how many MICs are on the board and would work with PCM data accordingly...

Signature · 1 line
~Vinod
Signature · 4 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#6 lore raw

Re: [PATCH RESEND 1/2] ASoC: Intel: kbl: Remove option of choosing CH count based on pdata

Quoted 8 lines · Naveen M

Regarding the Query:
As Vinod mentioned, I'm working on Chrome OS user-space stack that uses customized audio server "CRAS".
These patches are verified on a board that has only 2 dmics.

Giving the control to CRAS, enables to select the desired dmic using channel-map configuration in user-space.
Ex:Rear/Front mic selection for World & Front facing camera scenario

People do run non-ChromeOS installs on their Chromebooks so we can't just assume that there's nobody out there with a regular distro on this hardware - a user like this reported the problems with the ABI for topology files breaking for example.

#7 lore raw

Re: [PATCH RESEND 1/2] ASoC: Intel: kbl: Remove option of choosing CH count based on pdata

Quoted 7 lines · Mark Brown
Quoted 5 lines · Naveen M

Regarding the Query:
As Vinod mentioned, I'm working on Chrome OS user-space stack that uses customized audio server "CRAS".
These patches are verified on a board that has only 2 dmics.

Quoted 8 lines
Quoted 3 lines

Giving the control to CRAS, enables to select the desired dmic using channel-map configuration in user-space.
Ex:Rear/Front mic selection for World & Front facing camera scenario

People do run non-ChromeOS installs on their Chromebooks so we can't just assume that there's nobody out there with a regular distro on this hardware - a user like this reported the problems with the ABI for topology files breaking for example.

Valid point indeed.

#8 lore raw

Re: [PATCH RESEND 1/2] ASoC: Intel: kbl: Remove option of choosing CH count based on pdata

In reply to Mark Brown
Quoted 19 lines

-----Original Message-----
From: Mark Brown [mailto:[email protected]]
Sent: Thursday, November 30, 2017 4:45 PM
To: M, Naveen <[email protected]>
Cc: Koul, Vinod <[email protected]>; [email protected]; Bossart, Pierre-louis <[email protected]>; Prusty, Subhransu S <[email protected]>
Subject: Re: [PATCH RESEND 1/2] ASoC: Intel: kbl: Remove option of choosing CH count based on pdata

Quoted 5 lines · Naveen M

Regarding the Query:
As Vinod mentioned, I'm working on Chrome OS user-space stack that uses customized audio server "CRAS".
These patches are verified on a board that has only 2 dmics.

Quoted 8 lines
Quoted 3 lines

Giving the control to CRAS, enables to select the desired dmic using channel-map configuration in user-space.
Ex:Rear/Front mic selection for World & Front facing camera scenario

People do run non-ChromeOS installs on their Chromebooks so we can't just assume that there's nobody out there with a regular distro on this hardware - a user like this reported the problems with the ABI for topology files breaking for example.

Understood the point,
shall discuss and work internally with team and reply back. Thanks

#9 lore raw

Re: [PATCH RESEND 1/2] ASoC: Intel: kbl: Remove option of choosing CH count based on pdata

In reply to Vinod Koul
Quoted 8 lines · Vinod Koul
Quoted 7 lines · Mark Brown
Quoted 5 lines · Naveen Manohar

Remove option of choosing channel count based on pdata for kbl_rt5663_max98927 machine driver.
As User-space expects 4ch DMIC data and uses channel-map in ucm to figure-out the desired channel to use, Hence removing driver change to allow choosing channels.

Quoted 7 lines
Quoted 4 lines

To repeat my previous question which I don't seem to see a response to:

| Which userspace and are you sure there are no boards that only have two | of the mics?

I am not sure why Naveen didn't respond, I will ask around.

My Bad, my apologies to Mark.
I did try replying but message wasn't sent from my outbox which I'm noticing today after vinod's mail to Mark.
Sorry about missing this, it's due to mutt configuration in linux that got corrupted recently in my work-mac, making my replies for patches un-sent.

Regarding the Query:
As Vinod mentioned, I'm working on Chrome OS user-space stack that uses customized audio server "CRAS".
These patches are verified on a board that has only 2 dmics.

Giving the control to CRAS, enables to select the desired dmic using channel-map configuration in user-space.
Ex:Rear/Front mic selection for World & Front facing camera scenario

Quoted 7 lines

FWIW the userspace in question is CRAS. CRAS wants to manage MICs and would

*know* how many MICs are on the board and would work with PCM data accordingly...

Signature · 1 line
~Vinod