Add dt-bindings for es8326 and codec es8326 support. Remove duplicate code, commonize headset codec init/exit API. At the same time, Enable dual amp max98390 for rt5682s. Changes in v9: - PATCH 3/4: Add comment for MAX98390_TWO_AMP. - Link to v8: https://lore.kernel.org/all/20231208070933.720324-1-zhourui@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Changes in v8: - PATCH 3/4: Change the #define ES8326_CODEC_DAI macro definition and filter the es8326 widget - Link to v7: https://lore.kernel.org/all/20231116093512.4180240-1-zhourui@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Changes in v7: - PATCH 3/4: Completion "}" - Link to v6: https://lore.kernel.org/all/20231116073106.3757618-1-zhourui@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Changes in v6: - PATCH 2/4: add a patch, commonize headset codec init/exit API - PATCH 3/4: Remove generalized code - Link to v5: https://lore.kernel.org/all/20231115090903.578438-1-zhourui@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Changes in v5: - PATCH 2/3: Change the names of some apis - Link to v4: https://lore.kernel.org/all/20231115085329.541764-1-zhourui@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Changes in v4: - PATCH 2/3: Change the names of some apis - PATCH 3/3: Change commit description - Link to v3: https://lore.kernel.org/all/20231108063804.592982-1-zhourui@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Changes in v3: - PATCH 3/3: Change theme description - Link to v2: https://lore.kernel.org/all/20231108012617.3973539-1-zhourui@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Changes in v2: - PATCH 1/3: Change ES8326 location in bindings - PATCH 3/3: Change theme description - Link to v1: https://lore.kernel.org/all/20231107031442.2768765-1-zhourui@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Rui Zhou (4): ASoC: dt-bindings: mt8188-mt6359: add es8326 support ASoC: mediatek: mt8188-mt6359: commonize headset codec init/exit api ASoC: mediatek: mt8188-mt6359: add es8326 support ASoC: mediatek: mt8188-mt6359: Enable dual amp for mt8188-rt5682s .../sound/mediatek,mt8188-mt6359.yaml | 1 + sound/soc/mediatek/Kconfig | 1 + sound/soc/mediatek/mt8188/mt8188-mt6359.c | 125 +++++++++--------- 3 files changed, 63 insertions(+), 64 deletions(-) -- 2.25.1