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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, 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 0F21BC761A1 for ; Thu, 20 Feb 2020 03:09:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D9FC724656 for ; Thu, 20 Feb 2020 03:09:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727952AbgBTDJ5 (ORCPT ); Wed, 19 Feb 2020 22:09:57 -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