All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierluigi Passaro <pierluigi.p@variscite.com>
To: Mark Brown <broonie@kernel.org>
Cc: Alifer Willians de Moraes <alifer.m@variscite.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	Eran Matityahu <eran.m@variscite.com>,
	"festevam@gmail.com" <festevam@gmail.com>,
	"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	"nicoleotsuka@gmail.com" <nicoleotsuka@gmail.com>,
	"patches@opensource.cirrus.com" <patches@opensource.cirrus.com>,
	"perex@perex.cz" <perex@perex.cz>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	"shengjiu.wang@gmail.com" <shengjiu.wang@gmail.com>,
	"tiwai@suse.com" <tiwai@suse.com>,
	"Xiubo.Lee@gmail.com" <Xiubo.Lee@gmail.com>
Subject: Re: [PATCH 4/4] ASoC: wm8904: add DMIC support
Date: Mon, 20 Jun 2022 15:30:45 +0000	[thread overview]
Message-ID: <AM6PR08MB437600972B26E3A56E1190C0FFB09@AM6PR08MB4376.eurprd08.prod.outlook.com> (raw)

> > > Via firmware description.

> > Can you please provide any reference approach in the kernel code ?

> git grep of_
> git grep fwnode_

> and I don't immediately remember what the prefix is for ACPI functions.

Just for my understanding, are you suggesting to set a device tree property to force a fixed behavior in the driver ?
WM8904 allows using both a DMIC and LINEIN, switching between one or the other and this is how we currently use it.
Why the user should not be allowed to switch between DMIC and LINEIN ?

WARNING: multiple messages have this Message-ID (diff)
From: Pierluigi Passaro <pierluigi.p@variscite.com>
To: Mark Brown <broonie@kernel.org>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	"nicoleotsuka@gmail.com" <nicoleotsuka@gmail.com>,
	"Xiubo.Lee@gmail.com" <Xiubo.Lee@gmail.com>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	"shengjiu.wang@gmail.com" <shengjiu.wang@gmail.com>,
	"tiwai@suse.com" <tiwai@suse.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
	Eran Matityahu <eran.m@variscite.com>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	Alifer Willians de Moraes <alifer.m@variscite.com>,
	"patches@opensource.cirrus.com" <patches@opensource.cirrus.com>,
	"festevam@gmail.com" <festevam@gmail.com>
Subject: Re: [PATCH 4/4] ASoC: wm8904: add DMIC support
Date: Mon, 20 Jun 2022 15:30:45 +0000	[thread overview]
Message-ID: <AM6PR08MB437600972B26E3A56E1190C0FFB09@AM6PR08MB4376.eurprd08.prod.outlook.com> (raw)

> > > Via firmware description.

> > Can you please provide any reference approach in the kernel code ?

> git grep of_
> git grep fwnode_

> and I don't immediately remember what the prefix is for ACPI functions.

Just for my understanding, are you suggesting to set a device tree property to force a fixed behavior in the driver ?
WM8904 allows using both a DMIC and LINEIN, switching between one or the other and this is how we currently use it.
Why the user should not be allowed to switch between DMIC and LINEIN ?

WARNING: multiple messages have this Message-ID (diff)
From: Pierluigi Passaro <pierluigi.p@variscite.com>
To: Mark Brown <broonie@kernel.org>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	"nicoleotsuka@gmail.com" <nicoleotsuka@gmail.com>,
	"Xiubo.Lee@gmail.com" <Xiubo.Lee@gmail.com>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	"shengjiu.wang@gmail.com" <shengjiu.wang@gmail.com>,
	"tiwai@suse.com" <tiwai@suse.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
	Eran Matityahu <eran.m@variscite.com>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	Alifer Willians de Moraes <alifer.m@variscite.com>,
	"patches@opensource.cirrus.com" <patches@opensource.cirrus.com>,
	"perex@perex.cz" <perex@perex.cz>,
	"festevam@gmail.com" <festevam@gmail.com>
Subject: Re: [PATCH 4/4] ASoC: wm8904: add DMIC support
Date: Mon, 20 Jun 2022 15:30:45 +0000	[thread overview]
Message-ID: <AM6PR08MB437600972B26E3A56E1190C0FFB09@AM6PR08MB4376.eurprd08.prod.outlook.com> (raw)

> > > Via firmware description.

> > Can you please provide any reference approach in the kernel code ?

> git grep of_
> git grep fwnode_

> and I don't immediately remember what the prefix is for ACPI functions.

Just for my understanding, are you suggesting to set a device tree property to force a fixed behavior in the driver ?
WM8904 allows using both a DMIC and LINEIN, switching between one or the other and this is how we currently use it.
Why the user should not be allowed to switch between DMIC and LINEIN ?

             reply	other threads:[~2022-06-20 15:31 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-20 15:30 Pierluigi Passaro [this message]
2022-06-20 15:30 ` [PATCH 4/4] ASoC: wm8904: add DMIC support Pierluigi Passaro
2022-06-20 15:30 ` Pierluigi Passaro
2022-06-20 17:38 ` Mark Brown
2022-06-20 17:38   ` Mark Brown
2022-06-20 17:38   ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2022-06-20 17:52 Pierluigi Passaro
2022-06-20 17:52 ` Pierluigi Passaro
2022-06-20 17:52 ` Pierluigi Passaro
2022-06-20 18:04 ` Mark Brown
2022-06-20 18:04   ` Mark Brown
2022-06-20 18:04   ` Mark Brown
2022-06-20 15:03 Pierluigi Passaro
2022-06-20 15:03 ` Pierluigi Passaro
2022-06-20 15:03 ` Pierluigi Passaro
2022-06-20 15:09 ` Mark Brown
2022-06-20 15:09   ` Mark Brown
2022-06-20 15:09   ` Mark Brown
2022-06-20 14:49 Pierluigi Passaro
2022-06-20 14:49 ` Pierluigi Passaro
2022-06-20 14:49 ` Pierluigi Passaro
2022-06-20 14:56 ` Mark Brown
2022-06-20 14:56   ` Mark Brown
2022-06-20 14:56   ` Mark Brown
2022-03-07 14:10 [PATCH 1/4] ASoC: fsl-asoc-card: add WM8904 support Alifer Moraes
2022-03-07 14:10 ` [PATCH 4/4] ASoC: wm8904: add DMIC support Alifer Moraes
2022-03-07 14:10   ` Alifer Moraes
2022-03-07 14:10   ` Alifer Moraes
2022-03-07 16:25   ` Mark Brown
2022-03-07 16:25     ` Mark Brown
2022-03-07 16:25     ` Mark Brown
2022-06-20 19:53   ` Pierluigi Passaro
2022-06-20 19:53     ` Pierluigi Passaro
2022-06-20 19:53     ` Pierluigi Passaro
2022-06-21 13:11     ` Mark Brown
2022-06-21 13:11       ` Mark Brown
2022-06-21 13:11       ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM6PR08MB437600972B26E3A56E1190C0FFB09@AM6PR08MB4376.eurprd08.prod.outlook.com \
    --to=pierluigi.p@variscite.com \
    --cc=Xiubo.Lee@gmail.com \
    --cc=alifer.m@variscite.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=eran.m@variscite.com \
    --cc=festevam@gmail.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=nicoleotsuka@gmail.com \
    --cc=patches@opensource.cirrus.com \
    --cc=perex@perex.cz \
    --cc=robh+dt@kernel.org \
    --cc=shengjiu.wang@gmail.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.