Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp186775ybv; Wed, 19 Feb 2020 19:10:20 -0800 (PST) X-Google-Smtp-Source: APXvYqzoeqzH5bY8wVgW7w1ZsoEtOTNJ3g/Q+hnO/V41SB3ISHhYTOBpCA/khlSl1HEH0KRjca9J X-Received: by 2002:a9d:6b12:: with SMTP id g18mr21345222otp.211.1582168220652; Wed, 19 Feb 2020 19:10:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582168220; cv=none; d=google.com; s=arc-20160816; b=ZEUiY58/qM+W8tKn57Z+NUrgXd1aY/H4Ft5vVK+XBaW7y6moXPeDvyVRkeI3KAuIt5 TeA8HqjjTejlgcOiC2iPl7tELpKJdb7UkeMQQ6MyXniCj0KPMhfrGxTY8toGtkHqPlFd vDsC7Dg+ifviuzJi2uAIpk+z+X2P4b5zCvu4ZkWmNDut0CQ3qvD6+3jMxh5iEm3YBavN 6roASKx4fYd/gdW5CcbMBLFb5XbSjN78tZMZ0b5nLrd82MbvcyNMasxRdGct4HB3iVLk XUZE/SeHLXOdGzcp0AWcLEkiDR9bnRJU2q+dTRvf9RKSA4iKIyD1+bv74kVQ5Q7gLNJ0 1i1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date; bh=Wp11wcmjTfFl12/tCvmJWnrKtZAR9HIUkZ/tbGoeGWM=; b=CglAcdyYtuid2j0iDk8/DUt/SqS3jG1gPJb3brAmS0B5XMdt5s9bf7kBYmTg9a8emX U6dZtaDY0vPx14TbLah0FHQcwlBO9uk2h+pexXPSJPebO4FezztPBbQ6wkRPkEx1pfCL +zmI3QapHDltE2GUUHX5SsoT5oYIUJsDTjuSZ6py3qdrqisqEdxThn2uTBJKkN5SDF7i 9GNhLa4pCLt63ngyNbMl27V47SUp3j69VfLcPy+CwNNh/svPrh5Mlk5yCRZvIQqhsPtd f35qvyt8bS8+M7QcDjoDNu/r6/Y2FC+Ck6FISG6IEwiLBtUWZwK2lY0duqAio9pcnMam HMzA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v25si974081oth.274.2020.02.19.19.10.08; Wed, 19 Feb 2020 19:10:20 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727946AbgBTDJ4 (ORCPT + 99 others); Wed, 19 Feb 2020 22:09:56 -0500 Received: from relmlor1.renesas.com ([210.160.252.171]:44111 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727515AbgBTDJ4 (ORCPT ); Wed, 19 Feb 2020 22:09:56 -0500 Date: 20 Feb 2020 12:09:54 +0900 X-IronPort-AV: E=Sophos;i="5.70,462,1574089200"; d="scan'208";a="39772666" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 20 Feb 2020 12:09:54 +0900 Received: from mercury.renesas.com (unknown [10.166.252.133]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id B5F68400A8AB; Thu, 20 Feb 2020 12:09:54 +0900 (JST) Message-ID: <871rqqt0nj.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Rob Herring Cc: Liam Girdwood , Mark Brown , Mark Rutland , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] ASoC: dt-bindings: simple-card: switch to yaml base Documentation In-Reply-To: <20200219155808.GA25095@bogus> References: <87blq1zr8n.wl-kuninori.morimoto.gx@renesas.com> <20200219155808.GA25095@bogus> User-Agent: Wanderlust/2.15.9 Emacs/25.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thank you for your help !! Best regards --- Kuninori Morimoto