Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4087017pxb; Tue, 2 Nov 2021 03:59:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZusaSgP+AvQhDxOjt6hyUGoBoTOGdDao276awQUWZf5aCUuuxK1UnNFGSAybjBS61cdVz X-Received: by 2002:a05:6402:3512:: with SMTP id b18mr49334444edd.15.1635850765755; Tue, 02 Nov 2021 03:59:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635850765; cv=none; d=google.com; s=arc-20160816; b=v9zeqm+mkG56y9YcHARtDa4TssSwfGwafB+JBuhEnaNpzp7rpqNnlXN/cYpS+anI/f 9p5sGCdLlLtEceEZsDIDYi3nkQZjNU5vLI+gvPWTEk/27yhvfT0qu9BlmA0po1fmTmjS 9hz/E3U8Vk1Q9XfkNn3ph+OGOLLlZl+5tXhL/OQtmJ/tb9dybf3HBblAEI7/sh+AXhF9 JR2JicDTr/7vFxn3IjhHmLvZzp9WiehIpihXiXATZkpjj5FTVlAbDlhoFbi73O3rJHF8 I5oHZYvSobgxgyhQimRknWc2Nlt81bjUoZtm91Thw2hWhuACfhDPV/Q9biEDa/AOuUpq HiPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:to:subject:dmarc-filter:sender:dkim-signature; bh=fl4PsWpMd3O4F7G5HgD/5x9EXzeEBpRqdmiUnedU7UA=; b=Yg/hESM7wXllLaVHjXBARQxR6wFLFVJcxJDEgwgh6uYyi2q5yQodH8YCCvi2H5QxgV sFBIQBo4xjgTpQbwgnxCG2Wfk/hDB4SJJU8aAckzdXShDZ3KJH92pM8pWQ85AiTcK1AF Z1d6UGK4KK6MzibhLtOy2FlKzSW892n3W675h+08ORFS/kLKCQrNweMKJYF+ihvr/x0g XyHNualmymxrc6w78HPFNf3kQ2+DJLe0hP/jpEZWk9BiEobqPQH0NsioA4yudv3y00DC cLhOd40UfRdyqk3e9MOHsAtcEJermkQ4eVWtTBsK6wvNIEsi/lgD/XR8uaFrGfmtLLd/ EGMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=PCMRUtPG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jr11si25955269ejb.269.2021.11.02.03.59.01; Tue, 02 Nov 2021 03:59:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=PCMRUtPG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229577AbhKBK7p (ORCPT + 99 others); Tue, 2 Nov 2021 06:59:45 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:28276 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230114AbhKBK7o (ORCPT ); Tue, 2 Nov 2021 06:59:44 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1635850630; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: To: Subject: Sender; bh=fl4PsWpMd3O4F7G5HgD/5x9EXzeEBpRqdmiUnedU7UA=; b=PCMRUtPGPIZBj6DdPvXz6GK9HyFhhLRoP5FRFLsscCq/gwK018mquKrGa3ScAi7qyTPN9zJX wtpiWf1OJdN2yj41ERWmj7Pbl0QRhLrj3LA8qpXZFR8v60/8lrKuC9RKhCJQVHiKb9Q//2/8 5CNvB0BQYYA4CwEr7QfEqcNeRxI= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 618119825c66efd372c5fb4c (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 02 Nov 2021 10:57:06 GMT Sender: srivasam=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 41B76C43618; Tue, 2 Nov 2021 10:57:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [10.242.143.72] (unknown [202.46.23.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: srivasam) by smtp.codeaurora.org (Postfix) with ESMTPSA id 86E07C4338F; Tue, 2 Nov 2021 10:56:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 86E07C4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org Subject: Re: [PATCH v4 1/2] ASoC: google: dt-bindings: Add sc7280-herobrine machine bindings To: Stephen Boyd , agross@kernel.org, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, bjorn.andersson@linaro.org, broonie@kernel.org, devicetree@vger.kernel.org, judyhsiao@chromium.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, perex@perex.cz, plai@codeaurora.org, robh+dt@kernel.org, rohitkr@codeaurora.org, srinivas.kandagatla@linaro.org, tiwai@suse.com References: <1635519876-7112-1-git-send-email-srivasam@codeaurora.org> <1635519876-7112-2-git-send-email-srivasam@codeaurora.org> From: Srinivasa Rao Mandadapu Organization: Qualcomm India Private Limited. Message-ID: <0cf52203-249a-2f6c-6106-888631ac85fa@codeaurora.org> Date: Tue, 2 Nov 2021 16:26:57 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/30/2021 12:37 AM, Stephen Boyd wrote: Thanks for Your time Stephen!!! > Quoting Srinivasa Rao Mandadapu (2021-10-29 08:04:35) >> diff --git a/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml b/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml >> new file mode 100644 >> index 0000000..3a781c8 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml >> @@ -0,0 +1,170 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/sound/google,sc7280-herobrine.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Google SC7280-Herobrine ASoC sound card driver >> + >> +maintainers: >> + - Srinivasa Rao Mandadapu >> + - Judy Hsiao >> + >> +description: >> + This binding describes the SC7280 sound card which uses LPASS for audio. >> + >> +properties: >> + compatible: >> + enum: >> + - google,sc7280-herobrine >> + >> + audio-routing: >> + $ref: /schemas/types.yaml#/definitions/non-unique-string-array >> + description: >> + A list of the connections between audio components. Each entry is a >> + pair of strings, the first being the connection's sink, the second >> + being the connection's source. >> + >> + model: >> + $ref: /schemas/types.yaml#/definitions/string >> + description: User specified audio sound card name >> + >> + "#address-cells": >> + const: 1 >> + >> + "#size-cells": >> + const: 0 >> + >> +patternProperties: >> + "^dai-link@[0-9a-f]$": >> + description: >> + Each subnode represents a dai link. Subnodes of each dai links would be >> + cpu/codec dais. >> + >> + type: object >> + >> + properties: >> + link-name: >> + description: Indicates dai-link name and PCM stream name. >> + $ref: /schemas/types.yaml#/definitions/string >> + maxItems: 1 >> + >> + reg: >> + maxItems: 1 >> + description: dai link address. >> + >> + cpu: >> + description: Holds subnode which indicates cpu dai. >> + type: object >> + properties: >> + sound-dai: true > Is sound-dai required? And additionalProperties is false? I think we > need that yet again. Okay. Will mark additionalPropertiesas true. > >> + >> + codec: >> + description: Holds subnode which indicates codec dai. >> + type: object >> + properties: >> + sound-dai: true >> + > Same here. > >> + required: >> + - link-name >> + - cpu >> + - codec >> + - reg >> + >> + additionalProperties: false >> + -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.