diff options
author | Ernest Van Hoecke <ernest.vanhoecke@toradex.com> | 2025-03-19 17:20:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-03-20 15:42:29 +0300 |
commit | afe66ef965317381fd2894c2eba144b38b791910 (patch) | |
tree | e286f178f234f7c6303b335a6c064c1dcb928b5f /lib/string_helpers.c | |
parent | bd552e937fc80faa70007f7a4cbbf7edd5a6629a (diff) | |
download | linux-afe66ef965317381fd2894c2eba144b38b791910.tar.xz |
ASoC: wm8904: get platform data from DT
Read in optional codec-specific properties from the device tree.
The platform_data structure is not populated when using device trees.
This change parses optional dts properties to populate it.
- wlf,in1l-as-dmicdat1
- wlf,in1r-as-dmicdat2
- wlf,gpio-cfg
- wlf,micbias-cfg
- wlf,drc-cfg-regs
- wlf,drc-cfg-names
- wlf,retune-mobile-cfg-regs
- wlf,retune-mobile-cfg-names
- wlf,retune-mobile-cfg-hz
Datasheet: https://statics.cirrus.com/pubs/proDatasheet/WM8904_Rev4.1.pdf
Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250319142059.46692-5-francesco@dolcini.it
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions