Hi Jiaxin, On Wed, Apr 06, 2022 at 06:05:14PM +0800, Jiaxin Yu wrote: > To support machine that only choose one of the rt5682s and rt5682 as > headset codec, adds new compatible string "mt8192_mt6359_rt1015p_rt5682s". > Meanwhile, using macros to simplifies card name and compatible name. That first sentence is particularly confusing to me. Suggestion for the commit message: Add support for using the rt5682s codec together with rt1015p on mt8192-mt6359 machines. All configurations are shared with the rt5682 codec variant, so simply select the SND_SOC_RT5682S config to ensure the codec is present and set the correct card name. The codec will be linked to by pointing to it in the headset-codec property in the devicetree. While at it, also create macros for the names of the different codec variants supported by this driver, as well as rename occurrences of rt1015p_rt5682 to rt1015p_rt5682x, since they are shared between rt5682 and rt5682s. > > Signed-off-by: Jiaxin Yu <jiaxin.yu@xxxxxxxxxxxx> > Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx> Reviewed-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx> Tested-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx> Thanks, Nícolas