[PATCH v3 0/2] ASoC: meson: g12a-toacodec: add support for SM1

From: Neil Armstrong
Date: Tue May 11 2021 - 03:48:39 EST


This patchset adds Amlogic SM1 support on the TOACODEC driver, first by switching
to regmap fields for some bit fields to avoid code duplication, and then by adding
the corresponding bits & struct for the SM1 changed bits.

Changes since v2 at [2]:
- use raw values instead of defines in REG_FIELD() for g12a_toacodec_match_data

Changes since v1 at [1]:
- switch to regmap field

[1] https://lore.kernel.org/r/20210429170147.3615883-1-narmstrong@xxxxxxxxxxxx
[2] https://lore.kernel.org/r/20210505072607.3815442-1-narmstrong@xxxxxxxxxxxx

Neil Armstrong (2):
ASoC: meson: g12a-toacodec: use regmap fields to prepare SM1 support
ASoC: meson: g12a-toacodec: add support for SM1 TOACODEC

sound/soc/meson/g12a-toacodec.c | 143 +++++++++++++++++++++++++++-----
1 file changed, 124 insertions(+), 19 deletions(-)

--
2.25.1