Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3796005pxb; Sat, 6 Nov 2021 00:21:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkUcMWi5IYMGtcfhXrYWoHfQw4BCKZShCelIkvV5e/jF3HuEPcaJsc8c2+6ycnOCSfLiVq X-Received: by 2002:a17:907:6e0b:: with SMTP id sd11mr18998139ejc.134.1636183271742; Sat, 06 Nov 2021 00:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636183271; cv=none; d=google.com; s=arc-20160816; b=fhD7pkkD1lr25LNm1VMXXdEH1oc0LIJSeof8jaH7GlVGxhl/icvv5BtrMLzBmKW4aE zUG5Nf0B6ui1tfKVeAmx21QhvT8Rr3GzPaTxBEP/ZNZUxFurVCB/4H3aLUvtpUCrwfdt EJDZTCdFXsCUBH8arQ3yGE6T9XPxVekzSqKGtIM7Zd//R2MjL00aDK4eTUnEuO7OaTFE EMXqfJok006my0OL0yCjJHQn2js8ohxyh5W9ge4IppQoV0avpBqf2mTCGvKPQJJhIJAx CQmmeSUPnSTVED7AQcQBB6xcYFTyzQO/9cTIGFxA48VbAOeMTi28wjwG4CKP63sQkdkh uzog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=HAKZaIenQIr6Twu66leBhW0G6r6SDhfFVsidJ/L7sd4=; b=GlnEIVFhxOmZSpjFF/47PGOtfQWwDNj++ADDB24IUPgnazi+mTNtKahG4bZkuXDBiI kXZjEd6lvvulG/SEniE8PNtFx/OTstsWAZS1GzXmwAVGfHha7NgKMv4R8yLDckKuvzTz I7wN6q8UkgIXNpkwwrrxGVbzFYfLDxyg1SC9vuAobpocGD+EHgAU8lzyOXuCY6+P/E/F usfsmzaf/djn6mnAGFVdIl9ek2arKxqIDj6QEMtlFxdZFA1t5XPESkJNVa7TfIIU3Fjo Lj3lB28P4saHN7T4JblBPwdqxoz1oGvYAwJAy9kZT2NebnI1Hp9SZF2QVbVcoh99+3x2 ehRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bSUfk72v; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y9si19178115edd.10.2021.11.06.00.20.47; Sat, 06 Nov 2021 00:21:11 -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=@kernel.org header.s=k20201202 header.b=bSUfk72v; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232410AbhKFBdR (ORCPT + 99 others); Fri, 5 Nov 2021 21:33:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:33954 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231963AbhKFBdO (ORCPT ); Fri, 5 Nov 2021 21:33:14 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 53C10611CE; Sat, 6 Nov 2021 01:30:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636162233; bh=02topxTHAKThTBTO3zqDJ42JdAkAX0HtqC0Y3dyHDO4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bSUfk72v4gVL76Pufs+Vep/nBUKmVCUx7AEjw4b8a+DvrEpt0bPhp/BiReiKv4E3l mYAiv/VypSVL8AmEslrvfQvjoLHycS2WI4SD7RHYIPA3u1ZwOmdOCIuX1HFqBzc25M Y4J1viSGnQL+EDyvlB66JRtKPwKvd+2rUwZw8Fe4ONPlghum73i1+l8T7pnJUpeq8e mXABvTQuLsy+JI6wdZJ0/wvUt8e6hNHpXlRsTqyDEq9129Zi9IwA+XkkFm66mWWqAd tE7f8LFr24Lp2K6E8xFNvVzWwApBVPbxNvtdc1AcV+y3fjgsdHIkusncqVq9d4PPa9 O2o9jSN5p4dFw== Received: by mail-ed1-f41.google.com with SMTP id m14so38158526edd.0; Fri, 05 Nov 2021 18:30:33 -0700 (PDT) X-Gm-Message-State: AOAM533Y2KGFVb1Y4DQ3kAzx0BLhH+2hRT0E5OLLlI4poMKfVmx5vBBG 0DU3KPNrIZq4Sgf2m/J/zO80lsv+oltpYIKaLg== X-Received: by 2002:a17:906:66d2:: with SMTP id k18mr25705246ejp.320.1636162231741; Fri, 05 Nov 2021 18:30:31 -0700 (PDT) MIME-Version: 1.0 References: <1635519876-7112-1-git-send-email-srivasam@codeaurora.org> <1635519876-7112-2-git-send-email-srivasam@codeaurora.org> <0cf52203-249a-2f6c-6106-888631ac85fa@codeaurora.org> In-Reply-To: <0cf52203-249a-2f6c-6106-888631ac85fa@codeaurora.org> From: Rob Herring Date: Fri, 5 Nov 2021 20:30:20 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 1/2] ASoC: google: dt-bindings: Add sc7280-herobrine machine bindings To: Srinivasa Rao Mandadapu Cc: Stephen Boyd , "Gross, Andy" , Linux-ALSA , Banajit Goswami , Bjorn Andersson , Mark Brown , devicetree@vger.kernel.org, judyhsiao@chromium.org, Liam Girdwood , linux-arm-msm , "linux-kernel@vger.kernel.org" , Jaroslav Kysela , Patrick Lai , Rohit kumar , Srinivas Kandagatla , Takashi Iwai Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 2, 2021 at 5:57 AM Srinivasa Rao Mandadapu wrote: > > > 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. 'additiionalProperties: true' is almost never right. It's generally only correct for schemas that are incomplete collections of properties. Rob