[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200210185121.GC14166@sirena.org.uk>
Date: Mon, 10 Feb 2020 18:51:21 +0000
From: Mark Brown <broonie@...nel.org>
To: Jeff Chang <richtek.jeff.chang@...il.com>
Cc: lgirdwood@...il.com, perex@...ex.cz, tiwai@...e.com,
matthias.bgg@...il.com, alsa-devel@...a-project.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
jeff_chang@...htek.com
Subject: Re: [PATCH] ASoC: MT6660 update to 1.0.8_G
On Tue, Feb 04, 2020 at 11:41:37AM +0800, Jeff Chang wrote:
> From: Jeff Chang <jeff_chang@...htek.com>
>
> 1. add parsing register initial table via device tree.
> 2. add applying initial register value function at component driver.
OK, so there's still a problem with the whole concept of putting
"initial register settings" in the device tree - this is clearly not
idiomatic for an ASoC driver. If there are machine specific settings
that need to be done unconditionally (eg, values controlled by external
passive components) there should be specific properties for them. If
there are runtime options these should be normal ALSA controls with the
default values being whatever the hardware defaults are. If there are
things that should just always be set no matter what then they should
just be hard coded into the driver.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists