From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 9A30CC47082 for ; Mon, 7 Jun 2021 14:43:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7EB45610C7 for ; Mon, 7 Jun 2021 14:43:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230288AbhFGOo7 (ORCPT ); Mon, 7 Jun 2021 10:44:59 -0400 Received: from mga09.intel.com ([134.134.136.24]:20750 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230266AbhFGOo5 (ORCPT ); Mon, 7 Jun 2021 10:44:57 -0400 IronPort-SDR: FwZyGfmcnoe3T8G35QN+UKwETiOeVv6tF4r4l5MCz+uDPon/OsyuNvxcUTugp4tXPuGC8ny5CW tv3vn5s/DmLg== X-IronPort-AV: E=McAfee;i="6200,9189,10008"; a="204602881" X-IronPort-AV: E=Sophos;i="5.83,255,1616482800"; d="scan'208";a="204602881" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2021 07:43:06 -0700 IronPort-SDR: CeHH2bAx8sbXJSgflxrJfs1CIzAPWJ5w8atWCRvUHRcBtt4VcLlUvP21ft1ZLtBUi0afvQkJbG ScBsXQMEP20g== X-IronPort-AV: E=Sophos;i="5.83,255,1616482800"; d="scan'208";a="447503469" Received: from dsanc15x-mobl3.amr.corp.intel.com (HELO [10.251.138.253]) ([10.251.138.253]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2021 07:43:04 -0700 Subject: Re: [PATCH 3/4] ASoC: intel: sof_cs42l42: add support for jsl_cs4242_mx98360a To: "Lu, Brent" , "alsa-devel@alsa-project.org" Cc: Guennadi Liakhovetski , "Rojewski, Cezary" , "R, Dharageswari" , Kuninori Morimoto , Kai Vehmanen , Tzung-Bi Shih , "linux-kernel@vger.kernel.org" , Jie Yang , Takashi Iwai , Liam Girdwood , "Zhi, Yong" , Mark Brown , Ranjani Sridharan , "M, Naveen" , "Wang, Rander" , Bard Liao , Fred Oh , "Gopal, Vamshi Krishna" , "Nujella, Sathyanarayana" References: <20210606004102.26190-1-brent.lu@intel.com> <20210606004102.26190-4-brent.lu@intel.com> <505c7e46-316c-9fa1-feaa-115f4561ed19@linux.intel.com> From: Pierre-Louis Bossart Message-ID: Date: Mon, 7 Jun 2021 09:43:02 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/7/21 9:29 AM, Lu, Brent wrote: >> On 6/5/21 7:41 PM, Brent Lu wrote: >>> This patch adds driver data for jsl_cs4242_mx98360a which supports two >>> max98360a speaker amplifiers on SSP1 and cs42l42 headphone codec on >>> SSP0 running on JSL platform. DAI format is leveraged from sof_rt5682 >>> machine driver to reuse the topology. >> >> This also looks like we have two topologies configuring the same DAIs >> differently on different platforms. >> >> Why can't we pick one configuration that would work in all cases? >> > > The comment just say we are reusing rt5685's sof-jsl-rt5682-mx98360a.tplg. > This patch does not care about the dai sequence. Maybe I should reword the > commit log. I was referring to the bclk frequency, one case uses 2.4 and the other 3.072MHz.