10 Feb
2020
10 Feb
'20
7:51 p.m.
On Tue, Feb 04, 2020 at 11:41:37AM +0800, Jeff Chang wrote:
From: Jeff Chang jeff_chang@richtek.com
- add parsing register initial table via device tree.
- 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.