Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp237566pxb; Mon, 13 Sep 2021 18:00:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8EnZD9fVs4DqBSTiX1gEk0Tdvh/cStZYnhlQRubFc7Pi5f98EilOZLQu3Ksp2sc2UJtcn X-Received: by 2002:aa7:c952:: with SMTP id h18mr16537338edt.18.1631581252620; Mon, 13 Sep 2021 18:00:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631581252; cv=none; d=google.com; s=arc-20160816; b=cJs8NYJDVc2GTVCXtFCfJInAJJJrSBS3WVwiipmHNy/yzH53AC0cZQegGUD0zMvzNL dvscR5zc8MiCJDlpVPVhYiJBHazPTazbuCIl18mo5MIfySJPBmlUBgIvSIr6dwxJjROF l3VRJnfNuBI5LQlkBdqxzSvkIFIRlUZ21MCT8gfIt2BpdrUNbpwHWraBguG6SL0Q3vXN rsRnhI6T44ZJ7sQzCSKNXpDLiIxXBFQ4lbSGVN/VODg7nhkfzKSttD9oHUkdnL5qCKZ2 bpjvJZR9gg/du0p3DjVXWlbthTfJ4p+yEEwsIPw1bPcQenP6KIS5mRLKSuN7hVV8BzWt jeYw== 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=7y5Kp92MxlMIM/1uVfkHDfbY3sPUaGnffDNVZpUsrD8=; b=b8A1YDk16ge9anMXOA/V+4jQHzjyBEp6I0/LHCndG0iFFq+wc5ZCc/JxBeeXnafBK0 YLb/i4tDOMIu10MKFslRwYB5W5QtSHBDsZIoflAadUxR0rdlpOWiP6xyl4RAvj11biqO I9rhS1BsQ67Dzuwy9c/TtJ8/WedIoRy1eoMaOjWFVtL5NkY+y6K/wqHrL1/3DonP825w pdfVO3FfR570Rg+W/0xGZ22GdiE6hEH9ajrMqPpMlQE5VvWbjD7L18WJpJywTFRtuIB1 0MxayurlT8MgcJc/hU8EKekzG+BquI0wyPLNqqRN0Pl4j3qTR0TW6g5vTc4+ilHzDzJK 8S6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Zodc0o0J; 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 j8si8976335ejn.202.2021.09.13.18.00.29; Mon, 13 Sep 2021 18:00:52 -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=Zodc0o0J; 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 S240911AbhIMTwg (ORCPT + 99 others); Mon, 13 Sep 2021 15:52:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240595AbhIMTwg (ORCPT ); Mon, 13 Sep 2021 15:52:36 -0400 Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18CDAC061574 for ; Mon, 13 Sep 2021 12:51:20 -0700 (PDT) Received: by mail-ot1-x335.google.com with SMTP id x10-20020a056830408a00b004f26cead745so14961522ott.10 for ; Mon, 13 Sep 2021 12:51:20 -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=7y5Kp92MxlMIM/1uVfkHDfbY3sPUaGnffDNVZpUsrD8=; b=Zodc0o0JSl2wPuA2Y12NHWaoDY6QABXb137QrHTXqY11BK/0mIsSmDtqRM4Zm7UmRG NDS8f4Q5f7Sc3gTutg/hC+SubqhccAhKu6HsGcUna0XluSh0IyQOT9ytmBIL+CvFukJv wuSKCsLqUBP1ML9pxEFAKZPdUExJgd3OvfLFI= 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=7y5Kp92MxlMIM/1uVfkHDfbY3sPUaGnffDNVZpUsrD8=; b=iGBlJed8iQPHFRIOqYxSZnXhakO7w7GUD1hl+ycCnY3XQiLv9hQ1luRy6jcTH/SGS9 nnxP3GAWk0TERfcmXBPwLLfFN1mBDUrpu5Xf6636/wx8X5wv3u7+654oXXkMVOUth51E MuSIjxMml7fpEVKNlqqLqiyuCQAkil8AoBT7ynSdLGahR0QNwjEUXI2qFJF3AXkbbUwc 8QvtX7cPgP6nFjf1KqhEtsMpGnbPR5Z9heum282x+4G4akFvofULxRtBSMft2jq0NIk4 N6RYkCH2Zs6mORou7EmVjn95fVwiXVXaqBGxaCSIZpzEwNgyP8/KIU0LOM1sMDQMIFat vFgw== X-Gm-Message-State: AOAM531k7R50ELHZbHs19lK/nl7GF+iU+YaVLBzbko40suc5mCXeePFK k3ttd8WKiNze2BAHuEPzhSf1dKZ+hJSzuRSH9dwONg== X-Received: by 2002:a05:6830:18c7:: with SMTP id v7mr11189838ote.126.1631562679479; Mon, 13 Sep 2021 12:51:19 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 13 Sep 2021 12:51:19 -0700 MIME-Version: 1.0 In-Reply-To: <1631539062-28577-2-git-send-email-srivasam@codeaurora.org> 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: Mon, 13 Sep 2021 12:51:19 -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-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 > @@ -0,0 +1,169 @@ > +# 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 Shouldn't sound-dai be required? > + > + codec: > + description: Holds subnode which indicates codec dai. > + type: object > + properties: > + sound-dai: true Shouldn't sound-dai be required? I don't know but maybe also additional properties is false for this node too? > + > + required: > + - link-name > + - cpu > + - codec Should 'reg' be required? > + > + additionalProperties: false