All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Simon Ho <simon.ho.cnxt@gmail.com>
Cc: pierre-louis.bossart@linux.intel.com,
	alsa-devel@alsa-project.org, Simon Ho <simon.ho@conexant.com>,
	tiwai@suse.com, lgirdwood@gmail.com,
	ckeepax@opensource.wolfsonmicro.com
Subject: Re: [PATCH v5 2/2] ASoC: Add support for Conexant CX2092X DSP
Date: Tue, 11 Apr 2017 22:03:08 +0100	[thread overview]
Message-ID: <20170411210308.nx5225tix237mbeo@sirena.org.uk> (raw)
In-Reply-To: <20170410194340.GA2245@GMAIL.COM>


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

On Tue, Apr 11, 2017 at 03:43:40AM +0800, Simon Ho wrote:

> The purpose of the tunnel interface are for debugng and tunning purpose.
> The manufactor can use the them to customized the firmware to suit their
> needs. furtherore, the commands are platform specific and also firmware
> version specific. So that it is impossible to provide such commands in 
> kernel unless we change our firmware design and policy.

Changing that policy does sound like a good idea...  in any case if this
genuinely is just for tuning then I'd suggest removing this from your
initial submission and adding it as a separate patch so as not to slow
down the review of the bit that's used in production systems.

> The device have GPIO pin can be configured as interrupt out pin, this 
> feaures is option, not a must for SR application actually. In addition,
> I think the interrupt is platfrom-specpfic should be configured by 
> Machine driver, am I right? 

No, I'd not expect the machine driver to need to get involved for basic
interrupt functionality - look at how other drivers do interrupts.

> > You really need to address this, a big part of how Linux has got to
> > where it is today is that it doesn't just have custom interfaces for
> > each device but instead generalizes things so that we share good
> > practice and features between devices and users can write Linux
> > applications rather than vendor specific applications.

> Just like DMic, I imagine. The DMIC is not configurable, but it still
> requires a driver to communicate with the reset of the system. This
> won't prevent people from developing the application for DMIC to extend
> its functionality. 

Some components are indeed very simple but they still require
integration with the rest of the system.

> The device send the normal PCM data to host as it claimed by codec
> driver, and we confirmed that the device can work with most SR 
> software without problem.  

Could you please explain how this device works and integrates in the
system, I'm completely at a loss as to how this is supposed to work.
You appear to be saying that the device simply passes through audio and
provides no information to the rest of the system.  That makes it
unclear what function the device is performing.

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

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



      reply	other threads:[~2017-04-11 21:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-06  3:04 [PATCH v5 0/2] ASoC: Add support for Conexant CX2092X DSP simon.ho.cnxt
2017-04-06  3:04 ` [PATCH v5 1/2] doc: cx2092x: Add DT bingings doc for " simon.ho.cnxt
2017-04-06  3:04 ` [PATCH v5 2/2] ASoC: Add support for Conexant " simon.ho.cnxt
2017-04-06  6:13   ` Pierre-Louis Bossart
2017-04-07 11:37   ` Mark Brown
2017-04-10 19:43     ` Simon Ho
2017-04-11 21:03       ` Mark Brown [this message]

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=20170411210308.nx5225tix237mbeo@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=ckeepax@opensource.wolfsonmicro.com \
    --cc=lgirdwood@gmail.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=simon.ho.cnxt@gmail.com \
    --cc=simon.ho@conexant.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.