Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5971202ybv; Wed, 12 Feb 2020 03:44:26 -0800 (PST) X-Google-Smtp-Source: APXvYqypSBdzrdAX6A6wZmzQBs+cBeKM3gtOqJc+GLjJpwfBME27cCj5fse1coXlpTZHLJMRNDQT X-Received: by 2002:a05:6830:1305:: with SMTP id p5mr8301445otq.124.1581507866063; Wed, 12 Feb 2020 03:44:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581507866; cv=none; d=google.com; s=arc-20160816; b=Pa8xSl4/RbUJZeprZwE3omDXxQUgFr2IheDV0kFG4db+ICQVEL+z1NPP6LWKRqFNNj qK+LioqyxqMxCwBbTNX6Z9cDfv5OM9DWFqCHJZ2gOJtJjeW2sXtaxegOnQSCv5UCUEe8 eKIMBgj3S0O7aEZQ0WtEModLEd5j/DXJadw4EOiRzO7dnx74aqApuhUg27kQN7SoqgJD iYcD1ZGtQn5ebMlxNgYi1uCDxOOC8I5J0aGS6hkfz4A49Tw9fY9Ce8KjDEBV3a3DO3nz Xw0AucwwH1KBG5SckQ4uncJYZ9FywO25bKsA86/C8jx3/GeGT5+0FOQTZaGcd3eXOk1B nDlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=KOvpD7jZ6dU2lykqqwZ1WffWjcj24MrFs0WAUYdtKH4=; b=V5bTwB0cRjM29DR9stfwqDQLsMXkDAUIgIIrx9MOu/+eb+4M0770Fkdn/HLkb7LivH QR5BE1eSNjI3t+48LkKPMJHikbec3jvTN21wmCxcbHh9BF7fUjaRV9B4UQmjhbJL1S4p eaHmXvLTFMjV+0PCIDwQaKrMcDb/aegYpgRMNj5HneVG7Jjz9Zzi5RIlQxKCWucdlv0M AIYUD3q6miE6Boo7lVW1tD0mRfkVENcoJo5PJQy1LCJJDhWFqbgnMI8LWZb5GRdWPZ0i QA/jEHYu0P1FK6rk8Ak4zlQ+UFXn0ZVSUcqU7wq9ebEKEENuKymatSUsfh6EOEVybVMS sHig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lDfQr6Li; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e13si91461otr.167.2020.02.12.03.44.13; Wed, 12 Feb 2020 03:44:26 -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=@linaro.org header.s=google header.b=lDfQr6Li; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728252AbgBLLnp (ORCPT + 99 others); Wed, 12 Feb 2020 06:43:45 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:36026 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728139AbgBLLnp (ORCPT ); Wed, 12 Feb 2020 06:43:45 -0500 Received: by mail-wm1-f67.google.com with SMTP id p17so1950700wma.1 for ; Wed, 12 Feb 2020 03:43:42 -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=KOvpD7jZ6dU2lykqqwZ1WffWjcj24MrFs0WAUYdtKH4=; b=lDfQr6Liipb++iFWX6iJLPM9MLax/98YrjUMx2NSCP8nRQEJxYPjeazAW44phauv1J zDMSgxErIqX4lltTO8KyGkxULwpxH6e9bJjady6qCsW+AebfdzEjQF+Mcss/P6lo3+OS FF91PfU0aV/URWm4wh3GjSVnh613RzCiGx7tWGzzdRYi6ewXTPYxFjEv1efuDc7Jqwge zn5xpPgaLdj2zpQqUiy9CKCUKgX907JZl8MXHgLWLPzbAIeBDfLt3go9I+tWL4EHPVdP 006LMBAjbJpqTAWatWWABjuhtYLmX8EQ7svmcDYwPWKzjX5P+6qeN/fAarriHxmM6Zfn q7rA== 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=KOvpD7jZ6dU2lykqqwZ1WffWjcj24MrFs0WAUYdtKH4=; b=uO4U+s5PZCgeBFShxgbKXCVTKRJGffSmIEuJZHJrktdNFAthESSGmRPrLIQMqOFctn OM2zUih5fMfA7dWyHs+Y8UDABPpHwqDzhvd1WbkY9VhsdSGZOy/p7idnHrwCGqGP2zbb xJg/ZN/cvA0YDqCrmgl9fB/PCelpXEqpztZTMmLNNFkPAHyYTgCSeZUuvYTf0OT+oacw 1LMrsI5NQ7BkhB/l/oN1WxlHIGKJniqvsm4ktysKLqb7jcIm1dq9YkOe/9zi9TEylQ5h Bs4TrwJ4PaW06QB49gSbXUS5iPMJrr5DdLKyGq0uRB0cQjtlHYt3vCuBIG+g2F5nswPR 7d0A== X-Gm-Message-State: APjAAAVq9Rv1YYytKuKam/gqBRXfCY7NI8d9s8VXMHTol6dWEbxXRbYr CWE9q3cXrqUTsyBIBkSvUAQgH/pe3nc= X-Received: by 2002:a05:600c:2046:: with SMTP id p6mr11846557wmg.167.1581507821024; Wed, 12 Feb 2020 03:43:41 -0800 (PST) Received: from [192.168.86.34] (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.googlemail.com with ESMTPSA id q130sm473499wme.19.2020.02.12.03.43.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Feb 2020 03:43:38 -0800 (PST) Subject: Re: [PATCH v3 6/6] ASoC: qdsp6: dt-bindings: Add q6afe pcm dt binding documentation To: Adam Serbinski 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 References: <20200212015222.8229-1-adam@serbinski.com> <20200212015222.8229-7-adam@serbinski.com> <579e0ae1-f257-7af3-eac9-c8e3ab3b52c7@linaro.org> <2989c09149976a28d13d4b4eb10b7c7e@serbinski.com> From: Srinivas Kandagatla Message-ID: Date: Wed, 12 Feb 2020 11:43:37 +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: <2989c09149976a28d13d4b4eb10b7c7e@serbinski.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > 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.