Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1025847ybv; Thu, 20 Feb 2020 11:40:39 -0800 (PST) X-Google-Smtp-Source: APXvYqwHj9lhfb4i2uQ/R8oH9GjfqsRaU4lm3OK2//HG9jGvlaqVXSlkllO3ZcgQq8zfDTDnNtC+ X-Received: by 2002:a05:6830:13da:: with SMTP id e26mr23310751otq.97.1582227639637; Thu, 20 Feb 2020 11:40:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582227639; cv=none; d=google.com; s=arc-20160816; b=HSFPxiSgtIyRD/GnodyEHBWFUl9MJNUtm+hNghHJ5L6Wp7gqLCWegR/tnp2ZxKJ62b IAGerBS+EzGCHE87WPRfMB/U+igzxAnCOtkDfeSKwdQKvcshmdUMHNsveUxGv6n+VhEL Q7dSPEIpOnPGsrIhT2qfpQ34R8I4TmDVeUOwkrB4oRaDGXeT5sle6WHdICv9AY4FMfJE 2eT05CKLHIVmP5/Qkuqygti6VQtwJmUnktTfKpT5Vh9tjhwSyl1BtKwBO2Pj6gY8ajjB 1zMTjlT/LV9c7oprXk/A7cG1aVJgxp+87h6oeSOgPkkk8r1csmFs24u5+zUZvlHd9g84 brWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=yyKg31IWNFKrSc8fdsHkq+4ktZs7Vj8pQ43oKMd6Pdw=; b=zp2qA1mSuDlARLSatj+0UxPzy9FqXPPj8Vaz5kUFdDQGaeDKEmCCv+BEXc3hoUpr95 2AKHTUA5n7MKxxsXXs6v7mpvaG9xO18qpKvkHQW7Hqqeu/3S3a1hzRcw1Wdn9B/0DgUc I6tp/00TKU0tpccNU4/pZ5Eaa2i2F1ynbwS3k/uApGAxX92VzuG4yWM8y9Xn8nc1ylOs Q1hv9PyK+8p5YYtNlzsZBrgKEnwFq17Bi4p3t6k55KMPAvcfuJMwRQmMu2Ukuhi1EF7K 0o0BNJFfNtGxorVegB0kH6C8FVxDfPeO2QMyZvZfR0i1ZEjnlfUPiw/kNipkaObUMg41 /3DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yexM5yuU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 77si143279oie.10.2020.02.20.11.40.27; Thu, 20 Feb 2020 11:40:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yexM5yuU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728927AbgBTTi7 (ORCPT + 99 others); Thu, 20 Feb 2020 14:38:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:41538 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728248AbgBTTi7 (ORCPT ); Thu, 20 Feb 2020 14:38:59 -0500 Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (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 842402465D; 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-f182.google.com with SMTP id b7so4712698qkl.7; Thu, 20 Feb 2020 11:38:58 -0800 (PST) X-Gm-Message-State: APjAAAUBGsEi/rnoQbAzjL0vRJRYOAH2Hu3yIiaU5RF7Qi+EBWpBfrv+ chceQJK80NIUm/2lByCRHj+MrDYRIbtQu1197Q== 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 Cc: Liam Girdwood , Mark Brown , Mark Rutland , Linux-ALSA , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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