Received: by 10.192.165.148 with SMTP id m20csp816679imm; Fri, 27 Apr 2018 08:00:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqoADP/hADG059UlPJgq/khnFkhUxy8ZQK046P0VOh24YJ2AGhPDN2v6OhrIv7GfoimD5XI X-Received: by 2002:a17:902:bd03:: with SMTP id p3-v6mr2631183pls.236.1524841234938; Fri, 27 Apr 2018 08:00:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524841234; cv=none; d=google.com; s=arc-20160816; b=zWgXFRLdGmeb/lXtEvmRrSqJJxvRXEqS34pP7GAXSiid1B3R7luRRkWa6A/DBb9Oii /sW/dkjDPYWGdZTdryLB7z5jKjN+IhtTUHNwysQwwYYiKmy+S8G6n7F4Xn2m5Vn2OMoA ciHf4rXC6tjUDFxM7dLjFfkw/BwTCnW5f97NsaGyF3ZRI8PWsFoOT3UMdweCLl12aEnL Hd+2QJafxy+09sHnFu+SeFh5V53WQjZoLNPammlek0CliLweP1UZ1E53CnFWiWdiV2YJ ufYhKSEE5xXDKm35COYWLJT8dXiEyYKr23hUqfwNoTRwmPAm67fTlJ6zoLM7MqC74R+E FH6Q== 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 :arc-authentication-results; bh=iZWe2H6nlqfFU1B5zdrCcMZn4O9fIuOLKEki/dX9CYw=; b=nUCYu216ZEPcv+PwW6hz/hCHOj5wVjdO1OQJVK2IP1W9V5pDXj0l30KzfjlSAMRaic EiVOUFas88sYQY/mPRqh0mIcl47EBO7Yx6SxIkbIOY/1HrKByLmmOkvc4VdovqgSZjD7 wcK+M6/iZGSGCrhxwQxmMfVt9FnhHFmyievqqM+gQDscWa4LaGl4sddHha2uYLIcLro7 GG5rSL5tQ33WARb6lWt2VdQpM1xBe4W7iBy8wnYWaoxVYdjHsZbt0KItczXKSwOiqD8M WiTcG3o6jRO0OY0OwC519mkF5yocl+4F7Z9q/+BCbsddDuA20kwqDT1Y6ktVzyXHPTsR rNJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LSwm50P2; 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 z23-v6si1421781plo.597.2018.04.27.08.00.20; Fri, 27 Apr 2018 08:00:34 -0700 (PDT) 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=LSwm50P2; 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 S934159AbeD0O6K (ORCPT + 99 others); Fri, 27 Apr 2018 10:58:10 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:39773 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933787AbeD0O6F (ORCPT ); Fri, 27 Apr 2018 10:58:05 -0400 Received: by mail-wm0-f68.google.com with SMTP id b21so3448147wme.4 for ; Fri, 27 Apr 2018 07:58:05 -0700 (PDT) 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=iZWe2H6nlqfFU1B5zdrCcMZn4O9fIuOLKEki/dX9CYw=; b=LSwm50P211f5AQO3CMwtCQIu7Nt+O6wTpRt4jp30E07D1knVI8SjD9lHCB8R0TARPf IYru7blf2RA8iFHcnLuf0A4c5JnfCSwMar9fx57K0lm63icoaBE6CPn4++yVbGJbYINq BhhJeY/yiusu2TzZN8PZtRVdFzg1L1tW6Xfug= 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=iZWe2H6nlqfFU1B5zdrCcMZn4O9fIuOLKEki/dX9CYw=; b=QV1uPPW8t/EsJ2nKx8QgjHLP2o1DLPWMmOB3sg4j/gwEISKY0BvN8Hhph0MSiY2pGl /5r20gPvdwe27tgZSCXxhlkjP8g5myBn1aleZOVa8qE8LwnPMzW5AGEzIstf5CnmV84J 2WzFIev4i6GArrMO+nYv+Lf2lrfwoxe/mh67WbKDLTm3Tr6jXfL7FhdqavjomUr1rnP9 42fvqwBrNeSkCDnKDSuWN2KD9mgCAi/j2v17mcvXaI9GfzqWl6VEZi/jBizDTKOje0Wu I1n7aHZQjSjpLgX2gwwWJmBv1cs/VdHjKTDR2y6eZPocYPIdmt7R2Dw4tZ0xk+dImx82 WUhg== X-Gm-Message-State: ALQs6tAkuBarL+vMGW+bM5s0Z8LYyxhVR8q210Y54D3CwvZmLQJKb2Wi Ta0zmnmpfiyHfgUgkKC6GQ8e4g== X-Received: by 10.28.238.149 with SMTP id j21mr1668319wmi.16.1524841084329; Fri, 27 Apr 2018 07:58:04 -0700 (PDT) Received: from [192.168.0.18] (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.googlemail.com with ESMTPSA id 12sm1695762wmn.27.2018.04.27.07.58.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Apr 2018 07:58:03 -0700 (PDT) Subject: Re: [PATCH v6 04/24] ASoC: qdsp6: dt-bindings: Add q6afe dt bindings To: Rob Herring Cc: andy.gross@linaro.org, broonie@kernel.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, gregkh@linuxfoundation.org, david.brown@linaro.org, mark.rutland@arm.com, lgirdwood@gmail.com, plai@codeaurora.org, tiwai@suse.com, perex@perex.cz, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rohkumar@qti.qualcomm.com, spatakok@qti.qualcomm.com References: <20180426094606.4775-1-srinivas.kandagatla@linaro.org> <20180426094606.4775-5-srinivas.kandagatla@linaro.org> <20180427141323.2ykh676xpdf7b6bl@rob-hp-laptop> From: Srinivas Kandagatla Message-ID: Date: Fri, 27 Apr 2018 15:58:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20180427141323.2ykh676xpdf7b6bl@rob-hp-laptop> 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 Thanks for the review. On 27/04/18 15:13, Rob Herring wrote: > On Thu, Apr 26, 2018 at 10:45:46AM +0100, srinivas.kandagatla@linaro.org wrote: >> From: Srinivas Kandagatla >> >> This patch add DT bindings for AFE (Audio Frontend) DSP module. >> >> Signed-off-by: Srinivas Kandagatla >> Reviewed-and-tested-by: Rohit kumar >> --- >> .../devicetree/bindings/sound/qcom,q6afe.txt | 88 ++++++++++++++++++++++ >> include/dt-bindings/sound/qcom,q6afe.h | 31 ++++++++ >> 2 files changed, 119 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6afe.txt >> create mode 100644 include/dt-bindings/sound/qcom,q6afe.h >> >> diff --git a/Documentation/devicetree/bindings/sound/qcom,q6afe.txt b/Documentation/devicetree/bindings/sound/qcom,q6afe.txt >> new file mode 100644 >> index 000000000000..05208a63dd3c >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/sound/qcom,q6afe.txt >> @@ -0,0 +1,88 @@ >> +Qualcomm Audio Front End (Q6AFE) binding >> + >> +AFE is one of the APR audio service on Q6DSP >> +Please refer to qcom,apr.txt for details of the common apr service bindings >> +used by all apr services. >> + >> +- but must contain the following property: >> + >> +- compatible: >> + Usage: required >> + Value type: >> + Definition: must be "qcom,q6afe-v." >> + Or "qcom,q6afe" where the version number can be queried >> + from DSP. >> + example "qcom,q6afe" > > reg too. I did not want to repeat what is already mandated for apr children in qcom,apr.txt So skipped repeating reg property in here. > >> + >> += AFE DAIs (Digial Audio Interface) >> +"dais" subnode of the AFE node represents dai specific configuration >> + >> +- #sound-dai-cells >> + Usage: required >> + Value type: >> + Definition: Must be 1 >> + >> +- reg > > It's not clear here these are in a grandchild node. > Every afe port/dai has some board specifics, to allow that we need dai specific child nodes. >> + Usage: required >> + Value type: >> + Definition: Must be dai id >> + >> +- qcom,sd-lines >> + Usage: required for mi2s interface >> + Value type: >> + Definition: Must be list of serial data lines used by this dai. >> + should be one or more of the 1-4 sd lines. --srini