Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp149697ybv; Wed, 19 Feb 2020 18:17:32 -0800 (PST) X-Google-Smtp-Source: APXvYqxycIX4YkQzI7JcaUGpy44CB8K2km+J4vekY4taxCM4sr5nCQjxL68s1VbkM5Ys/kzFNeyC X-Received: by 2002:aca:53c6:: with SMTP id h189mr498492oib.11.1582165052725; Wed, 19 Feb 2020 18:17:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582165052; cv=none; d=google.com; s=arc-20160816; b=ZuP0NyTaAI70nexjjh7yyrkk6rBhLjAX3xs+xUVbgEk52M4l3QKWwucVVFaokCCJ1x q1KXBar9nIW1Flw2izXce0teBIDX0M2oA7MHsLw+vd9vX1WtWbamw2jB9BHf9lIC7o7j S/f66Oq7sb72//kpdSVlWEDrG/LLPzpPrMHVcsJk9dd8oRLYJ/bLRI33de5R3dPdvl8h RzQMIiBMksPsVBIYhOrvYEo3OnkKxjSpT8s4G/Xpi1ylKVEOY6bHWQl93nPhIv25p5cM OK8OlIdCy4rWPiLlHuP4Gb6MO3cK/aHPZlbH7Ae8DEOPYpqJXs3mxAzd5fQ92FxlmQ1w ISLA== 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=XOEUcwDZIuR9UB2PyDs/5GtYbw/1tqwjmze1Y3lfA2g=; b=WoHGv0xTWtwiZrM8QSUxzXruylR+oNGTjDQGN+IIvWcAifwPn9ymugAiom1PPkQ9PY 3EUw5u3DhAE9wAEJvhiraQOL8EcS95K81Y1fpILWh9dzD3O39qBXsWehVyhgbE14iNO4 ruU9py9oeGUdk5+F0yMv81XlYEs9Kdyg/UzU+kTslRkeCDXpgrlbYz7pqR5E598sVvni GwyPVOFSnS93CpEXP4zECDYXLXYTjL3JrZBQxJUogDlljpgl6gPQvOT7dt80k50V85lD AnoS7WW7WfvOGzMRNB8EJf+q6i3esjJeMYWhw0LNqOO2Gk8GbuqjtZBtyoW1QvWEK+fZ grtQ== 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 o16si892323otp.289.2020.02.19.18.17.19; Wed, 19 Feb 2020 18:17:32 -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 S1727801AbgBTCQK (ORCPT + 99 others); Wed, 19 Feb 2020 21:16:10 -0500 Received: from relmlor1.renesas.com ([210.160.252.171]:39321 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727476AbgBTCQK (ORCPT ); Wed, 19 Feb 2020 21:16:10 -0500 Date: 20 Feb 2020 11:16:08 +0900 X-IronPort-AV: E=Sophos;i="5.70,462,1574089200"; d="scan'208";a="39766111" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 20 Feb 2020 11:16:08 +0900 Received: from mercury.renesas.com (unknown [10.166.252.133]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 780A04127DC1; Thu, 20 Feb 2020 11:16:08 +0900 (JST) Message-ID: <874kvmt355.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: renesas,rsnd: switch to yaml base Documentation In-Reply-To: <20200219161732.GB25095@bogus> References: <87d0ahzr9d.wl-kuninori.morimoto.gx@renesas.com> <20200219161732.GB25095@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 Thank you for your review > > From: Kuninori Morimoto > > > > This patch switches from .txt base to .yaml base Document. > > It is still keeping detail explanations at .txt > > > > Signed-off-by: Kuninori Morimoto > > --- (snip) > > + compatible: > > + oneOf: > > + # for Gen1 SoC > > + - items: > > + - enum: > > nit: Should be indented 2 more spaces. I couldn't understand this. Do you mean like this ?? compatible: oneOf: # for Gen1 SoC - items: => - enum: > > + clock-frequency: > > + description: for audio_clkout0/1/2/3 > > + $ref: /schemas/types.yaml#/definitions/uint32-array > > This already has a common definition and this conflicts with that. > 'clock-frequency' is a single uint32 or uint64. This needs clock array. Like this clock-frequency = <12288000 11289600>; > > + # For OF-graph > > + port: > > + description: OF-Graph subnode > > + type: object > > + properties: > > + reg: > > + $ref: /schemas/types.yaml#/definitions/uint32 > > No unit-address for 'port', so you don't need 'reg' here. But I got warning without reg ? And, renesas,rsnd and/or simple-card sometimes needs reg for port to handle sound path. > > + # For multi OF-graph > > + ports: > > + description: multi OF-Graph subnode > > + type: object > > + patternProperties: > > + "port(@.*)?": > > ^port(@[0-9a-f])?$" > > Perhaps there's max number of ports that's less than 0xf? > > > + $ref: "#properties/port" > > Would be more simple to just always have 'ports'. Having "ports" or "port" are case-by-case, not always. Thank you for your help !! Best regards --- Kuninori Morimoto