Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5993105ybv; Wed, 12 Feb 2020 04:09:30 -0800 (PST) X-Google-Smtp-Source: APXvYqz98SBlkke7UlcCSaMeXZ+Ng+KTUKT2uIS78v4tY9J9H0bWnpNkiQhIq8CXbM213m88iRSb X-Received: by 2002:aca:4c90:: with SMTP id z138mr6122421oia.140.1581509370232; Wed, 12 Feb 2020 04:09:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581509370; cv=none; d=google.com; s=arc-20160816; b=YxQnK0fb/qmXR2+d4B4j3RcR9cZXMORmFl4uAglW1V/GJBgk3a8/Az6EXBntFyLwdS bLiBz//7F9SPxp6J9YVGNYxWIFclQkbF0+08wYcLcCtZY+7ZlazhiyPewfg+dU6npbSN m19csoxw8x6nxCBOp48nqenxNG2p52Z/vEpyD1SyxnsYZeSF/yPsP3hK9bAKRB0ncOia M2t5/YfnPLhNN4pBziWzmQmGiNPhqiaE7p/x55+luqB5Jh3wl8YPW7GZoqbMVS/NpVEc D+N3Jl8lIK/6CjryGjr+pKTjITYnU2MmaIiV5RIsE2Rz1gbZNgxRD07B6BlDhd9K7KSr aIeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-filter; bh=X01imo3rNxuo1cF/d14QGPIrzjN/5R3N1tchGdwIcuM=; b=ODtBwHKv4lJ+uZGJCY9wzSb7P0GxUQQRACOYbdTJjIX/S5zwXWCqAk6HZCOyn4bMmQ vU8xT0GPrkHIwGUETOsEQbl57awR+qvhvr/jhehz13TjofhK4W8TtrX+j/2GsTZYZQfJ qulooL12OZpRIjDrmHodhLf+tQo9CXjClrmh560Ja3aUzTwAzCCfuZfXfa1HADnBV9H8 J8Yll30OWOpYzhcB6wCRqwVKQc6Wh8eD9VnAl0CiYbKd40QF7MoivQfi68kq1ZQbt4VG OgmW9kyyOFolOOqJhmEwBoljD3mWOllgiERUSC+x8KcnUPVA+LPOY8ZCLPKMbGZkWl9a IqNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@serbinski.com header.s=default header.b=nqRz0MyG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b21si160689ots.38.2020.02.12.04.09.17; Wed, 12 Feb 2020 04:09:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@serbinski.com header.s=default header.b=nqRz0MyG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727691AbgBLMID (ORCPT + 99 others); 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.