[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1633572679.git.atafalla@dnyon.com>
Date: Thu, 7 Oct 2021 04:38:54 +0200
From: Alejandro Tafalla <atafalla@...on.com>
To: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Andy Shevchenko <andy.shevchenko@...il.com>,
Péter Ujfalusi <peter.ujfalusi@...ux.intel.com>,
~postmarketos/upstreaming@...ts.sr.ht, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Cc: Alejandro Tafalla <atafalla@...on.com>,
Rob Herring <robh+dt@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, devicetree@...r.kernel.org
Subject: [PATCH v4 0/2] Add reset-gpios handling for max98927
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
Powered by blists - more mailing lists