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=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 189E3C2BA83 for ; Wed, 12 Feb 2020 12:08:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DAAF120714 for ; Wed, 12 Feb 2020 12:08:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=serbinski.com header.i=@serbinski.com header.b="nqRz0MyG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727649AbgBLMID (ORCPT ); Wed, 12 Feb 2020 07:08:03 -0500 Received: from mail.serbinski.com ([162.218.126.2]:55886 "EHLO mail.serbinski.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726470AbgBLMIC (ORCPT ); Wed, 12 Feb 2020 07:08:02 -0500 Received: from localhost (unknown [127.0.0.1]) by mail.serbinski.com (Postfix) with ESMTP id 466BDD006F9; Wed, 12 Feb 2020 12:08:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at serbinski.com Received: from mail.serbinski.com ([127.0.0.1]) by localhost (mail.serbinski.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id deXudkH907vE; Wed, 12 Feb 2020 07:07:56 -0500 (EST) Received: from mail.serbinski.com (localhost [127.0.0.1]) by mail.serbinski.com (Postfix) with ESMTP id 83312D00693; Wed, 12 Feb 2020 07:07:56 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.serbinski.com 83312D00693 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=serbinski.com; s=default; t=1581509276; bh=X01imo3rNxuo1cF/d14QGPIrzjN/5R3N1tchGdwIcuM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nqRz0MyG1yj3DNcgdIf2qJfu1oOkEQn7Ym3BuVi5yhlRzpQQPtL2jW93ZI/8XnaQ5 0bW0hvRbhDsG4mbB20QDLJ1/y0hq+puU4mrVmkUsBcdr5vIkxnwTVaxXlVwJVwZd3X jA0EUmFJmqQNNUYc0zU07mVp7isl1EeaMGKNqWwI= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 12 Feb 2020 07:07:56 -0500 From: Adam Serbinski To: Srinivas Kandagatla Cc: Mark Brown , Rob Herring , Bjorn Andersson , Andy Gross , Mark Rutland , Liam Girdwood , Patrick Lai , Banajit Goswami , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 6/6] ASoC: qdsp6: dt-bindings: Add q6afe pcm dt binding documentation In-Reply-To: References: <20200212015222.8229-1-adam@serbinski.com> <20200212015222.8229-7-adam@serbinski.com> <579e0ae1-f257-7af3-eac9-c8e3ab3b52c7@linaro.org> <2989c09149976a28d13d4b4eb10b7c7e@serbinski.com> User-Agent: Roundcube Webmail/1.4-beta Message-ID: X-Sender: adam@serbinski.com Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 2020-02-12 06:43, Srinivas Kandagatla wrote: > On 12/02/2020 11:01, Adam Serbinski wrote: >>>> >>>> + >>>> + - qcom,pcm-slot-mapping >>>> +    Usage: required for pcm interface >>> >>> Are these not specific to 8k and 16k mode ? >>> We should probably list values for both modes here. >> >> No, this is just the offset that the audio sample is placed in with >> respect to a maximum of 4 slots, 16 bits wide, beginning with the sync >> pulse. > > > That's not true atleast by the QDSP documentation, > according to it we will use more slots to transfer at higher sample > rate. ex: > 16 kHz data can be transferred using 8 kHz samples in two > slots. > > Also there are 32 slots for each of 4 supported channels for PCM AFE > port. Ok, if that's the case, then it sounds like someone else is going to have to implement it. I have no way to test that kind of a configuration, so attempting to implement it would be futile. > > >> >> When switching between 8 and 16k sample rate, it is just the sync >> pulse rate that is changed. The audio sample will be delivered in the >> same slot, just at a different frequency. 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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 9D71DC2BA83 for ; Wed, 12 Feb 2020 12:09:01 +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 26F7B20873 for ; Wed, 12 Feb 2020 12:09:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="TYRc/xos"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=serbinski.com header.i=@serbinski.com header.b="nqRz0MyG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26F7B20873 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=serbinski.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 733B1166C; Wed, 12 Feb 2020 13:08:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 733B1166C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1581509339; bh=FJWMU1z6SXBYCYwlDgvOLTHs/F2IEYg/cIZSvor8YmA=; h=Date:From:To:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=TYRc/xosCV6QCNsz4b+g8tGcpptnZ0TCKX9GTn2uC8uj+DHIr1xfujCgxjUMnIqec 8SixSYm6Dao1r9o9y3HfqNbm2IQELkJHyr05drNbSmHcndj+5YZf8wYSkAag88V+Gy xV8d7pwmpRe5NM6up0R49puILSoGDEWYFnSG1BVw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 06CA5F80125; Wed, 12 Feb 2020 13:08:09 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 67C6BF80125; Wed, 12 Feb 2020 13:08:07 +0100 (CET) Received: from mail.serbinski.com (mail.serbinski.com [162.218.126.2]) (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 3832EF80125 for ; Wed, 12 Feb 2020 13:08:03 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3832EF80125 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=serbinski.com header.i=@serbinski.com header.b="nqRz0MyG" Received: from localhost (unknown [127.0.0.1]) by mail.serbinski.com (Postfix) with ESMTP id 466BDD006F9; Wed, 12 Feb 2020 12:08:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at serbinski.com Received: from mail.serbinski.com ([127.0.0.1]) by localhost (mail.serbinski.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id deXudkH907vE; Wed, 12 Feb 2020 07:07:56 -0500 (EST) Received: from mail.serbinski.com (localhost [127.0.0.1]) by mail.serbinski.com (Postfix) with ESMTP id 83312D00693; Wed, 12 Feb 2020 07:07:56 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.serbinski.com 83312D00693 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=serbinski.com; s=default; t=1581509276; bh=X01imo3rNxuo1cF/d14QGPIrzjN/5R3N1tchGdwIcuM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nqRz0MyG1yj3DNcgdIf2qJfu1oOkEQn7Ym3BuVi5yhlRzpQQPtL2jW93ZI/8XnaQ5 0bW0hvRbhDsG4mbB20QDLJ1/y0hq+puU4mrVmkUsBcdr5vIkxnwTVaxXlVwJVwZd3X jA0EUmFJmqQNNUYc0zU07mVp7isl1EeaMGKNqWwI= MIME-Version: 1.0 Date: Wed, 12 Feb 2020 07:07:56 -0500 From: Adam Serbinski To: Srinivas Kandagatla In-Reply-To: References: <20200212015222.8229-1-adam@serbinski.com> <20200212015222.8229-7-adam@serbinski.com> <579e0ae1-f257-7af3-eac9-c8e3ab3b52c7@linaro.org> <2989c09149976a28d13d4b4eb10b7c7e@serbinski.com> User-Agent: Roundcube Webmail/1.4-beta Message-ID: X-Sender: adam@serbinski.com Cc: Mark Rutland , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Banajit Goswami , linux-arm-msm@vger.kernel.org, Patrick Lai , Takashi Iwai , Liam Girdwood , Rob Herring , Bjorn Andersson , Mark Brown , Andy Gross , linux-kernel@vger.kernel.org Subject: Re: [alsa-devel] [PATCH v3 6/6] ASoC: qdsp6: dt-bindings: Add q6afe pcm dt binding documentation 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: , Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" T24gMjAyMC0wMi0xMiAwNjo0MywgU3Jpbml2YXMgS2FuZGFnYXRsYSB3cm90ZToKPiBPbiAxMi8w Mi8yMDIwIDExOjAxLCBBZGFtIFNlcmJpbnNraSB3cm90ZToKPj4+PiAKPj4+PiArCj4+Pj4gKyAt IHFjb20scGNtLXNsb3QtbWFwcGluZwo+Pj4+ICvCoMKgwqAgVXNhZ2U6IHJlcXVpcmVkIGZvciBw Y20gaW50ZXJmYWNlCj4+PiAKPj4+IEFyZSB0aGVzZSBub3Qgc3BlY2lmaWMgdG8gOGsgYW5kIDE2 ayBtb2RlID8KPj4+IFdlIHNob3VsZCBwcm9iYWJseSBsaXN0IHZhbHVlcyBmb3IgYm90aCBtb2Rl cyBoZXJlLgo+PiAKPj4gTm8sIHRoaXMgaXMganVzdCB0aGUgb2Zmc2V0IHRoYXQgdGhlIGF1ZGlv IHNhbXBsZSBpcyBwbGFjZWQgaW4gd2l0aCAKPj4gcmVzcGVjdCB0byBhIG1heGltdW0gb2YgNCBz bG90cywgMTYgYml0cyB3aWRlLCBiZWdpbm5pbmcgd2l0aCB0aGUgc3luYyAKPj4gcHVsc2UuCj4g Cj4gCj4gVGhhdCdzIG5vdCB0cnVlIGF0bGVhc3QgYnkgdGhlIFFEU1AgZG9jdW1lbnRhdGlvbiwK PiBhY2NvcmRpbmcgdG8gaXQgd2Ugd2lsbCB1c2UgbW9yZSBzbG90cyB0byB0cmFuc2ZlciBhdCBo aWdoZXIgc2FtcGxlIAo+IHJhdGUuIGV4Ogo+IDE2IGtIeiBkYXRhIGNhbiBiZSB0cmFuc2ZlcnJl ZCB1c2luZyA4IGtIeiBzYW1wbGVzIGluIHR3bwo+IHNsb3RzLgo+IAo+IEFsc28gdGhlcmUgYXJl IDMyIHNsb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