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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 7E660C11D25 for ; Fri, 21 Feb 2020 00:34:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5D0F5207FD for ; Fri, 21 Feb 2020 00:34:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729484AbgBUAef (ORCPT ); Thu, 20 Feb 2020 19:34:35 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:45152 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729425AbgBUAee (ORCPT ); Thu, 20 Feb 2020 19:34:34 -0500 Date: 21 Feb 2020 09:34:33 +0900 X-IronPort-AV: E=Sophos;i="5.70,466,1574089200"; d="scan'208";a="39642706" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 21 Feb 2020 09:34:33 +0900 Received: from mercury.renesas.com (unknown [10.166.252.133]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 7F0664009F87; Fri, 21 Feb 2020 09:34:33 +0900 (JST) Message-ID: <87sgj4srqw.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Rob Herring Cc: Liam Girdwood , Mark Brown , Mark Rutland , Linux-ALSA , 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: References: <87blq1zr8n.wl-kuninori.morimoto.gx@renesas.com> <20200219155808.GA25095@bogus> <871rqqt0nj.wl-kuninori.morimoto.gx@renesas.com> 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 > > > > + 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. OK, I see. But, as you know I'm not 100% understanding about yaml Documentation. Can you teach me what is "dtschema repo" ? (I guess it means "sound-dai" will be common schema ?) What should I do ? Thank you for your help !! Best regards --- Kuninori Morimoto