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=-4.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no 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 022C9C11D0C for ; Thu, 20 Feb 2020 19:40:00 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 86BF7208CD for ; Thu, 20 Feb 2020 19:39:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="lt/dCED7"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="yexM5yuU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 86BF7208CD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D39441699; Thu, 20 Feb 2020 20:39:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D39441699 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1582227597; bh=IImhIpXQHLsVWHOTFfRjPqr3DNYlAfqdkTR10VY+v08=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=lt/dCED7r28MrCLMc6/0q1kSj/huoMlNuqppK7XXyeVQsGaDSrmKI038eM/x5RGsP SFiVYPE/bF4jS6DvElQUtCwp9ELQEba2pBGd0mGP3xdws9BcZDZKZ4b3pv4FrrjKHV R+mElHsOsatdl2dEk+i6aoOfBQL1/GvzD7/lQO/o= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 5673EF80145; Thu, 20 Feb 2020 20:39:07 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B60B1F80148; Thu, 20 Feb 2020 20:39:05 +0100 (CET) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A3CDBF80101 for ; Thu, 20 Feb 2020 20:39:00 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A3CDBF80101 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="yexM5yuU" Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8393924654 for ; Thu, 20 Feb 2020 19:38:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582227538; bh=IImhIpXQHLsVWHOTFfRjPqr3DNYlAfqdkTR10VY+v08=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=yexM5yuUfCHrhwQCWxbacWrejBJwLeYpC4gbEYNXidG5m7O5gIJKHk/a8FLE+few2 IJJj3tBU5nRKpumEqIJi07lyB+1CpG9+0Kw18eAbxEszu9oZPMiEWFE2y9k6dyOMvN teJJ4C0NuI1YBa0uuXycY7pnBO71LRHZFwhWHCgI= Received: by mail-qk1-f176.google.com with SMTP id a2so4678699qko.12 for ; Thu, 20 Feb 2020 11:38:58 -0800 (PST) X-Gm-Message-State: APjAAAVtpgazfWNxFYtAiPIyf8eSWTwRwlHGKiQNVom0ClX9Ishhieia 30OhbSZeP3wF7g35wskkt0NIt3Hvms+NhVz5sA== X-Google-Smtp-Source: APXvYqxK31PuR/mC2GifOubTB/mAdkh3PZjv+HTIqg9smA3ua/7xRkdCEU8fN2lAdCqevLlUfHaorEEVN8o3jWhflzE= X-Received: by 2002:a37:9d47:: with SMTP id g68mr24107540qke.119.1582227537683; Thu, 20 Feb 2020 11:38:57 -0800 (PST) MIME-Version: 1.0 References: <87blq1zr8n.wl-kuninori.morimoto.gx@renesas.com> <20200219155808.GA25095@bogus> <871rqqt0nj.wl-kuninori.morimoto.gx@renesas.com> In-Reply-To: <871rqqt0nj.wl-kuninori.morimoto.gx@renesas.com> From: Rob Herring Date: Thu, 20 Feb 2020 13:38:46 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] ASoC: dt-bindings: simple-card: switch to yaml base Documentation To: Kuninori Morimoto Content-Type: text/plain; charset="UTF-8" Cc: Mark Rutland , devicetree@vger.kernel.org, Linux-ALSA , Liam Girdwood , "linux-kernel@vger.kernel.org" , Mark Brown X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Wed, Feb 19, 2020 at 9:09 PM Kuninori Morimoto wrote: > > > Hi Rob > > > > From: Kuninori Morimoto > > > > > > This patch switches from .txt base to .yaml base Document. > > > > > > Signed-off-by: Kuninori Morimoto > > > --- > (snip) > > > + dai: > > > + type: object > > > + properties: > > > + sound-dai: > > > + $ref: /schemas/types.yaml#/definitions/phandle-array > > > > This should have a common definition elsewhere which I'd prefer be in > > the dtschema repo. You can just assume there is and do 'maxItems: 1' > > here assuming it's only 1. > > I think dai and/or sound-dai are not common definition. > These are very simple-card specific property. Qcom platforms also use 'sound-dai' and they aren't simple-card. Rob