Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5878402ybv; Wed, 12 Feb 2020 01:52:25 -0800 (PST) X-Google-Smtp-Source: APXvYqxVXEWVKcGSuHPloXg4ck85ifYi0kj75w3zC/3MV1iHNrGMq5kOr1iPRKUMBNVWJOGcJW/l X-Received: by 2002:a05:6808:315:: with SMTP id i21mr5432250oie.139.1581501145768; Wed, 12 Feb 2020 01:52:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581501145; cv=none; d=google.com; s=arc-20160816; b=OgwxLWgzESi5suqY/SJUxZJkWc2YBnJIXNIq5FnywKV7IlLLHWodnggp9ZqH/SSLDh OKMKjXg+oV0XHrl4/AUUjvbKJpo4BkTwOXs9tAmNwTnEfzEEIiA5zuUH9xSUqgg2rUPl hsQmn9/T8elO4MnwM04Syk+JX/bQClVp+Gyi1sV94CmZ0a2OpXsSoAzYs713VkffJbXF qLkkJq0CjLRmuHKjYNpNrwlyPxNWfeK/bI4yDT5ySPgKGT8eosaogCMrhjoqdc8GXGai sHUG7xwHfygENdlr3Ab1kpFenAMkeFkP15p78D6533/R8BgFevu1htTsIEUVcW0gIvRQ HFig== 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=P1BE/J6k12sw+5b4sdZJAqIoEkv4CupE36M6VkS2iPk=; b=Oterbm/k0zETg1/UMREiBn8WfOfE8v+f1YcE3oR23jG/bMhHJnUoGBshMB5QnKWNF6 Bpk/KbJTJ5iuiiGogtpAa3h9jgt/aO4894K6SUeFwyc8pOcZYTuNqm2aVGlOLAMupIhI NaZmqrNLYspBRz4+Dp4hIRUXZiT4nYs1+gnWesHQVdm36vgT+IJd345PvJ/de1d37lA/ cibdwfEGqWvfdz6PAA6+vjak3Nocs6K/XeyZVq602TQO/u9HISsgIf+QJow7EPpxYqNy UCZrXG+OyjPDlrkeYZ25xRqDDxRUNWpIRi+g+9vzU6D1xoqobg7OJJzi3L+kZ0quAqUP 08tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QYsqlI9C; 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 d20si3208148oti.311.2020.02.12.01.52.13; Wed, 12 Feb 2020 01:52:25 -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=QYsqlI9C; 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 S1728759AbgBLJwF (ORCPT + 99 others); Wed, 12 Feb 2020 04:52:05 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:36372 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728715AbgBLJwE (ORCPT ); Wed, 12 Feb 2020 04:52:04 -0500 Received: by mail-wr1-f66.google.com with SMTP id z3so1408412wru.3 for ; Wed, 12 Feb 2020 01:52:03 -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=P1BE/J6k12sw+5b4sdZJAqIoEkv4CupE36M6VkS2iPk=; b=QYsqlI9CK3W1WYd+81VRLDbVrXSvTLcqcOtmxlp7DQqLG8nG/Imqsojr2LpIE7SoEf KmLq+Vx+nr7l8mAU5rSKGgywBXGYPFRXb55OR7wPtZ5D089rMiRwyn00uHzZFwZ26/aX E+LJIV2U5RWB9jFrn30qBqiZ5eBQavfsGrVkN8xD8N1XC4MiL0Dqk5DTSjJGAhVcCspk OxEnJpwgOBKG6+uvrk/6Zbh91r+M63HFYDQndyQaDLRNQhm2FLIpoJppJpsG3E374l4E 3pq8uu3IAGg6FW2KVCkpM7eh8KDMrsKBA7vSRwrtqqVJq4/YwKNzU2R6l6tC3H6HiLFM 1XFQ== 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=P1BE/J6k12sw+5b4sdZJAqIoEkv4CupE36M6VkS2iPk=; b=AeCiv9q5dmkKJXehpPLFM6CJUatMLZlJ1WQJrEsZr85Xh318fN1bKCPHQU3G6tFnkG 9ZmF+rmfGHEXwNXWgbqajiIT71SX4uI6FwqGL6CKF3pQTkqpS/0JwGWi7yrgbiJiVKXc ttkqNgzVCRU9l7HQGDkHc8W9vita6sK0YCFRZ88UcPCq2useSYmkxKPu+AUHSjBchsJF EPUvzBF6PEeWGC7XwlcqvA1zxCenIPk1A47KAL6f1dpLuwQcv44RF93qu3aMzenF0eUg TaBrBWFfXLpdVy1QUHTfIComWzx62jDYdxiuiZr9N5LN34BKG4y3U4nT5WDPlqDY0yGJ xqBA== X-Gm-Message-State: APjAAAVfYkeheEAxoRM3gVMBvC64gnuWL48oNGNOeZrbmY44WjKCJZ3C 4QgcXHJJItH9gW+Xk1CxeaJKVZnq8gc= X-Received: by 2002:adf:97d6:: with SMTP id t22mr14099564wrb.407.1581501122445; Wed, 12 Feb 2020 01:52:02 -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 d9sm8887197wrx.94.2020.02.12.01.52.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Feb 2020 01:52:01 -0800 (PST) Subject: Re: [PATCH v3 3/6] ASoC: qdsp6: q6afe-dai: add support to pcm port dais To: Adam Serbinski , Mark Brown , Rob Herring , Bjorn Andersson Cc: 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-4-adam@serbinski.com> From: Srinivas Kandagatla Message-ID: <1875fb89-6a25-0d1a-c367-183ae6980ac8@linaro.org> Date: Wed, 12 Feb 2020 09:52:00 +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: <20200212015222.8229-4-adam@serbinski.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/02/2020 01:52, Adam Serbinski wrote: > + ret = of_property_read_u32(node, "qcom,pcm-quantype", > + &priv->quantype); > + if (ret) { > + dev_err(dev, "No quantype from DT\n"); > + break; > + } > + > + ret = of_property_read_variable_u32_array(node, > + "qcom,pcm-slot-mapping", > + priv->slot_number_mapping, > + 1, AFE_MAX_PCM_SLOT_COUNT); These new bindings needs to be documented in Documentation/devicetree/bindings/sound/qcom,q6afe.txt --srini