Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4585764rdh; Wed, 29 Nov 2023 05:45:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqJ+3ohTf5yZfbgd3rH6KNssr8avIp86hjyHGBanmHS/DsSDoVIfgmX+USgRhvfbl8VeZH X-Received: by 2002:a05:6808:3026:b0:3b8:4cfe:82c0 with SMTP id ay38-20020a056808302600b003b84cfe82c0mr24402011oib.29.1701265542754; Wed, 29 Nov 2023 05:45:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701265542; cv=none; d=google.com; s=arc-20160816; b=syyIssb0QdqG3UvU+0Yl/8IRyJn+tEyv6ZxvD6lYaT5jTpm6SCqr0H36XSMLSJOi+V Q661kWp3Ysw69PGTbSBnlcm09cnDpsUMBxXxk52e1ET2PCEW5F8ffiU329Bv5wPt7taQ Weq1oYjfxtAh3DbEQDTbvtBOBduFdV3y6gHHxI28ucPf7u7+QKWuHApwZtFz2/FOjTwS c08J/zUC+qRjY7F/phdP3QauhQqCD/x5mYtc1OssRaFRZtF43iQvFQfTfS7f5gZ7hBfq 3ZQQWbhvLEdjkULE6LhYEJAs+9xypVteYgVEEBBxe+vyd16FnJTImAX0eAu4VvNHAdL6 QAkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=clXr2bW5K5Ltu9os070jk2tl5a3SSGmsxkIeOTVUebs=; fh=0QpUgYLdvPEHfiRYi4utOA4Z2Wbe0MhbGvJSQ8M9Mno=; b=r7SNEEwgWqj0DNRyh8wfYDLNyesouD6kM6gOVwFTx3S0QulJLJX1x3jq0rbcHd0vCg pBPtIfrmQMK7FKyo1aunx9HrCNtPro4N9XjNouDVASDzMpzyWYWvKpp0Ns/kLUXTb9NE 21ruyc8a4kOSVycSM16XGzbbSOVq01D3xdi0G0PZGLuSFPl8tGFh55f6E057Re69tFTg mHY4oQm9Hh8OBl7L9z262AcUXZpTjMoZJqpIF6/u7KAN3tWfLmkoHkuTUeaa8Za8KcDU CBPEHW2v/EbDRXuA8ryxO5F1Ll+c2WavLSL1xAkcuHrmDw88af4GMDzckOgMVNcnucuT uEqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=je6rgl2H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id y32-20020a631820000000b00578b487825asi14193026pgl.208.2023.11.29.05.45.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 05:45:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=je6rgl2H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 0F3D5822B707; Wed, 29 Nov 2023 05:45:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234105AbjK2Np1 (ORCPT + 99 others); Wed, 29 Nov 2023 08:45:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234102AbjK2NpZ (ORCPT ); Wed, 29 Nov 2023 08:45:25 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18D2F10A for ; Wed, 29 Nov 2023 05:45:31 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-9ffb5a4f622so927481966b.0 for ; Wed, 29 Nov 2023 05:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701265529; x=1701870329; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=clXr2bW5K5Ltu9os070jk2tl5a3SSGmsxkIeOTVUebs=; b=je6rgl2HL3kA5py2UkP5yiT5gUMXGplKaQM4NUBoRpN8gyyojCmcvBIGyWh4e4XnlY wOWe+yOx5SWT3zw9ZaE1HapR31sy/Idj5vh55GyuUfIpHj/3B/cv9hfro46gNg53jFYn NnZ/B4TTCis+tk04lEoiS2EUcCLPmtQ/7LnoagsoOyHC9rrFwtA5aKUFrrmErRbtAU3f aHVlELjq3+MrdQuja+6vZeDH0BYAA5UehwkwzobOInruLX67wQOZEFW9UvBewI0AD83A mzOO13TcHFIifVIN63yK8CsJAHSypf8pEce6uk7lWpHpeov7kC4n/gFay8OqO6fWe22f lZLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701265529; x=1701870329; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=clXr2bW5K5Ltu9os070jk2tl5a3SSGmsxkIeOTVUebs=; b=pOWgHtydriXip7wGzZuWn9Z/h/x+Udg0Gs58ZmHdhVPfIDFA56KdUCWqYOtyNV4k18 zfdHjAlrByWSirkQ/VgW3Ocbuy3BnBUtLQfys0+j2WbxT7OeCH37kCot01F7bRG4x8cA r8pK2lSvoyQFENnk+j08IvisXZMirTl41Nqucvnuz/mo4P8WwXFzXfZvSj6mDMcsExM8 Btk/KdqTfx3sgYPU5fD5AfV5OMgnFrdcpzXSeabXa2KbBExb+INnvnQEabHX4hoAAXTC sz7sBYTEZl7Ss+eflvnW1EaaLfzvGBVrlElCtghEnYagjz1crTUj0JU+OhUQvr3qJFOx f97Q== X-Gm-Message-State: AOJu0YxMUt5U0wnjyOL35x0h09vXXS9JZQHTcCa59pdwA7psGmoTyoF5 woE2+BAIZ8v+ZFasROPbCYvEpQ== X-Received: by 2002:a17:906:2511:b0:9c2:2d0a:320c with SMTP id i17-20020a170906251100b009c22d0a320cmr13447658ejb.46.1701265529452; Wed, 29 Nov 2023 05:45:29 -0800 (PST) Received: from [192.168.209.173] (178235187166.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.166]) by smtp.gmail.com with ESMTPSA id f8-20020a17090624c800b009fd77d78f7fsm7910195ejb.116.2023.11.29.05.45.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Nov 2023 05:45:29 -0800 (PST) Message-ID: <4fdab723-8549-4e1f-9930-9e856034437c@linaro.org> Date: Wed, 29 Nov 2023 14:45:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 4/5] ASoC: codecs: Add WCD939x Soundwire slave driver Content-Language: en-US To: neil.armstrong@linaro.org, Srinivas Kandagatla , Banajit Goswami , Andy Gross , Bjorn Andersson , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai Cc: linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231123-topic-sm8650-upstream-wcd939x-codec-v1-0-21d4ad9276de@linaro.org> <20231123-topic-sm8650-upstream-wcd939x-codec-v1-4-21d4ad9276de@linaro.org> <095f6e9d-dbee-4cfe-91dc-5443608c386d@linaro.org> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJv7Km7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ajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <095f6e9d-dbee-4cfe-91dc-5443608c386d@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 29 Nov 2023 05:45:40 -0800 (PST) On 28.11.2023 10:16, Neil Armstrong wrote: > On 25/11/2023 12:55, Konrad Dybcio wrote: >> On 23.11.2023 15:49, Neil Armstrong wrote: >>> Add Soundwire Slave driver for the WCD9390/WCD9395 Audio Codec. >>> >>> The WCD9390/WCD9395 Soundwire Slaves will be used by the >>> main WCD9390/WCD9395 Audio Codec driver to access registers >>> and configure Soundwire RX and TX ports. >>> >>> Signed-off-by: Neil Armstrong >>> --- [...] >> This is used in wcd9380 and will be used in wcd9370 when that happens some >> day, maybe it'd be worth to commonize it as qcom_{rx/tx}_portmap_get? >> [...] > > OK but where ? qcom-wcd-sdw-common.c? Konrad