All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>,
	alsa-devel@alsa-project.org,
	Ryan Lee <ryans.lee@maximintegrated.com>,
	tiwai@suse.de, gregkh@linuxfoundation.org, vkoul@kernel.org,
	Naveen Manohar <naveen.m@intel.com>,
	Bard liao <yung-chuan.liao@linux.intel.com>,
	Rander Wang <rander.wang@linux.intel.com>
Subject: Re: [PATCH] ASoC: codecs: Added MAX98373 Soundwire Driver
Date: Thu, 18 Jun 2020 16:10:46 +0100	[thread overview]
Message-ID: <20200618151046.GK5789@sirena.org.uk> (raw)
In-Reply-To: <d3bb399f-3af9-666d-054d-e4a1dda1dfb4@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

On Thu, Jun 18, 2020 at 07:42:25AM -0500, Pierre-Louis Bossart wrote:

> > The DT bindings need updating to add SoundWire support.

> Interesting. The properties are the same in I2C and SoundWire mode, so would
> we need a completely different file that just specifies the SoundWire
> DeviceID, e.g.

> properties:
>   compatible:
>     const: sdw10217201000

> What's the process for such dual-mode devices?

I'd hope it could be added to the existing bindings document like for
other dual bus devices.

> > > +	regmap_write(max98373->regmap,
> > > +		     MAX98373_R203D_AMP_DIG_VOL_CTRL,
> > > +		     0x00);
> > > +	regmap_write(max98373->regmap,
> > > +		     MAX98373_R203E_AMP_PATH_GAIN,
> > > +		     0x00);

> > I'd expect these to be chip defaults, especially the volumes.

> The same sequence is already used in the I2C probe. if this needs to change,
> it's got to be applied for both cases.

Yes, it should.

> We should probably cut the common parts out, as done for rt5682. Ryan, can
> you look into this.

Indeed.

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

  reply	other threads:[~2020-06-18 15:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-17 16:30 [PATCH] ASoC: codecs: Added MAX98373 Soundwire Driver Pierre-Louis Bossart
2020-06-18 11:09 ` Mark Brown
2020-06-18 12:42   ` Pierre-Louis Bossart
2020-06-18 15:10     ` Mark Brown [this message]
2020-06-18 22:07       ` Ryan Lee

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=20200618151046.GK5789@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=guennadi.liakhovetski@linux.intel.com \
    --cc=naveen.m@intel.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=rander.wang@linux.intel.com \
    --cc=ryans.lee@maximintegrated.com \
    --cc=tiwai@suse.de \
    --cc=vkoul@kernel.org \
    --cc=yung-chuan.liao@linux.intel.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.