diff options
author | Mark Brown <broonie@kernel.org> | 2021-10-07 22:24:59 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-07 22:24:59 +0100 |
commit | 06a0fc36a5292ad35ee5768be110b5453a639c1d (patch) | |
tree | 751a1312ab5fca8678f4fb6d336c22a1e6f8ceed /sound/soc/intel | |
parent | 99f11b6552fa36da107a6a92773a11109107b686 (diff) | |
parent | b23d3189c038c091adc8de382d20a8f5321645a1 (diff) | |
download | linux-06a0fc36a5292ad35ee5768be110b5453a639c1d.tar.gz linux-06a0fc36a5292ad35ee5768be110b5453a639c1d.tar.bz2 linux-06a0fc36a5292ad35ee5768be110b5453a639c1d.zip |
Merge series "Add reset-gpios handling for max98927" from Alejandro Tafalla <atafalla@dnyon.com>:
The max98927 codec on some devices (i.e. Xiaomi Mi A2 Lite phone) requires
hardware-resetting the codec by driving a reset-gpio. This series adds
support for it through an optional reset-gpios property.
v4:
* Correctly assert/deassert the GPIO states
* Wait for the i2c port to be ready after reset
* Reset device when removed
v3:
* Fix indentation on the dev_err_probe line
v2:
* Use dev_err_probe instead of dev_err
Alejandro Tafalla (2):
ASoC: max98927: Handle reset gpio when probing i2c
dt-bindings: sound: max98927: Add reset-gpios optional property
.../devicetree/bindings/sound/max9892x.txt | 3 +++
sound/soc/codecs/max98927.c | 25 +++++++++++++++++++
sound/soc/codecs/max98927.h | 1 +
3 files changed, 29 insertions(+)
--
2.33.0
Diffstat (limited to 'sound/soc/intel')
0 files changed, 0 insertions, 0 deletions