Received: from r3-72.sinamail.sina.com.cn (r3-72.sinamail.sina.com.cn [202.108.3.72]) (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 616C43346A6 for ; Fri, 10 Apr 2026 07:24:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.108.3.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775805897; cv=none; b=N+bX79VkAW4KJIqx8x9cXW+t8PYPUvNTZCrEWBoHVhwgepqE18YiBB5kym4F40XQjECOwdUE3Fzlz5B7mntUyfHVlOLjhmrd+x8ManX6g/ySYNqd9Ir3rZLnlc5Lf9ZGh0TheeXU0d0fq3DXx1HsYi5FNM8rnykgoWmfj18PcRg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775805897; c=relaxed/simple; bh=UfRhinFGZLY+kgnn+KrtfqYqDnhMF2ig7A8hunZNQqs=; h=From:To:Cc:Subject:Date:Message-Id; b=HmR2GIvcZrK41dKLP1Le3KE0F1TYfnFEbtQ0CaZHAQb/4m82Zkgsdo7FJxreB1J7c9UfvbSLGdjb30KoRHgtBdkz6/Q/rw6WoHEdkI+hOdQ1LxpD67XbVmxhdC5i/4UCNMhWF592Vja2jesFy9S/lruS83H6SOM1dLddJ0rQolk= 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=202.108.3.72 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)([180.154.36.64]) by sina.net (10.54.253.39) with ESMTP id 69D8A5BB00000BB0; Fri, 10 Apr 2026 15:24:44 +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: 54FD81035AF0400C8D127DC92B8AF477 X-SMAIL-UIID: 54FD81035AF0400C8D127DC92B8AF477-20260410-152444 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, Zhang Yi Subject: [PATCH v7 0/5] Add es9356 focused SoundWire CODEC Date: Fri, 10 Apr 2026 15:24:36 +0800 Message-Id: <20260410072441.6111-1-zhangyi@everest-semi.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: This patch chain adds support for the ES9356 PC focused SoundWire CODEC. v7 -> v6: -Provide comments for some parameters -Rename `jack_detect_work` to `interrupt_handle_work` -Add a jack_lock when handling disable_irq in suspend -Adjust the handling procedure when a jack register is incorrectly identified -Replace the custom SOC_SINGLE_Q78_TLV with SDCA_SINGLE_Q78_TLV v6 -> v5: -Handling default values in `button_detect` and `jack_detect` -Add the member `disable_irq` so that interrupts are no longer processed after suspend. -Move the PDE processing to `hw_params` and `hw_free` -Separate JACK_OUT and JACK_IN in hw_params -Simplify reading and writing to SDW_SCP_SDCA_INT1 in the callback -Adjust the scope of `regcache_sync` in the resume v5 -> v4: -Merge patch1 and patch3 -Add vendor_id in codec_info -Use q78_get and q78_set to create Kcontrol -Set mbq_size and use regmap_mbq -An additional helper function to implement DAPM v4 -> v3: -Updated some KControl names -add copyright in soc_sdw_es9356 v3 -> v2: -Removed unnecessary section in soc_sdw_es9356.c -Add `pm_runtime_put_noidle` to `es9356.c` to reduce device incremented count -Updated some KControl names -Fix the error related to jack_report in the codec driver v2 -> v1: -Adjusted mutexes in the ES9356 driver -Use macros to replace certain values -Adjusted some ordering issues in Kconfig. v1 -> v0: -Modified snd_soc_dapm_add_routes in soc_sdw_es9356 Zhang Yi (5): ASoC: sdw_utils: add soc_sdw_es9356 ASoC: sdw_utils: add ES9356 in codec_info_list ASoC: es9356-sdca: Add ES9356 SDCA driver ASoC: Intel: soc-acpi: arl: Add es9356 support ASoC: Intel: sof_sdw: add es9356 support include/sound/soc_sdw_utils.h | 14 + sound/soc/codecs/Kconfig | 7 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/es9356.c | 1156 +++++++++++++++++ sound/soc/codecs/es9356.h | 208 +++ sound/soc/intel/boards/Kconfig | 1 + .../intel/common/soc-acpi-intel-arl-match.c | 52 + sound/soc/sdw_utils/Makefile | 1 + sound/soc/sdw_utils/soc_sdw_es9356.c | 230 ++++ sound/soc/sdw_utils/soc_sdw_utils.c | 50 + 10 files changed, 1721 insertions(+) create mode 100644 sound/soc/codecs/es9356.c create mode 100644 sound/soc/codecs/es9356.h create mode 100644 sound/soc/sdw_utils/soc_sdw_es9356.c -- 2.17.1