From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp153-140.sina.com.cn (smtp153-140.sina.com.cn [61.135.153.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 807AE39E164 for ; Sat, 9 May 2026 10:11:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=61.135.153.140 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778321517; cv=none; b=ij9IScv2oIh4DMDgqtokowZ2JmdEZr4B11Lq34MGMLenc6ft9rhxoR2kUiivMMO9cR0d6whG6Qw8C3jD7dROpC8CZ+7WmOpFDyXuT//PjtsNkJWotUfEkREKIHaRm2rU8EfLVtSKemzSUF+WKm1iw59IDHb0uS6qqGorHnVic+k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778321517; c=relaxed/simple; bh=g2INYjkG7Sytd0bY+5z7ZqUW4Qrp3okWKmHfcuk1x1o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=DEjceWF2O8M3WY+JX96MBdPu02sXY6TYsb87TP8rQYg6hFYiHClH/VmGAOsrcloCEGXXzflkzdQA1dyoed/3HslP1IVja/0XVkDk4JoZbbH7DBclsGaAiz21qt/kXifgXm7TN4il5w7JAdbqD8KyEROYWU2oFfYCboRF4m6BeNA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=everest-semi.com; spf=pass smtp.mailfrom=everest-semi.com; arc=none smtp.client-ip=61.135.153.140 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=everest-semi.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=everest-semi.com Received: from unknown (HELO zy-virtual-machine.localdomain)([58.38.107.94]) by sina.net (10.54.253.36) with ESMTP id 69FF08380000082F; Sat, 9 May 2026 18:11:07 +0800 (CST) X-Sender: zhangyi@everest-semi.com X-Auth-ID: zhangyi@everest-semi.com Authentication-Results: sina.net; spf=none smtp.mailfrom=zhangyi@everest-semi.com; dkim=none header.i=none; dmarc=none action=none header.from=zhangyi@everest-semi.com X-SMAIL-MID: 3D84627C34BF4D029C47EC89A47DD323 X-SMAIL-UIID: 3D84627C34BF4D029C47EC89A47DD323-20260509-181107 From: Zhang Yi To: broonie@kernel.org, tiwai@suse.com, linux-sound@vger.kernel.org Cc: peter.ujfalusi@linux.intel.com, yung-chuan.liao@linux.intel.com, ranjani.sridharan@linux.intel.com, kai.vehmanen@linux.intel.com, ckeepax@opensource.cirrus.com, vkoul@kernel.org, Zhang Yi Subject: [PATCH v12 1/6] ASoC: sdw_utils: add soc_sdw_es9356 Date: Sat, 9 May 2026 18:10:57 +0800 Message-Id: <20260509101102.10286-2-zhangyi@everest-semi.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20260509101102.10286-1-zhangyi@everest-semi.com> References: <20260509101102.10286-1-zhangyi@everest-semi.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Add a utility program for handling ES9356 in the universal machine driver Signed-off-by: Zhang Yi --- include/sound/soc_sdw_utils.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/sound/soc_sdw_utils.h b/include/sound/soc_sdw_utils.h index 489083183..5ddbbc8bb 100644 --- a/include/sound/soc_sdw_utils.h +++ b/include/sound/soc_sdw_utils.h @@ -223,6 +223,17 @@ int asoc_sdw_cs42l43_spk_init(struct snd_soc_card *card, struct asoc_sdw_codec_info *info, bool playback); +/* es9356 codec support */ +int asoc_sdw_es9356_init(struct snd_soc_card *card, + struct snd_soc_dai_link *dai_links, + struct asoc_sdw_codec_info *info, + bool playback); +int asoc_sdw_es9356_amp_init(struct snd_soc_card *card, + struct snd_soc_dai_link *dai_links, + struct asoc_sdw_codec_info *info, + bool playback); +int asoc_sdw_es9356_exit(struct snd_soc_card *card, struct snd_soc_dai_link *dai_link); + /* CS AMP support */ int asoc_sdw_bridge_cs35l56_count_sidecar(struct snd_soc_card *card, int *num_dais, int *num_devs); @@ -274,5 +285,8 @@ int asoc_sdw_ti_amp_init(struct snd_soc_card *card, int asoc_sdw_ti_spk_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); int asoc_sdw_ti_amp_initial_settings(struct snd_soc_card *card, const char *name_prefix); +int asoc_sdw_es9356_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); +int asoc_sdw_es9356_spk_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); +int asoc_sdw_es9356_dmic_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); #endif -- 2.17.1