Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp70937lqt; Wed, 5 Jun 2024 17:55:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVxht5HwynUdcNbPm1EpQMVFqAS0rX0wzJtbxbeu1Fwt8jdvzANwcnzI8cyyhTGZrfRIVT2iYSyslKixGxqrThtcwvrBRRtzhGYIMZTsg== X-Google-Smtp-Source: AGHT+IGsvsNTzgZpBURSdjtIKM1ixgifRDlufsuQ6uZ7zuqj0ioOvkSzVIx01UfdBZs0XH8k8Fsh X-Received: by 2002:a05:6a20:1596:b0:1b2:5948:6b81 with SMTP id adf61e73a8af0-1b2b6eda237mr4730678637.14.1717635301638; Wed, 05 Jun 2024 17:55:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717635301; cv=pass; d=google.com; s=arc-20160816; b=E5IUJJXJZ5nXyC0NYu/krFgleVT9c9t+tGNKA4DRspOrCbKlUlTjIU4n7FXF/RUZO9 qPHm+PMTm7/49C+Mu7xlPYW/QyA8Jskmko0j6HeDMX3zFmRganYDQITpgC6YfPc+VRRk rvDy/42fpPJlAQ+ZHTjXbNCwcJ29GOa5XEWqoGjs0HcFWuuZx8/z+UmmCh1HPb/vw0NE fnc4m/lIzBuNQExMXcgPkEIgCfPUPE1zFYww1w1Mt5mX9ZWQ0nWPEPymRKRQJZ0EUpHY 3IKIpHcUCWQl/bpQevkGxdjy//6OD4GdKDRDgOmbYInWmoGuQWl/kfJFrnA3EvHu8473 a7dw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wCMVifi9vvXMK64HWeZv0zMwi2OMEfIQHGjx3MD/Dio=; fh=YYz7N6W69xfoeop9gqrtQxf2VVyxQoHDHKkhsJehf1s=; b=va7t3cAQNE7JNTpuEseNwZvvNmOgRzZ5ZozrP8JayvD5O7NOoSW6KJobgSiWS8zdIA V13RMzM7m+dg8uKTsLH/q0uhmaomYGEzGyybfj4XBYpLY9fUcnhtbKWuvwlia8nR5VR/ dwWB448ZFtOuque1y+DCmoGZ45Ef+sR4+mGcnbmWLkCcIFxdBOL1Vqa8zanoMdt7P9KI FTWyknoBp2arxFYxOBU/oPUWTROO5FxNLKlA6iTrBSN7QK5QcxohcVNOHMMi9lInv7Oo 7foZRgj9agAYjhi+MyGqPs9GOnSYj+yLMIZ2kToDX2miHvaZotzUcdIDgim1Ng7N79iJ 29hA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cYI26IzM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203468-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203468-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd76f58fsi2361715ad.191.2024.06.05.17.55.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 17:55:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203468-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cYI26IzM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203468-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203468-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 140CDB244DC for ; Thu, 6 Jun 2024 00:53:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8161BDF49; Thu, 6 Jun 2024 00:53:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cYI26IzM" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D3124683; Thu, 6 Jun 2024 00:53:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717635214; cv=none; b=M9n32LXnhhYFikr/X0bLKCbOEls/DjVnb2z3FopH0Y0oCvF0pj51QDwhQviKKJBfruUkMKedM8+EAP5yQL+y9zrE818SVP02QueH50O0larLxUhnBt9iSBvHqiRoDLotphVPwPR8irrhoLw4GWAso9lzfc05G1CGnVZOuiqZ39Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717635214; c=relaxed/simple; bh=y3NLehE4z6xgfNaULf7oIlI/u+h4fC3sVYtsfAAbbT4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PphS0MFHsCVioPqCNn+LMrXcG2opz0sTI4XcO6/dLTnEsMIulF5McfynBAj/+pMbjFnmTBGRoo55oEw1TAwvYcjHgKCaWYFc3tvFa3/kTQrP/punfwi7hFRbBVtYgMKFWQAGSoaNldX4BMVu11fE5nMq1IWey2PIlSM4gjHNZAM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cYI26IzM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21764C2BD11; Thu, 6 Jun 2024 00:53:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717635214; bh=y3NLehE4z6xgfNaULf7oIlI/u+h4fC3sVYtsfAAbbT4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cYI26IzMt/8KkfHDg8gdx/oyJXPQYS9VldQ9gvsjayQb1+0iERrg8miy2PjUuWOqE PzUuiaAARz69Xol8Nn69nMUOez8uoOqPy0FOjZH89M5UYzSOvRfqRVEekqExYORjY8 XtsbcRZVR5iT1IjMRR0lBrdne9myBjkXrOA8daUU3IxgejRCQc+lakybMyi12eKhtZ ZRrfyEORegzbDpRB2cwOJVxk1gP9VeXfhFMOQmdY9kYR0zzpziTqUwDj3Yexci6FLq 9dsS2k6IGCmf/Xi/dYGBhkJtOL8xBXdX0S3VMwTUQv2TGAZRPS9XKOAes4KfBR16q1 0NQ77odt9NyRQ== Date: Wed, 5 Jun 2024 18:53:32 -0600 From: Rob Herring To: Animesh Agarwal , Neil Armstrong Cc: Daniel Baluta , Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: dt-bindings: linux,spdif-dir: Convert to dtschema Message-ID: <20240606005332.GA3526959-robh@kernel.org> References: <20240605112301.8171-1-animeshagarwal28@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240605112301.8171-1-animeshagarwal28@gmail.com> On Wed, Jun 05, 2024 at 04:52:55PM +0530, Animesh Agarwal wrote: > Convert the dummy SPDIF receiver bindings to DT schema. Make bindings > complete by adding property "#sound-dai-cells" 2 conversions of the same thing in one day: https://lore.kernel.org/all/20240605-topic-amlogic-upstream-bindings-convert-spdif-receiver-v1-1-262465adbac2@linaro.org/ As I said there, I would just add the compatible to linux,spdif-dit.yaml. But this is fine too. > > Signed-off-by: Animesh Agarwal > Cc: Daniel Baluta > --- > .../bindings/sound/linux,spdif-dir.yaml | 34 +++++++++++++++++++ > .../bindings/sound/spdif-receiver.txt | 10 ------ > 2 files changed, 34 insertions(+), 10 deletions(-) > create mode 100644 Documentation/devicetree/bindings/sound/linux,spdif-dir.yaml > delete mode 100644 Documentation/devicetree/bindings/sound/spdif-receiver.txt > > diff --git a/Documentation/devicetree/bindings/sound/linux,spdif-dir.yaml b/Documentation/devicetree/bindings/sound/linux,spdif-dir.yaml > new file mode 100644 > index 000000000000..61767873200f > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/linux,spdif-dir.yaml > @@ -0,0 +1,34 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/linux,spdif-dir.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Dummy SPDIF receiver > + > +maintainers: > + - Liam Girdwood > + - Mark Brown > + > +allOf: > + - $ref: dai-common.yaml# > + > +properties: > + compatible: > + const: linux,spdif-dir > + > + "#sound-dai-cells": > + const: 0 It wasn't in the txt binding, but users also use 'sound-name-prefix' property, so that should be added here. Rob