Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1259558ybv; Thu, 20 Feb 2020 16:34:54 -0800 (PST) X-Google-Smtp-Source: APXvYqyZ7SmBysnE+jQLjt7aGrfeQZ7N1d0J+y+L6bMRtuRbCWniWgeluv/Ffx8tmkMjudO3rr6U X-Received: by 2002:a05:6830:184:: with SMTP id q4mr26089696ota.232.1582245294050; Thu, 20 Feb 2020 16:34:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582245294; cv=none; d=google.com; s=arc-20160816; b=FwPqSMhUfCjr/1CSAuTmNitphmNEKTTwPpnMKqGnKLxuHmi9NoBYbW0CHh0cCUMZRV SK7T77Mju3ShG2vQ/DaJtI7H7jIeaGRZBTGmDSkxgusfORrujkM0z1D6zUeegCkt+3/h +oVKRJYflhMNC8u/unM3t5gmII03+a7RCJvxCuH2fENtTquKmm8CcwBdBhL96AVJOGHV l5hsc+0RvDI6legk2Kufnw1eL5lf4IH8dpm3FaqQc56A/U0gm5VZR964lXYkdLmoWwpG +D8j0aYu3DhzT36HCZeWZiVLnZv/f24gUpGO8XlFzuUGfYjBaTXCGRW8+PHCC2MDtCNF PadQ== 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=CEiiEwGT5X2+Rn4MREmHFv2AUScpyRuvbYibs+psD+E=; b=OX9U3y9VSRpZq8YbyIbdLyA0HenbtoBGPXKVrqnp3QbWNcBHO9E71/+ZUUiTcQobmi LdOTWoFh54k8/dT2Vl990lz0VAVAbDmmgIUSEfe2VuV2Xorg+2u8SLvUPQ3SnPt3r7T2 Lhn7ImtJg/ELJFPwCYosswb9lopXIxzjbQTHfebGoRlU/tushkBhy5jOJC39su4uQf3V hbQEsxL7Qz8rqu2bCckg0cQFOr0nY/3mvrvR8sTpomYanR5WD985MY7FFhnKhG514QrZ yesGwg5CEjCaK5jka/6T08YRa6AWlYanQZFa1/q27jEspF4gVQOQncjmw+WPzM47uRgg /muw== 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 z14si541378oth.15.2020.02.20.16.34.41; Thu, 20 Feb 2020 16:34:54 -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 S1729461AbgBUAee (ORCPT + 99 others); Thu, 20 Feb 2020 19:34:34 -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