[PATCH v1 0/5] Add missing reset controls to NVIDIA Tegra ASoC drivers

From: Dmitry Osipenko
Date: Tue Mar 02 2021 - 06:58:51 EST


Hi,

This series adds missing hardware reset controls to I2S and AC97 drivers.
Currently drivers happen to work properly because reset is implicitly
deasserted by tegra-clk driver, but clk driver shouldn't touch the resets
and we need to fix it because this breaks other Tegra drivers. Previously
we fixed the resets of the AHUB and HDMI codec drivers, but turned out
that we missed the I2C and AC97 drivers.

Thanks to Paul Fertser for testing the pending clk patches and finding
that audio got broken on Tegra20 AC100 netbook because of the missing I2S
reset.

Dmitry Osipenko (5):
reset: Allow devm_reset_control_array_get() to get resets in a
released state
reset: Add devm_reset_control_array_get_exclusive_released()
ASoC: tegra20: ac97: Add reset control
ASoC: tegra20: i2s: Add reset control
ASoC: tegra30: i2s: Add reset control

drivers/reset/core.c | 8 ++++++--
include/linux/reset.h | 20 +++++++++++++------
sound/soc/tegra/tegra20_ac97.c | 21 ++++++++++++++++++++
sound/soc/tegra/tegra20_ac97.h | 1 +
sound/soc/tegra/tegra20_i2s.c | 31 +++++++++++++++++++++++++++++
sound/soc/tegra/tegra20_i2s.h | 1 +
sound/soc/tegra/tegra30_ahub.c | 14 ++++++++++---
sound/soc/tegra/tegra30_i2s.c | 36 +++++++++++++++++++++++++++++++++-
sound/soc/tegra/tegra30_i2s.h | 1 +
9 files changed, 121 insertions(+), 12 deletions(-)

--
2.29.2