From patchwork Sun Jun 6 00:40:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brent Lu X-Patchwork-Id: 12301763 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94E91C47082 for ; Sun, 6 Jun 2021 01:02:23 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2AEFF6140F for ; Sun, 6 Jun 2021 01:02:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2AEFF6140F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id DC4D8170A; Sun, 6 Jun 2021 03:01:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DC4D8170A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1622941339; bh=HhX1N0wEEjoMVbB6RIXwjmS/nr3OA2BaKkjPcagQEuw=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=ZcdJZESwc7e4eXIzcdXq+FBeSgsYzw0NwqumdsRHOdoWXfDnX1VmxygNkrl3jzNnk LBdT56AEJDSUEBWLkBtcTNIEMpLgajOKWqJCg/O4v7qIJ+sgY5+vztLAAUQEO8avek prWQ7OHV/bu9EYc0V4xtCB1oBCQXJp6lbUlggD3U= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6485AF8016D; Sun, 6 Jun 2021 03:01:29 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id DC3DFF80253; Sun, 6 Jun 2021 03:01:24 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id AC2DCF80155 for ; Sun, 6 Jun 2021 03:01:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AC2DCF80155 IronPort-SDR: WoF7leh5rehY/kIxaqbTQNdmH6fmCdzNMlFotUkZOq0E4Gk9bTFqbtpaEfwW+Ei5YmDkPRvKbW yw6Tq6IOKMnQ== X-IronPort-AV: E=McAfee;i="6200,9189,10006"; a="225797729" X-IronPort-AV: E=Sophos;i="5.83,252,1616482800"; d="scan'208";a="225797729" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2021 18:01:16 -0700 IronPort-SDR: 8gAI/qrO6aPqbZyaDWytxL5LkckqlbCZJl4rgQ68lj1xViPc1LkcG6gXqRmxAWG5JwBuW0ASAm 5jY24llwIKzQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,252,1616482800"; d="scan'208";a="412724626" Received: from brentlu-desk0.itwn.intel.com ([10.5.253.32]) by fmsmga007.fm.intel.com with ESMTP; 05 Jun 2021 18:01:12 -0700 From: Brent Lu To: alsa-devel@alsa-project.org Subject: [PATCH 0/4] Support CS42L42 on JSL platform Date: Sun, 6 Jun 2021 08:40:58 +0800 Message-Id: <20210606004102.26190-1-brent.lu@intel.com> X-Mailer: git-send-email 2.17.1 Cc: Guennadi Liakhovetski , Cezary Rojewski , Kuninori Morimoto , Rander Wang , Jie Yang , Takashi Iwai , Liam Girdwood , Bard Liao , Vamshi Krishna Gopal , Pierre-Louis Bossart , Fred Oh , Tzung-Bi Shih , Ranjani Sridharan , Yong Zhi , Dharageswari R , Mark Brown , Sathyanarayana Nujella , Naveen Manohar , Brent Lu , Kai Vehmanen , linux-kernel@vger.kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This series consists four patches. Patch 1 adds dai sequence support for cml/jsl/tgl platforms which is different from the sequence on glk platform. Patch 2 adds max98360a support to the maxim-common module. Patch 3 adds driver data for jsl_cs4242_mx98360a which supports cs42l42 and max98360a running on jsl boards. Patch 4 refactor the sof_rt5682 to use the max98360 code in the maxim-common module. Brent Lu (4): ASoC: Intel: sof_cs42l42: support JSL DAI link sequence ASoC: Intel: maxim-common: support max98360a ASoC: intel: sof_cs42l42: add support for jsl_cs4242_mx98360a ASoC: Intel: sof_rt5682: code refactor for max98360a sound/soc/intel/boards/sof_cs42l42.c | 340 ++++++++++++------ sound/soc/intel/boards/sof_maxim_common.c | 17 +- sound/soc/intel/boards/sof_maxim_common.h | 4 +- sound/soc/intel/boards/sof_rt5682.c | 52 +-- .../intel/common/soc-acpi-intel-jsl-match.c | 8 + 5 files changed, 254 insertions(+), 167 deletions(-)