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=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 9088BC433DB for ; Fri, 19 Feb 2021 10:36:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4FBFB64EC4 for ; Fri, 19 Feb 2021 10:36:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229958AbhBSKgd (ORCPT ); Fri, 19 Feb 2021 05:36:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbhBSKga (ORCPT ); Fri, 19 Feb 2021 05:36:30 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84D1BC061574 for ; Fri, 19 Feb 2021 02:35:49 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id o15so6574955wmq.5 for ; Fri, 19 Feb 2021 02:35:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=GJzyDbQEHvg9RkTSSUWmUHNbCY2ZbX3arjdVS2a1MdA=; b=Y3dqrshqF9TfTg9lBFRHAc4MLVimbvqcVUlP5n5yYvGF9QcGBOl13ZvykEFpZDSIl3 ZsQdKHSOIGEH98YBVHAY91xzaVGwxYMmbHBht0DmbQqXBbr45Sa9VApxzOBYGOuev5tQ +HG5fxBpQ8PuymjEvpo8mDxSEf+4oryltPfuVi+ExU8l92UtsUKQY48aEcgJzWcdeAqp mDuvl/c23FaZnMcbRL7k5yR8rhgcA6S8LnrdRQpwwKdT0rnC57Bo/ZXKu7FAJ9Or7L3a a+AXFq/Z7P4pzOQwMx8xhgylQ0a1zrT7Jf/vP7W51E8w9go36Gw+R8vcbladaO2TJ667 xM5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GJzyDbQEHvg9RkTSSUWmUHNbCY2ZbX3arjdVS2a1MdA=; b=H6JOiH4NXbw6nfmOH2JtDD/5BDd3ps/oC42D4QLyo8zzclN6m9IzvN7rMBoTAHUp+Y 5pOVe54S+a+ItuMKBPeMLRzisMfQ5vEPgsnU/8/zx9Hv9vUg0fFzenYKWxkRWVvJhRG1 wKyvr0iLx5Hv2jWXDtU02+3XKovfWl7lO0DJ4H2qyYFtk9rnUAfTVy7/k4k+qbf+UzWc mDGmizqd1KYMfh1Iev1Z3cvxlclLbqBa90ASmzW7g9npRrrDFcVeFlKojHQiYiUMk2LG q1GJOazxrklEBj2PNM6kYGCPBlatHSC2eeZz6XFuydGe3GL9n4sAchb5crV8HJb2+x+W bcKg== X-Gm-Message-State: AOAM532htMEqPUkxARBLgfWRk7ZwSky9+1beLst1y6ZfgZaUU4ge6KT9 7/5IZOCh8AbIzFn+0VEMtjFZdpU7wcQ+nQ== X-Google-Smtp-Source: ABdhPJwRUf2mIwFss3MVliBzY3n+8PXZU8YQpwkoTd/sxal4PHFIG7rtsGlvWyEAajW6SS8eX89mjA== X-Received: by 2002:a7b:c756:: with SMTP id w22mr7568203wmk.116.1613730947917; Fri, 19 Feb 2021 02:35:47 -0800 (PST) Received: from [192.168.86.34] (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.googlemail.com with ESMTPSA id q140sm14326786wme.0.2021.02.19.02.35.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Feb 2021 02:35:47 -0800 (PST) Subject: Re: [RFC PATCH 1/2] soundwire: add support for static port mapping To: Vinod Koul Cc: Pierre-Louis Bossart , yung-chuan.liao@linux.intel.com, gregkh@linuxfoundation.org, sanyog.r.kale@intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <9a688b02-80a6-fb1f-d6fa-36ba2d88d3b9@linux.intel.com> <3ee60ad9-9635-649e-ba67-d40a96b25256@linux.intel.com> <487c91f9-f6ea-75c2-9150-52db2de42a3a@linaro.org> <31ff9d2b-760a-374e-5b37-45d8e8116f7b@linaro.org> <20210201102709.GT2771@vkoul-mobl> From: Srinivas Kandagatla Message-ID: Date: Fri, 19 Feb 2021 10:35:46 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20210201102709.GT2771@vkoul-mobl> 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 Hi Pierre/Vinod, On 01/02/2021 10:27, Vinod Koul wrote: >>> It seems you are in a different solution-space, where the codec driver >>> needs to notify the master of which ports it needs to use? >> Correct! As Codec is the place where we have mixer controls ant it can >> clearly tell which master ports should be used for that particular >> configuration. > And that should come from firmware (DT etc) and driver should pass on > this info Are you okay with the patch as it is, provided this information is populated from DT? --srini >