Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp759073pxb; Wed, 15 Sep 2021 12:28:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZ4CyIAO9pHhxzXHV6MoVdS455mZXRERfOW+y527eJbMc316H0bkXF7/9jDs8ES1PFd7eU X-Received: by 2002:a5e:db06:: with SMTP id q6mr1425479iop.24.1631734108118; Wed, 15 Sep 2021 12:28:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631734108; cv=none; d=google.com; s=arc-20160816; b=JkxNe4XIOXD2hBpbAOFxhqAT6Uvqqn6GY4qgEWvRtslOrBsZvJAMlyOgsMLAdNgew9 //hPbB+jPFel2fhcLXtH/FgT/AKbsfKXAV6fdBn0XPy76V+DvxY7hdRXETxgepAcb0CZ uDPpL1DurN0pKnMW9umrn+eJJgkQkn97K2Fgh8dLbcnKbbdNndE8VkH5O0Bx3o1GhknA ZTzAYgRS/KynVUaEHFR+QpaCZ3kltqjHT5WOvVF3q6l6V+TvqjhoLsDCkMM35zFWw+/V hgt3f2Ni0Az+1tUnYTb3lWnyFP44qXcmWOa8fO42HiJfUiBBNjoVb1MWgdPtlhW9wWiA UFug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=o/xLkGlhrSnpCqv+HEwTNRKoItyS4LasgozuRU4ni1o=; b=UY4TwA7X4yk7hEX55t7n782QaB2jnrE2Yx3ZDmGYs4OuXv8LLRIYFArrmLOapObJOH EOigjXPipSNuQC4hQH2uchGHL5/ecxuyyPj3yI+Ja+9Rhib2dKGW3XdHFxYF4ztIQpc/ lvdM+HLeMFoCTYOeAqSGnGJatTnAcRSpjVQ+sUEH4krJh3Sbo1BgIkTw5+7juuixPlra EosdW6un+dhnfuBp5XwEIj+uf/Aitl0OtF7DOchAQE2FuR9vydAj1kZFTVROoB/fCNjr fTsDCw/82sUTYRy2vu4Sp+2wEbAZCK4Wscp+j73PBsN3VXCJ30c1VsTSbGcyslZPc1qz 6mUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AvsLqD+I; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n13si792359ilo.25.2021.09.15.12.28.16; Wed, 15 Sep 2021 12:28:28 -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=@chromium.org header.s=google header.b=AvsLqD+I; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231500AbhIOT2R (ORCPT + 99 others); Wed, 15 Sep 2021 15:28:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231574AbhIOT2P (ORCPT ); Wed, 15 Sep 2021 15:28:15 -0400 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF4AAC061574 for ; Wed, 15 Sep 2021 12:26:56 -0700 (PDT) Received: by mail-oi1-x230.google.com with SMTP id o66so2963859oib.11 for ; Wed, 15 Sep 2021 12:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to; bh=o/xLkGlhrSnpCqv+HEwTNRKoItyS4LasgozuRU4ni1o=; b=AvsLqD+ImZ3uG21Z85q9lNII8aPV/FqVgO1IUBdXtaed29+o/L4jPx8h2xxrNvZPNZ /AqAaoUsRfDPKhJegTmB5uaHM+phiDSUEtA9+4ewEGnBJfLTz6+DfPPN7KFy0S+kZvTH xt6LBjfee3cPZwN1+ScwgNDTcJbEx0PfLPLi4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to; bh=o/xLkGlhrSnpCqv+HEwTNRKoItyS4LasgozuRU4ni1o=; b=B5QFcTS1tdDOgfF96UTmtDBSEe+IZTyHqbaU7Qk4WHDnfHumKlUz3opQnPzlEe7iWY w48GLFebWYZ0JATDwcelJoILu76zo+wYSjZiyZlacMPf13/gKIqWYywdt0tdvO7Gn8HT WMYFtj/0K2T5OHLDdH9CxJXjngg8bfTkln1aZag8BJSBVUVNkjFUPP+Fws5usGWqLVjE C+mbMtCSC9yRLi/l7Y+5e9hPx6NZBYtVl11FzEeaRlfPmPxAsL/QVL1Jqb21qcJi4ygP tKvYXb2fdPx5Th07VRrRBS1vxWlV+hDD1hbvMH7XBq2bp9br2Aqf8+bZSlNKFyU4xkxZ vC7A== X-Gm-Message-State: AOAM533pPg6wy/JBxYYKn8fprP8dWYOm2z+jjqn8bMvu2Mtni2f+NEuq cKYSWnAxOqymltvoo9ZyW+HaZREfYr39OrB3IySruw== X-Received: by 2002:aca:2310:: with SMTP id e16mr1006542oie.64.1631734016098; Wed, 15 Sep 2021 12:26:56 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 15 Sep 2021 12:26:55 -0700 MIME-Version: 1.0 In-Reply-To: References: <1631539062-28577-1-git-send-email-srivasam@codeaurora.org> <1631539062-28577-2-git-send-email-srivasam@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Wed, 15 Sep 2021 12:26:55 -0700 Message-ID: Subject: Re: [PATCH v2 1/2] ASoC: google: dt-bindings: Add sc7280-herobrine machine bindings To: Srinivasa Rao Mandadapu , 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Srinivasa Rao Mandadapu (2021-09-15 04:15:43) > > On 9/14/2021 1:21 AM, Stephen Boyd wrote: > > Quoting Srinivasa Rao Mandadapu (2021-09-13 06:17:41) > >> 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..e0d705f > >> --- /dev/null > >> +++ b/Documentation/devicetree/bindings/sound/google,sc7280-herobrine.yaml > >> +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 > > Shouldn't sound-dai be required? > Sorry. I didn't get your Query. You mean in below "required:" properties > need to add sound-dai also? I'd expect there to be a required: list for the 'cpu' and 'codec' objects that says sound-dai, unless that is implicit somehow. I'm definitely not an expert in the DT yaml, but I suspect two more 'required:' sections are needed so that 'sound-dai' isn't an optional property.