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 51D0BC3F68F for ; Wed, 12 Feb 2020 12:08:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 27CC520714 for ; Wed, 12 Feb 2020 12:08:04 +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 S1727732AbgBLMID (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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.