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=-8.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 C8B4BC352A3 for ; Mon, 10 Feb 2020 11:31:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9FCEF2082F for ; Mon, 10 Feb 2020 11:31:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="SVT3B09p" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727431AbgBJLbG (ORCPT ); Mon, 10 Feb 2020 06:31:06 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:1807 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726796AbgBJLbG (ORCPT ); Mon, 10 Feb 2020 06:31:06 -0500 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 10 Feb 2020 03:30:02 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Mon, 10 Feb 2020 03:31:05 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Mon, 10 Feb 2020 03:31:05 -0800 Received: from [10.24.44.92] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 10 Feb 2020 11:31:00 +0000 CC: , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v2 1/9] dt-bindings: sound: tegra: add DT binding for AHUB To: Rob Herring References: <1580380422-3431-1-git-send-email-spujar@nvidia.com> <1580380422-3431-2-git-send-email-spujar@nvidia.com> <20200206181045.GA31521@bogus> From: Sameer Pujar Message-ID: Date: Mon, 10 Feb 2020 17:00:56 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <20200206181045.GA31521@bogus> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1581334202; bh=DYL3dZJkEVqUGlDqhgL79tzAopnW50b/PvD3VPtCz4U=; h=X-PGP-Universal:CC:Subject:To:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Transfer-Encoding: Content-Language; b=SVT3B09puLJ0HA8nQ33vpaM1nSIdapHPpPnu06IUpu6honXcI8z48njhrgA2mAZVG Nraii4NI7mW14tzzXDSmK6n3Uf1quCemwdC7G82dHNDVcstYy35pggrAGt4+UUx0S1 E9v+MH6n2NXFeQHHX40HsnW0nyVyJ74rTPbi5pWyhWL6HICigtZ6dHb3bDtYSXLR8C 0TPAFT3Uz/sLBp+VQS2esmGLOTMfQkxxSXT1yfSzyoBdTjxTTk9iTdAvgNe/ce7AQy denV6bBbJj8R+Jal58cfw4tXqtdRCAEE0QkHf2XjPbvUcWD82evOMzxqBBvd2mdisZ rlgcvULu9P1mA== Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 2/6/2020 11:40 PM, Rob Herring wrote: > External email: Use caution opening links or attachments > > > On Thu, Jan 30, 2020 at 04:03:34PM +0530, Sameer Pujar wrote: >> Audio Hub (AHUB) comprises a collection of hardware accelerators for audio >> pre-processing and post-processing and a programmable full crossbar for >> audio routing across these accelerators. This patch adds YAML schema for DT >> binding of AHUB and few of its following components. These devices will be >> registered as ASoC components. >> * ADMAIF >> * I2S >> * DMIC >> * DSPK >> >> Signed-off-by: Sameer Pujar >> --- >> .../bindings/sound/nvidia,tegra186-dspk.yaml | 105 +++++++++++++ >> .../bindings/sound/nvidia,tegra210-admaif.yaml | 165 +++++++++++++++++++++ >> .../bindings/sound/nvidia,tegra210-ahub.yaml | 130 ++++++++++++++++ >> .../bindings/sound/nvidia,tegra210-dmic.yaml | 105 +++++++++++++ >> .../bindings/sound/nvidia,tegra210-i2s.yaml | 112 ++++++++++++++ >> 5 files changed, 617 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml >> create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-admaif.yaml >> create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml >> create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-dmic.yaml >> create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml >> >> diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml >> new file mode 100644 >> index 0000000..dc9fef3 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra186-dspk.yaml >> @@ -0,0 +1,105 @@ >> +# SPDX-License-Identifier: (GPL-2.0) . . . >> + items: >> + - description: initial module clock rate >> + >> + "#sound-dai-cells": >> + const: 1 >> + >> + sound-name-prefix: >> + $ref: /schemas/types.yaml#/definitions/string >> + description: >> + Used as prefix for sink/source names of the component. Must be a >> + unique string among multiple instances of the same component. >> + The name can be "DSPK1" or "DSPKx", where x depends on the maximum > Sounds like a constraint. Is there a better way to convey the recommended strings above? All the other comments I will fix in next revision. Thanks. . . .